From handyman at actcom.co.il Mon Sep 1 01:19:35 2003 From: handyman at actcom.co.il (handyman at actcom.co.il) Date: Mon, 01 Sep 2003 08:19:35 +0200 Subject: [AccessD] OT: Microsoft outlook In-Reply-To: References: <5.1.0.14.2.20030831071804.00a8bb80@pop5.actcom.net.il> Message-ID: <5.1.0.14.2.20030901081810.0314b4a0@pop5.actcom.net.il> Thanks. This should set me on my way. At 05:31 PM, 8/31/2003 -0700, you wrote: >Gershon, >The Code below is one function and two subs Gershon Markowitz mailto:Handyman at actcom.co.il -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at jbsolutions.com.au Mon Sep 1 00:56:16 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Mon, 1 Sep 2003 15:56:16 +1000 Subject: [AccessD] Sidebar navigation Message-ID: <200309010556.h815uRp02502@databaseadvisors.com> Hi William, Thanks for that. I had a quick look at this, but it seems to rely on an ocx, which I would prefer to steer clear of if possible. It did however give me the idea of using a subform as a sidebar. If I code it correctly, I should be able to place the subform on each main form, and use that as my navigation tool. I must admit, I'm not a big fan of this style of navigation either. I'd prefer to force the user to finish the screen they are on, then go back to the main menu to select their next task. Less room for error. But, the customers always right... Thanks again. ======= At 2003-08-31, 23:39:00 you wrote: ======= >....take a look at www.aadconsulting.com ...they have an outlook style menu >that uses your normal switchboard table ...$15 for source and it does work >though I've not used it in any client app ...not a fan of outlook type >sidebars myself ...HTH :) > >William Hindman > - Do you want liberty in your lifetime? = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-01 From Erwin.Craps at ithelps.be Mon Sep 1 01:06:56 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 1 Sep 2003 08:06:56 +0200 Subject: [AccessD] Sidebar navigation Message-ID: No, no There is a way to have a form independant from the other forms maximizing (always floating on top). I believe you can achive this trough an API call, I got this from an access book. I believe it was Access 2002 Desktop Developer Handbook. I don't have it in my reach, but I believe it is from sybex. Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: Joshua B [mailto:lists at jbsolutions.com.au] Verzonden: maandag 1 september 2003 4:53 Aan: Access Developers discussion and problem solving Onderwerp: [AccessD] Sidebar navigation Hi Group, A client of mine has requested that instead of having a "switchboard/main menu" type setup for navigation within their app, they would prefer to have a sidebar menu ala Access & Outlook. Has anyone had any luck designing this sort of interface within Access? My initial thoughts are to have a popup form and control it's size to take up a portion of the left hand side of the screen, however this means I would no longer be able to maximise other forms. Any ideas would be greatly appreciated. Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-01 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Sep 1 02:24:13 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Mon, 1 Sep 2003 17:24:13 +1000 Subject: [AccessD] A2K:OT: Get a batch file to quit or close References: <2F8793082E00D4119A1700B0D0216BF80222712A@main2.marlow.com> Message-ID: <04de01c3705a$0baa8d00$3c619a89@DDICK> Hi Drew Not smug at all Mate, If I had half the skill of the people like you et al on this list then you'd all know about smug :-))) Anyway "START" was it by the way Many thanks Darren ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 29, 2003 12:36 PM Subject: RE: [AccessD] A2K:OT: Get a batch file to quit or close > Boy, that sounded smug. Sorry about that Darren, been running rampant due > to the MSBlast virus! > > Drew > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday, August 28, 2003 9:27 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] A2K:OT: Get a batch file to quit or close > > > That's not the point Darren. You do know VBA. If you have a msgbox open, > and the next line is docmd.quit, is docmd.quit EVER going to happen if the > message box is open? > > NO, because that line of code won't fire until it is reached. Same with a > batch file. A batch file runs one line at a time, and it doesn't fire the > next, until the first one finishes. If you have a line that opens a > program, it is tied up until that program closes. > > As usual, you've forced me to do a little research, and as usual, I have a > solution for you. > > While perusing through the batch commands in Windows Help (There aren't > many), I looked into cmd, which opens another command window. From that, I > found a reference to Start, which does EXACTLY what you want. There is a > catch however. It is a Windows 2000 and up ONLY command. > > I tested this out. I have a few batch files that I use to make my life > easier. One of my most common usages is setting up batch files to connect > to a particular machine through Remote Administrator. Remote Admin accepts > command line arguments, so I can specify the machine,and the update rate > (which defaults to 100, but that bogs most client machines down. so I use > the command lines to specify a refresh rate of 10). Now, when I use those > short cuts, the command window stays open until I close the Remote Admin > session. I can close the window manually, but just like what you are trying > to do, it would be handy to have it close on it's own after firing the > intended program. > > Sure enough, I just edited one of those batch files, and just put the word > start in front of the line that calls the remote admin program....whalla, > the command window closes on it's own, then Remote Administrator runs..... > > Go figure.... > > Drew > > -----Original Message----- > From: Darren DICK [mailto:d.dick at uws.edu.au] > Sent: Thursday, August 28, 2003 8:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K:OT: Get a batch file to quit or close > > > Hey Drew > I know bugger all about VB. Wouldn't know what to do > Is there a close or quit cmd in DOS? > > Thanks heaps > > Darren > > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, August 29, 2003 10:51 AM > Subject: RE: [AccessD] A2K:OT: Get a batch file to quit or close > > > > The problem is that the batch file 'called' the app. It isn't going to > > close, until the app closes. A simple way around this would be to have a > > little VB .exe Shell out to the app, then close. Then have your batch > file > > call your VB.exe, since it closes once it's run the shell command, > > everything should close right away. > > > > Then again, if you are shelling out with VB, why would you need a batch > > file! > > > > Drew > > > > -----Original Message----- > > From: Darren DICK [mailto:d.dick at uws.edu.au] > > Sent: Thursday, August 28, 2003 7:41 PM > > To: AccessD List > > Subject: [AccessD] A2K:OT: Get a batch file to quit or close > > > > > > Hello all > > I have a batch file that gets the latest server version of an app - copies > > it locally then sparks it up > > So far so good. > > My problem is, I want the 'DOS' window to go away after it has sparked up > > the app. > > This is a Win2000 Serv Pack 4 box > > I have tried the usual settings in the properties window both for the > batch > > file and the Shortcut. > > Minimised the window changed the colours etc etc. > > Can't find a switch to actually make it close after it loads the app or > > 'not' appear in the task bar > > Anyone know of a DoCmd.Quit command for dos? > > > > 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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Sep 1 03:00:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 1 Sep 2003 10:00:55 +0200 Subject: [AccessD] Creating PDFs In-Reply-To: References: Message-ID: <993527612.20030901100055@cactus.dk> Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav From andrew.haslett at ilc.gov.au Mon Sep 1 04:17:18 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Mon, 1 Sep 2003 18:47:18 +0930 Subject: [AccessD] Creating PDFs Message-ID: Sure, I'll have a search when I get back to work. I couldn't convince the boss to use them so we ended up using alternate methods. Hopefully still have the downloaded install packages somewhere. There were errors like converting a bullet point to a character of some sort. Small things like that. Cheers, Andrew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, 1 September 2003 5:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating PDFs Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From ksfeller at earthlink.net Mon Sep 1 07:00:27 2003 From: ksfeller at earthlink.net (Karen Feller Nicholson) Date: Mon, 1 Sep 2003 08:00:27 -0400 Subject: [AccessD] Moving SQL Server db References: Message-ID: <007c01c37080$a4188120$daa1fea9@oemcomputer> Yes. Script it. DTS the backends. If you need help, you can call me at home. I did not dump my email until this morning. ----- Original Message ----- From: "John Colby" To: "SQLServer" ; "AccessD" Sent: Saturday, August 30, 2003 10:25 PM Subject: [AccessD] Moving SQL Server db > I need to move my SQL Server databases from SQL Server running on my server > to SQL Server running on my desktop. Is there an easy procedure for doing > this? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shait at mindspring.com Mon Sep 1 08:49:49 2003 From: shait at mindspring.com (Stephen Hait) Date: Mon, 1 Sep 2003 09:49:49 -0400 Subject: [AccessD] Moving SQL Server db In-Reply-To: Message-ID: <3F53163D.26040.18BA86ED@localhost> Try DTS - can export or import entire database or selected pieces from Enterprise Manager pretty easily. Regards, Stephen > I need to move my SQL Server databases from SQL Server running on my > server to SQL Server running on my desktop. Is there an easy > procedure for doing this? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkins at iglou.com Mon Sep 1 10:33:49 2003 From: harkins at iglou.com (Susan Harkins) Date: Mon, 1 Sep 2003 11:33:49 -0400 Subject: [AccessD] Sidebar navigation References: <200309010253.h812rZp15734@databaseadvisors.com> <002f01c3703a$9b53cb80$6001a8c0@dejpolsys> Message-ID: <006801c3709e$fc5fdb30$354afccc@SusanOne> OK, I wish I could remember more about this than I currently do. I remember actually writing about a download from Microsoft for working with what they called at the time, the Places menu -- I think -- now I just can't remember for sure. I'll spend a little time going through some old stuff and see if I can find something on this. It's possible that what I'm remembering was a utility for working with the built-in menu in the Database window and that's all. Susan H. > ...take a look at www.aadconsulting.com ...they have an outlook style menu > that uses your normal switchboard table ...$15 for source and it does work > though I've not used it in any client app ...not a fan of outlook type > sidebars myself ...HTH :) From d.dick at uws.edu.au Mon Sep 1 18:31:32 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 2 Sep 2003 09:31:32 +1000 Subject: [AccessD] OT: My Retirement References: <00d701c36ecd$21620990$b274d0d5@minster33c3r25> Message-ID: <013101c370e1$2dbd0260$3c619a89@DDICK> NO ARCHIVE Congratulations Charles. What an awesome felling. My very best wishes to you and your family for excellent health and an abundance of good times. You'll be missed for your humour and skills from the greatest of lurkers - BTW feel free to lurk Darren From dfe at nudgeeinternational.com Mon Sep 1 18:43:54 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Tue, 2 Sep 2003 09:43:54 +1000 Subject: [AccessD] Sending emails from within ACC02 Message-ID: Just wondering why I would use the following code http://p2p.wrox.com/archive/vba_access/2002-04/1.asp ...instead of what I'm using successfully right now (in a loop) DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" The usual DoCmd.Setwarning does not stop it from appearing Cheers David ???? Ext 0751 From dfe at nudgeeinternational.com Mon Sep 1 18:48:05 2003 From: dfe at nudgeeinternational.com (David Fenton) Date: Tue, 2 Sep 2003 09:48:05 +1000 Subject: [AccessD] Sending emails from within ACC02 - Answer Message-ID: Sorry folks, Just found a site that answers my own question http://www.granite.ab.ca/access/sendobject.htm Cheers, David Brisbane Australia Just wondering why I would use the following code http://p2p.wrox.com/archive/vba_access/2002-04/1.asp ...instead of what I'm using successfully right now (in a loop) DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" The usual DoCmd.Setwarning does not stop it from appearing Cheers David ???? Ext 0751 From sdssoftware at optusnet.com.au Mon Sep 1 20:16:06 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Tue, 2 Sep 2003 11:16:06 +1000 Subject: [AccessD] Sidebar navigation References: <200309010253.h812rZp15734@databaseadvisors.com> Message-ID: <007201c370ef$cf8684a0$6501a8c0@user> Hi Joshua - I have done something along those lines - not quite like Outlook, but the idea may be of some help if you have to go that way. I had to create a form which allows users of different departments to see a 'process'. I created a form with a subform - the subform (tall and narrow - about 2.5 cm wide x length of screen ) remained always visible on the left hand side of the screen while the contents on the right changed. Eg. The narrow form on the left displayed the names of the 10 departments in the organisation. By default it displayed 'Sales' and subforms 1 and 2 were loaded and made visible on the right. But users could select 'All' and see the entire process which involved 32 (!) subforms of content on the right. But by selecting their department name on the subform the main form then only displayed the appropriate subforms for their department. It was a bit more complicated than that, but the general idea is that to have a form sitting on the side of a main form the properties you need on the subform are: Popup: Yes Modal: No Border style: None Autoresize: No Autocenter = No The main form has an on open event with the code: DoCmd.OpenForm "Frmnpdpopup", acNormal, , , , acNormal This was a while ago but I remember that to get the subform to sit exactly where you want you need to: - set the border style of the subform to sizable (so that you can resize the form) - open the form in form view, and restore the window so that the form is shown in the same size as it would appear on the subform - Size the form and place it exactly where you want it (remember that it has autoresize=No and Autocenter = no) - Save the form (Just do a Ctrl+S even though you're in form view - it works). Not that the form size / position is locked in, then go back to design view and change the border style back to None. Save / close. To allow the subform to act as a 'toolbar' in my case I did the following: - Place all my 32 subforms onto the main form. - Removed the source object from each, so they are unbound. - Add a list box of options to the subform on the left. - The listbox on the subform has an 'on click' event which makes the appropriate subforms on the right visible / not visible, and loads their source object (if not loaded already - I had a routine which checked that). - If you need to position multiple forms like I did, then you can do that by using their 'top' to put them in the right place. If you can avoid going down this route then I would - incredibly time consuming for me. But if there is a strong requirement from the client then it can work very well. I had to make sure that I would be paid for all the mucking around it took and in the end the result was very slick and the client was extremely happy. I can send you some screen prints if it helps. Good luck - Kath ----- Original Message ----- From: "Joshua B" To: "Access Developers discussion and problem solving" Sent: Monday, September 01, 2003 12:53 PM Subject: [AccessD] Sidebar navigation > Hi Group, > > A client of mine has requested that instead of having a "switchboard/main menu" type setup for navigation within their app, they would prefer to have a sidebar menu ala Access & Outlook. Has anyone had any luck designing this sort of interface within Access? My initial thoughts are to have a popup form and control it's size to take up a portion of the left hand side of the screen, however this means I would no longer be able to maximise other forms. Any ideas would be greatly appreciated. > > Best regards. > Joshua B > lists at jbsolutions.com.au > www.jbsolutions.com.au > 2003-09-01 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Mon Sep 1 20:58:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 1 Sep 2003 21:58:55 -0400 Subject: [AccessD] Cool little app Message-ID: For anyone interested, an article I stumbled across that demonstrates using .net to lookup ip addresses. http://msdn.microsoft.com/msdnmag/issues/02/04/Virus/default.aspx I cut and pasted the two classes and built a form to use the MyWhois to lookup an ip address. For whatever reason I am only able to lookup IP addresses (passing in a True as the last value), I'll be looking at this more closely later. I'd love to get the lookup working on my web page - anyone who wants to help me in that regard give me a shout offline. With all the discussion on Security going around the group lately those interested parties might want to read this article. It discusses the IIS logs which show hack attempts. John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Mon Sep 1 21:36:09 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 1 Sep 2003 22:36:09 -0400 Subject: [dba-VB] [AccessD] Cool little app In-Reply-To: Message-ID: Well, I got both the Whois and the IP lookup working. Nice little tool. The article discusses turning it into a dll (for use in a web page) but apparently my vb.net compiler isn't in my path because I get a "not found" when I try to do the compile. sigh John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 01, 2003 9:59 PM To: VBA; AccessD Subject: [dba-VB] [AccessD] Cool little app For anyone interested, an article I stumbled across that demonstrates using .net to lookup ip addresses. http://msdn.microsoft.com/msdnmag/issues/02/04/Virus/default.aspx I cut and pasted the two classes and built a form to use the MyWhois to lookup an ip address. For whatever reason I am only able to lookup IP addresses (passing in a True as the last value), I'll be looking at this more closely later. I'd love to get the lookup working on my web page - anyone who wants to help me in that regard give me a shout offline. With all the discussion on Security going around the group lately those interested parties might want to read this article. It discusses the IIS logs which show hack attempts. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Sep 1 22:49:08 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 01 Sep 2003 20:49:08 -0700 Subject: [AccessD] Sending emails from within ACC02 - Answer References: Message-ID: <3F541334.6050707@shaw.ca> To get rid of the security warning message One way is to use the redemption dll http://www.dimastr.com/redemption/ David Fenton wrote: >Sorry folks, >Just found a site that answers my own question >http://www.granite.ab.ca/access/sendobject.htm >Cheers, >David >Brisbane >Australia > > >Just wondering why I would use the following code >http://p2p.wrox.com/archive/vba_access/2002-04/1.asp > >...instead of what I'm using successfully right now (in a loop) >DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False > >Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. > >Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? > >However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" > >The usual DoCmd.Setwarning does not stop it from appearing > >Cheers >David ???? >Ext 0751 > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Tue Sep 2 00:50:33 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 01 Sep 2003 22:50:33 -0700 Subject: [AccessD] Pictures from the last DBA conference In-Reply-To: <3F541334.6050707@shaw.ca> Message-ID: Hi All: The pictures from the last DBA conference, in Germany, have just loaded to the DBA web site (www.databaseadvisors.com) ...check it out...it can be accessed through the main page. Jim From artful at rogers.com Tue Sep 2 10:31:41 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 2 Sep 2003 08:31:41 -0700 Subject: [AccessD] PDF through code - Follow up to Arthur's and Charlotte's pastpostings In-Reply-To: Message-ID: MessageI can't quite remember, but I think the standard version was about $75 and the Pro version upgrade an additional hundred. I haven't regretted one penny of it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Thursday, August 28, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] PDF through code - Follow up to Arthur's and Charlotte's pastpostings Hey Arthur and Charlotte: Regarding the below postings. What did you pay for you PDF converter? Was it a plug-in or some API calls? Did you buy the developer's kit, and finally how did you handle licensing costs? Thanks John Skolits --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Sep 2 10:31:46 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 2 Sep 2003 08:31:46 -0700 Subject: [AccessD] OT: DUAL BOOT XP PRO AND WIN2K SERVER In-Reply-To: <3F5235EE.11413.809C3@localhost> Message-ID: You should probably install SQL Server Developer on the XP Pro boot and SQL Enterprise on the 2K Server boot. Get the best of both worlds. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Sunday, August 31, 2003 12:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: DUAL BOOT XP PRO AND WIN2K SERVER On 30 Aug 2003 at 23:22, Joe Hecht wrote: > Microsoft tool says my system can do it. > > Can any one tell me how? > > Running XPPro but want to add sql server. > > I have the action pack and therefore have my choice of sql. I think I want > to run sql developer. Right? > Windows XP is an operating system SQL Server 2000 is an application. You don't boot an application , only an OS. Just install SQL Server 2000 on your XP machine. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From jcolby at colbyconsulting.com Tue Sep 2 08:26:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 2 Sep 2003 09:26:15 -0400 Subject: [AccessD] Pictures from the last DBA conference In-Reply-To: Message-ID: It looks like a very good time was had by all - judging by the "final toast" pictures. ;-) Good job to Lembit in hosting the conference. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Tuesday, September 02, 2003 1:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pictures from the last DBA conference Hi All: The pictures from the last DBA conference, in Germany, have just loaded to the DBA web site (www.databaseadvisors.com) ...check it out...it can be accessed through the main page. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lembit.Soobik at t-online.de Tue Sep 2 08:57:40 2003 From: Lembit.Soobik at t-online.de (Lembit Soobik) Date: Tue, 2 Sep 2003 15:57:40 +0200 Subject: [AccessD] Pictures from the last DBA conference References: Message-ID: <01e001c3715b$a57114c0$0200a8c0@S856> thank you, John :) Lembit Soobik ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 02, 2003 3:26 PM Subject: RE: [AccessD] Pictures from the last DBA conference > It looks like a very good time was had by all - judging by the "final toast" > pictures. ;-) > > Good job to Lembit in hosting the conference. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Tuesday, September 02, 2003 1:51 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pictures from the last DBA conference > > > Hi All: > > The pictures from the last DBA conference, in Germany, have just loaded to > the DBA web site (www.databaseadvisors.com) ...check it out...it can be > accessed through the main page. > > Jim > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paulawright at boddienoell.com Tue Sep 2 09:39:05 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 2 Sep 2003 10:39:05 -0400 Subject: [AccessD] Crystal Reports Password Message-ID: I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I apparently went about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access. Hopefully, this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have passwords. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Thank you, Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif URL: From cfoust at infostatsystems.com Tue Sep 2 11:19:17 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Sep 2003 09:19:17 -0700 Subject: [AccessD] Creating PDFs Message-ID: We pass the desired filename in the OpenArgs of Access 2002 reports. Then we use that filename when we output to PDF format. Charlotte Foust -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Sunday, August 31, 2003 6:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Creating PDFs Hi Everyone Has anyone had success with printing to a PDF, assigning it the desired file name? My client is using Adobe, but will change if required. TIA Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 2 11:21:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Sep 2003 09:21:15 -0700 Subject: [AccessD] SHIFT + F9 Message-ID: The problem with using the DoMenuItem syntax is that it is difficult, if not impossible, to remember later what exactly it is doing! The RunCommand syntax is at least self-documenting to an extent. Charlotte Foust -----Original Message----- From: Kostas Konstantinidis [mailto:kost36 at otenet.gr] Sent: Saturday, August 30, 2003 4:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SHIFT + F9 Hi Gustav, what I want is to refresh an ole object into a form. I tried all the methods I know but none of them seems to be able to update the object. So I put the DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70 I don;t know if that is the right method but... it works perfect Thank's for your responce Kostas ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 30, 2003 3:30 PM Subject: Re: [AccessD] SHIFT + F9 > Hi Kostas > > How about: > > Me.Requery > > /gustav > > > Could anybody help me in how to set the SHIFT + F9 in code > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Tue Sep 2 11:39:38 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 2 Sep 2003 18:39:38 +0200 Subject: AW: [AccessD] Sidebar navigation Message-ID: hi Joshua, you could try using the following DoCmd.SelectObject acForm, "YOUR_FORM", False DoCmd.MoveSize 0, 0, 11907, 1531 I use this in a couple of apps where I have a "selection" form and all other forms are displayed below this one. the form above is in the top left, 11907 twips wide and 1531 high. I place all the other forms with DoCmd.MoveSize 0, 1531, 11907, 6237 as you can see all other forms start at the top where the "selection" form stops. (1531 twips) HTH alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Joshua B Gesendet: Montag, 1. September 2003 04:53 An: Access Developers discussion and problem solving Betreff: [AccessD] Sidebar navigation Hi Group, A client of mine has requested that instead of having a "switchboard/main menu" type setup for navigation within their app, they would prefer to have a sidebar menu ala Access & Outlook. Has anyone had any luck designing this sort of interface within Access? My initial thoughts are to have a popup form and control it's size to take up a portion of the left hand side of the screen, however this means I would no longer be able to maximise other forms. Any ideas would be greatly appreciated. Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-01 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Sep 2 11:46:38 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 2 Sep 2003 12:46:38 -0400 Subject: [AccessD] relationship documenter Message-ID: Has anyone ever seen / designed a documenter for relationships where the relationships are NOT specified in the database window? I am going through a fairly complex "relational" database where there were no relationships established, defining the relationships. In order to do that I am looking at all form's combos to determine the column(0) field and the field in the forms query that it is bound to. I also examine the link child / master properties of all subforms on all forms. Using this strategy I determine the fields in all tables that have manual data input methods. As I discover each "relationship" I create a relationship in the relationship window of the FE. This allows me to at least see the structure of the database as envisioned by the original designer. It seems like a process that could be automated but I have never done so. Has anyone else ever seen a tool that does this? John W. Colby www.colbyconsulting.com From Helmut.E.Kotsch at t-online.de Tue Sep 2 12:05:00 2003 From: Helmut.E.Kotsch at t-online.de (Helmut Kotsch) Date: Tue, 2 Sep 2003 19:05:00 +0200 Subject: AW: [AccessD] Pictures from the last DBA conference In-Reply-To: Message-ID: Lembit, I would like to thank you for hosting / facilitating the Access DBA-Conference in your house from Aug. 8th to Aug. 10th 2003. You really did an outstanding job. The environment was great. (I call your house from now on the "Freising Castle") The food was superior. (Say also thanks to your wife) The setup was perfect. (Room and equipment) The presented subjects have been very interesting to me. 1. Gustavs presentation covering the "Knapsack Problem" was very professional and gave insights to a problem that may show up in many situations. 2. Your presentation covering the EIBUS system showed to me to what extend this is already reality these days. (including the Hardware availability) I wasn't aware that this had gone already that far. Not only did you cover the theoretical part of it, you also could demonstrate the functionality since you have it installed in your castle. Great show. 3. Since some of the participants couldn't come to the conference we used the spare time to discuss my "once in the lifetime" database. I appreciated this very much since the discussions gave me some useful hints to improve certain areas of my monster database. Conclusion: Due to your outstanding job in managing this conference I hope that you will repeat this by calling for another conference in the near future. Hopefully more participants will show up to the next meeting in Freising. Our experience should encourage everybody to participate the next time. Keep up the good work. Regards and have a nice day. Helmut P.S.: Your achievements and environment (Freising Castle) made it obvious that you had to be promoted to "King Lembit the 1st of Freising". Next time you might be promoted to be "King Lembit of Bavaria", but than you would have to move to the famous castle "Neuschwanstein". This on the other hand would keep you too busy installing the EIBUS system in that castle and you wouldn't have time to host another Access dba-Conference. Therefore we probably have to rethink the promotion to "King of Bavaria". (helmut.e.kotsch at t-online.de) -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von John Colby Gesendet: Dienstag, 2. September 2003 15:26 An: Access Developers discussion and problem solving Betreff: RE: [AccessD] Pictures from the last DBA conference It looks like a very good time was had by all - judging by the "final toast" pictures. ;-) Good job to Lembit in hosting the conference. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Tuesday, September 02, 2003 1:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pictures from the last DBA conference Hi All: The pictures from the last DBA conference, in Germany, have just loaded to the DBA web site (www.databaseadvisors.com) ...check it out...it can be accessed through the main page. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Tue Sep 2 12:29:49 2003 From: delliker at hotmail.com (Don Elliker) Date: Tue, 02 Sep 2003 13:29:49 -0400 Subject: [AccessD] Replication and non-replicated archives Message-ID: I have a database which used to allow creation of a copy of the current database to an archive (full copy of the data portion). This Db has now grown in popularity and is to be rolled out to many users (100+). To make this perform acceptably, I have elected to replicate hubs across servers (WAN) and one of the things that has cropped up is this 'archive' functionality. One of the purposes of this archive is to allow users to change their connection to an archive, copy some test cases from the archive to a temp table, re-conect to the current Db and then automagically copy them from the temp table to the current Db (after some mapping shennanigans). The question is :Will I be able to create 'unreplicated' Dbs from a replicated Db? _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] SHIFT + F9 >Date: Tue, 2 Sep 2003 09:21:15 -0700 > >The problem with using the DoMenuItem syntax is that it is difficult, if >not impossible, to remember later what exactly it is doing! The >RunCommand syntax is at least self-documenting to an extent. > >Charlotte Foust > >-----Original Message----- >From: Kostas Konstantinidis [mailto:kost36 at otenet.gr] >Sent: Saturday, August 30, 2003 4:50 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] SHIFT + F9 > > >Hi Gustav, >what I want is to refresh an ole object into a form. >I tried all the methods I know but none of them seems to be able to >update the object. So I put the DoCmd.DoMenuItem acFormBar, >acRecordsMenu, 5, , acMenuVer70 I don;t know if that is the right method >but... it works perfect > >Thank's for your responce >Kostas > >----- Original Message ----- >From: "Gustav Brock" >To: "Access Developers discussion and problem solving" > >Sent: Saturday, August 30, 2003 3:30 PM >Subject: Re: [AccessD] SHIFT + F9 > > > > Hi Kostas > > > > How about: > > > > Me.Requery > > > > /gustav > > > > > Could anybody help me in how to set the SHIFT + F9 in code > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get MSN 8 and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus From AJAllen at mail.wvu.edu Tue Sep 2 12:43:55 2003 From: AJAllen at mail.wvu.edu (Amanda Allen) Date: Tue, 02 Sep 2003 13:43:55 -0400 Subject: [AccessD] Location of Desktop Message-ID: How do I reference the location of the desktop using VBA in MS Access? I want to put a shortcut of the database on the user's desktop. -- Amanda From Mark.Mitsules at ngc.com Tue Sep 2 12:56:48 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 2 Sep 2003 13:56:48 -0400 Subject: [AccessD] Location of Desktop Message-ID: Amanda, I've never used it, but I've seen this syntax referenced before. DesktopPath = GetSpecialFolder(CSIDL_DESKTOPDIRECTORY) Mark -----Original Message----- From: Amanda Allen [mailto:AJAllen at mail.wvu.edu] Sent: Tuesday, September 02, 2003 1:44 PM To: <"Access Developers discussion and problem solving" Subject: [AccessD] Location of Desktop How do I reference the location of the desktop using VBA in MS Access? I want to put a shortcut of the database on the user's desktop. -- Amanda _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Sep 2 13:06:33 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue, 02 Sep 2003 14:06:33 -0400 Subject: [AccessD] Location of Desktop Message-ID: It involves using API calls. Have a look at http://www.mvps.org/access/api/api0054.htm for an example. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> AJAllen at mail.wvu.edu 02-Sep-03 1:43:55 PM >>> How do I reference the location of the desktop using VBA in MS Access? I want to put a shortcut of the database on the user's desktop. -- Amanda _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Tue Sep 2 13:20:03 2003 From: rjhjr at cox.net (Bob Hall) Date: Tue, 2 Sep 2003 14:20:03 -0400 Subject: [AccessD] relationship documenter In-Reply-To: References: Message-ID: <20030902182003.GA12300@kongemord.krig.net> On Tue, Sep 02, 2003 at 12:46:38PM -0400, John Colby wrote: > Has anyone ever seen / designed a documenter for relationships where the > relationships are NOT specified in the database window? > > I am going through a fairly complex "relational" database where there were > no relationships established, defining the relationships. In order to do > that I am looking at all form's combos to determine the column(0) field and > the field in the forms query that it is bound to. I also examine the link > child / master properties of all subforms on all forms. > > Using this strategy I determine the fields in all tables that have manual > data input methods. As I discover each "relationship" I create a > relationship in the relationship window of the FE. This allows me to at > least see the structure of the database as envisioned by the original > designer. > > It seems like a process that could be automated but I have never done so. > Has anyone else ever seen a tool that does this? I'm not sure what you're envisioning, but I've got an app that goes through a .dbm file and creates a database of relationships by examiming query SQL statements, subform child/parent relationships, form RecordSources, and control ControlSources. It generates two reports: a standard Access text report showing where each object gets its data, and a tree graph showing the flow of data from table via queries and forms to control. It needs some work to make it more useful for large .dbm files (1,000 or more objects), but I and a beta tester have used it on large files. If this sounds close to what you're looking for, I'll put it on my web site and post download directions. Bob Hall From jcolby at colbyconsulting.com Tue Sep 2 13:26:33 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 2 Sep 2003 14:26:33 -0400 Subject: [AccessD] relationship documenter In-Reply-To: <20030902182003.GA12300@kongemord.krig.net> Message-ID: This does indeed sound like what I am looking for. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Hall Sent: Tuesday, September 02, 2003 2:20 PM To: AccessD Subject: Re: [AccessD] relationship documenter On Tue, Sep 02, 2003 at 12:46:38PM -0400, John Colby wrote: > Has anyone ever seen / designed a documenter for relationships where the > relationships are NOT specified in the database window? > > I am going through a fairly complex "relational" database where there were > no relationships established, defining the relationships. In order to do > that I am looking at all form's combos to determine the column(0) field and > the field in the forms query that it is bound to. I also examine the link > child / master properties of all subforms on all forms. > > Using this strategy I determine the fields in all tables that have manual > data input methods. As I discover each "relationship" I create a > relationship in the relationship window of the FE. This allows me to at > least see the structure of the database as envisioned by the original > designer. > > It seems like a process that could be automated but I have never done so. > Has anyone else ever seen a tool that does this? I'm not sure what you're envisioning, but I've got an app that goes through a .dbm file and creates a database of relationships by examiming query SQL statements, subform child/parent relationships, form RecordSources, and control ControlSources. It generates two reports: a standard Access text report showing where each object gets its data, and a tree graph showing the flow of data from table via queries and forms to control. It needs some work to make it more useful for large .dbm files (1,000 or more objects), but I and a beta tester have used it on large files. If this sounds close to what you're looking for, I'll put it on my web site and post download directions. Bob Hall _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Tue Sep 2 13:27:35 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Tue, 02 Sep 2003 14:27:35 -0400 Subject: [AccessD] relationship documenter Message-ID: Bob, Even if it won't do what John needs, it sounds like it could be quite useful to me, if you don't mind sharing. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> rjhjr at cox.net 02-Sep-03 2:20:03 PM >>> On Tue, Sep 02, 2003 at 12:46:38PM -0400, John Colby wrote: > Has anyone ever seen / designed a documenter for relationships where the > relationships are NOT specified in the database window? > > I am going through a fairly complex "relational" database where there were > no relationships established, defining the relationships. In order to do > that I am looking at all form's combos to determine the column(0) field and > the field in the forms query that it is bound to. I also examine the link > child / master properties of all subforms on all forms. > > Using this strategy I determine the fields in all tables that have manual > data input methods. As I discover each "relationship" I create a > relationship in the relationship window of the FE. This allows me to at > least see the structure of the database as envisioned by the original > designer. > > It seems like a process that could be automated but I have never done so. > Has anyone else ever seen a tool that does this? I'm not sure what you're envisioning, but I've got an app that goes through a .dbm file and creates a database of relationships by examiming query SQL statements, subform child/parent relationships, form RecordSources, and control ControlSources. It generates two reports: a standard Access text report showing where each object gets its data, and a tree graph showing the flow of data from table via queries and forms to control. It needs some work to make it more useful for large .dbm files (1,000 or more objects), but I and a beta tester have used it on large files. If this sounds close to what you're looking for, I'll put it on my web site and post download directions. From nancy.lytle at auatac.com Tue Sep 2 13:56:23 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 2 Sep 2003 14:56:23 -0400 Subject: [AccessD] relationship documenter References: Message-ID: <012801c37183$e9598b40$43288141@servone> I second that, what is your website address? N Lytle ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Tuesday, September 02, 2003 2:27 PM Subject: Re: [AccessD] relationship documenter > Bob, > > Even if it won't do what John needs, it sounds like it could be quite useful to me, if you don't mind sharing. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > > >>> rjhjr at cox.net 02-Sep-03 2:20:03 PM >>> > On Tue, Sep 02, 2003 at 12:46:38PM -0400, John Colby wrote: > > Has anyone ever seen / designed a documenter for relationships where the > > relationships are NOT specified in the database window? > > > > I am going through a fairly complex "relational" database where there were > > no relationships established, defining the relationships. In order to do > > that I am looking at all form's combos to determine the column(0) field and > > the field in the forms query that it is bound to. I also examine the link > > child / master properties of all subforms on all forms. > > > > Using this strategy I determine the fields in all tables that have manual > > data input methods. As I discover each "relationship" I create a > > relationship in the relationship window of the FE. This allows me to at > > least see the structure of the database as envisioned by the original > > designer. > > > > It seems like a process that could be automated but I have never done so. > > Has anyone else ever seen a tool that does this? > > I'm not sure what you're envisioning, but I've got an app that goes > through a .dbm file and creates a database of relationships by > examiming query SQL statements, subform child/parent relationships, > form RecordSources, and control ControlSources. It generates two > reports: a standard Access text report showing where each object > gets its data, and a tree graph showing the flow of data from > table via queries and forms to control. It needs some work to make > it more useful for large .dbm files (1,000 or more objects), but I > and a beta tester have used it on large files. > > If this sounds close to what you're looking for, I'll put it on my > web site and post download directions. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 From ranthony at wrsystems.com Tue Sep 2 14:23:55 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Tue, 2 Sep 2003 15:23:55 -0400 Subject: [AccessD] Alter Table Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641287AA@mail2.wrsystems.com> Hi all, I know this has got to be an easy one, but help in XP and 2K is driving me nuts!! I just want to alter an A2K table with code and create a primary key in it. Any suggestions? Thanks a bunch. Randy @ ext. 473 From paulawright at boddienoell.com Tue Sep 2 14:50:05 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 2 Sep 2003 15:50:05 -0400 Subject: [AccessD] Crystal Reports Password Message-ID: Apparently my first email didn't "take" so here it is again. I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I apparently went about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access. Hopefully, this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have passwords. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Thank you, Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif URL: From harkins at iglou.com Tue Sep 2 14:57:02 2003 From: harkins at iglou.com (Susan Harkins) Date: Tue, 2 Sep 2003 15:57:02 -0400 Subject: [AccessD] Alter Table References: <5F21A4E8B8DD734992EF9E70AC9D30641287AA@mail2.wrsystems.com> Message-ID: <00e801c3718c$61a836c0$a4e6ffcc@SusanOne> More than one way to do it -- SQL: ALTER TABLE tbl ADD COLUMN fld AUTOINCREMENT CONSTRAINT pk PRIMARY KEY ADOX: Function AddAutoNumberField(fldname As String, seedvalue As Long, _ incvalue As Long, tblname As String) Dim cat As New ADOX.Catalog Dim col As New ADOX.Column cat.ActiveConnection = CurrentProject.Connection With col .Name = fldname .Type = adInteger Set .ParentCatalog = cat .Properties("AutoIncrement") = True .Properties("Seed") = CLng(seedvalue) .Properties("Increment") = CLng(incvalue) End With cat.Tables(tblname).Columns.Append col Set cat = Nothing Set col = Nothing End Function ----- Original Message ----- From: "Randall Anthony" To: Sent: Tuesday, September 02, 2003 3:23 PM Subject: [AccessD] Alter Table > Hi all, > I know this has got to be an easy one, but help in XP and 2K is driving me > nuts!! I just want to alter an A2K table with code and create a primary key > in it. Any suggestions? Thanks a bunch. > > Randy @ ext. 473 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Mark.Mitsules at ngc.com Tue Sep 2 15:03:28 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 2 Sep 2003 16:03:28 -0400 Subject: [AccessD] Location of Desktop Message-ID: Amanda, Here's what you need...taken from Microsoft Knowledge Base Article - 182606. Mark **************************************************** BEGIN CODE **************************************************** Option Compare Database Option Explicit ' Declare variables. Dim DesktopPath As String Dim StartMenuPath As String Dim WinPath As String Dim fNameOld As String Dim fNameNew As String ' Declare Public variables. Public Type ShortItemId cb As Long abID As Byte End Type Public Type ITEMIDLIST mkid As ShortItemId End Type ' Declare constants. Const CSIDL_TEMPLATES = &H15 Const CSIDL_STARTMENU = &HB Const CSIDL_FAVORITES = &H6 Const CSIDL_DESKTOPDIRECTORY = &H10 ' Declare API functions. Public Declare Function SHGetPathFromIDList Lib "shell32.dll" _ (ByVal pidl As Long, ByVal pszPath As String) As Long Public Declare Function SHGetSpecialFolderLocation Lib _ "shell32.dll" (ByVal hwndOwner As Long, ByVal nFolder _ As Long, pidl As ITEMIDLIST) As Long Function GetSpecialFolder(CSIDL As Long) As String Dim idlstr As Long Dim sPath As String Dim IDL As ITEMIDLIST Const NOERROR = 0 Const MAX_LENGTH = 260 On Error GoTo Err_GetFolder ' Fill the idl structure with the specified folder item. idlstr = SHGetSpecialFolderLocation _ (Application.hWndAccessApp, CSIDL, IDL) If idlstr = NOERROR Then ' Get the path from the idl list, and return ' the folder with a slash at the end. sPath = Space$(MAX_LENGTH) idlstr = SHGetPathFromIDList(ByVal IDL.mkid.cb, ByVal sPath) If idlstr Then GetSpecialFolder = Left$(sPath, InStr(sPath, Chr$(0)) _ - 1) & "\" End If End If Exit_GetFolder: Exit Function Err_GetFolder: MsgBox Err.Description, vbCritical Or vbOKOnly Resume Exit_GetFolder End Function Sub Test() Dim strDesktopPath As String strDesktopPath = GetSpecialFolder(CSIDL_DESKTOPDIRECTORY) Debug.Print strDesktopPath End Sub **************************************************** END CODE **************************************************** -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:mitsules_ms at nns.com] Sent: Tuesday, September 02, 2003 1:57 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Location of Desktop Amanda, I've never used it, but I've seen this syntax referenced before. DesktopPath = GetSpecialFolder(CSIDL_DESKTOPDIRECTORY) Mark -----Original Message----- From: Amanda Allen [mailto:AJAllen at mail.wvu.edu] Sent: Tuesday, September 02, 2003 1:44 PM To: <"Access Developers discussion and problem solving" Subject: [AccessD] Location of Desktop How do I reference the location of the desktop using VBA in MS Access? I want to put a shortcut of the database on the user's desktop. -- Amanda _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Tue Sep 2 15:18:30 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Tue, 2 Sep 2003 16:18:30 -0400 Subject: [AccessD] Alter Table Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641287AB@mail2.wrsystems.com> Thanks for that Susan, but I should have been more specific. I've got a table that is already populated with data, and three of the 6 fields need to be turned into a PK. I used to do this manually, but I'm automating this feature so users can do it themselves. Basically, a remote dbase imports/links tables from sql, a make table query creates a new table, the link table is deleted, and the PK needs to be set for the new table. -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, September 02, 2003 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Alter Table More than one way to do it -- SQL: ALTER TABLE tbl ADD COLUMN fld AUTOINCREMENT CONSTRAINT pk PRIMARY KEY ADOX: Function AddAutoNumberField(fldname As String, seedvalue As Long, _ incvalue As Long, tblname As String) Dim cat As New ADOX.Catalog Dim col As New ADOX.Column cat.ActiveConnection = CurrentProject.Connection With col .Name = fldname .Type = adInteger Set .ParentCatalog = cat .Properties("AutoIncrement") = True .Properties("Seed") = CLng(seedvalue) .Properties("Increment") = CLng(incvalue) End With cat.Tables(tblname).Columns.Append col Set cat = Nothing Set col = Nothing End Function ----- Original Message ----- From: "Randall Anthony" To: Sent: Tuesday, September 02, 2003 3:23 PM Subject: [AccessD] Alter Table > Hi all, > I know this has got to be an easy one, but help in XP and 2K is driving me > nuts!! I just want to alter an A2K table with code and create a primary key > in it. Any suggestions? Thanks a bunch. > > Randy @ ext. 473 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Sep 2 15:17:14 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Tue, 2 Sep 2003 15:17:14 -0500 Subject: [AccessD] Creating PDFs Message-ID: <869379ABF177D4118D3100508B5EF873063950DC@corp-es00> Power PDF www.ptgsoftware.com has worked well except I have been unable to get it to print mixed landscape and portrait documents. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, September 01, 2003 3:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating PDFs Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Sep 2 15:38:56 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 2 Sep 2003 16:38:56 -0400 Subject: [AccessD] Alter Table References: <5F21A4E8B8DD734992EF9E70AC9D30641287AB@mail2.wrsystems.com> Message-ID: <00bf01c37192$4a054890$6401a8c0@default> Hi Anthony, I usually use DAO for this: Usage: Call CreatePKAutoIncr(CurrentDB, "Table","Field",True) Private Function CreatePKAutoIncr(objDB As DAO.Database, _ tdfName As String, fldName As String, PK As Boolean) Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim idx As DAO.Index objDB.TableDefs.Refresh Set tdf = objDB.TableDefs(tdfName) Set fld = tdf.CreateField(fldName, dbLong) With fld .OrdinalPosition = 0 .Attributes = dbAutoIncrField End With tdf.Fields.Append fld If PK = True Then Set idx = tdf.CreateIndex("PrimaryKey") With idx .Primary = True .Required = True .Unique = True End With Set fld = idx.CreateField(fldName) idx.Fields.Append fld tdf.Indexes.Append idx End If RefreshDatabaseWindow Exit_CreatePKAutoIncr: On Error Resume Next Set idx = Nothing Set fld = Nothing Set tdf = Nothing Exit Function Err_CreatePKAutoIncr: MsgBox Err.Description, , "Error in Function mTbl.CreatePKAutoIncr" Resume Exit_CreatePKAutoIncr End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Randall Anthony" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 02, 2003 4:18 PM Subject: RE: [AccessD] Alter Table > Thanks for that Susan, but I should have been more specific. I've got a > table that is already populated with data, and three of the 6 fields need to > be turned into a PK. I used to do this manually, but I'm automating this > feature so users can do it themselves. Basically, a remote dbase > imports/links tables from sql, a make table query creates a new table, the > link table is deleted, and the PK needs to be set for the new table. > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, September 02, 2003 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Alter Table > > More than one way to do it -- > > SQL: > ALTER TABLE tbl > ADD COLUMN fld AUTOINCREMENT > CONSTRAINT pk PRIMARY KEY > > ADOX: > Function AddAutoNumberField(fldname As String, seedvalue As Long, _ > incvalue As Long, tblname As String) > Dim cat As New ADOX.Catalog > Dim col As New ADOX.Column > cat.ActiveConnection = CurrentProject.Connection > With col > .Name = fldname > .Type = adInteger > Set .ParentCatalog = cat > .Properties("AutoIncrement") = True > .Properties("Seed") = CLng(seedvalue) > .Properties("Increment") = CLng(incvalue) > End With > cat.Tables(tblname).Columns.Append col > Set cat = Nothing > Set col = Nothing > End Function > > > > > > > ----- Original Message ----- > From: "Randall Anthony" > To: > Sent: Tuesday, September 02, 2003 3:23 PM > Subject: [AccessD] Alter Table > > > > Hi all, > > I know this has got to be an easy one, but help in XP and 2K is driving me > > nuts!! I just want to alter an A2K table with code and create a primary > key > > in it. Any suggestions? Thanks a bunch. > > > > Randy @ ext. 473 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Tue Sep 2 15:31:52 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 2 Sep 2003 16:31:52 -0400 Subject: [AccessD] Alter Table Message-ID: I did something similar once in Access 2.0 using a macro and send keys. I get around this problem by running delete and append queries rather than a make-table. -----Original Message----- From: Randall Anthony [mailto:ranthony at wrsystems.com] Sent: Tuesday, September 02, 2003 4:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Alter Table Thanks for that Susan, but I should have been more specific. I've got a table that is already populated with data, and three of the 6 fields need to be turned into a PK. I used to do this manually, but I'm automating this feature so users can do it themselves. Basically, a remote dbase imports/links tables from sql, a make table query creates a new table, the link table is deleted, and the PK needs to be set for the new table. -----Original Message----- From: Susan Harkins [mailto:harkins at iglou.com] Sent: Tuesday, September 02, 2003 3:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Alter Table More than one way to do it -- SQL: ALTER TABLE tbl ADD COLUMN fld AUTOINCREMENT CONSTRAINT pk PRIMARY KEY ADOX: Function AddAutoNumberField(fldname As String, seedvalue As Long, _ incvalue As Long, tblname As String) Dim cat As New ADOX.Catalog Dim col As New ADOX.Column cat.ActiveConnection = CurrentProject.Connection With col .Name = fldname .Type = adInteger Set .ParentCatalog = cat .Properties("AutoIncrement") = True .Properties("Seed") = CLng(seedvalue) .Properties("Increment") = CLng(incvalue) End With cat.Tables(tblname).Columns.Append col Set cat = Nothing Set col = Nothing End Function ----- Original Message ----- From: "Randall Anthony" To: Sent: Tuesday, September 02, 2003 3:23 PM Subject: [AccessD] Alter Table > Hi all, > I know this has got to be an easy one, but help in XP and 2K is > driving me nuts!! I just want to alter an A2K table with code and > create a primary key > in it. Any suggestions? Thanks a bunch. > > Randy @ ext. 473 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.Millaud at mail.sprint.com Tue Sep 2 15:51:15 2003 From: Mike.Millaud at mail.sprint.com (Millaud, Michael J [ITS]) Date: Tue, 2 Sep 2003 15:51:15 -0500 Subject: [AccessD] Dynamic Connection to New UNC Path. Message-ID: <1DA3AEE851515549A5D2C5BD7F8FB24726CB24@PKDWB06C.ad.sprint.com> Hey All, I am wondering if there is a was to pass the username & password in a dynamic UNC connection. I do have batch code that will check and map a drive. I also can connect to a UNC path if I already have a map established to some drive or share on that box, apparently M$ will authenticate the connection by applying any current connection login info. All I want to do is have a procedure move a file from c:\Somewhere to \\NetwrkPlace\Myshare in either VB called from an Access procedure or a batch file called from a procedure. I currently use an Email process to transfer files from remote users to me but then I have to process every email received manually. I would appreciate any assistance you can offer. Thanks Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From anna at apespools.com Tue Sep 2 16:08:50 2003 From: anna at apespools.com (Anna Hopkins) Date: Tue, 02 Sep 2003 16:08:50 -0500 Subject: [AccessD] Calendar Control Message-ID: <200309022108.RAA03831@glatton.cnchost.com> I know this subject has been discussed before so I checked the archives first but am still not sure what the solution to my current need is ... I'd like a simple, small calendar control to put on a form so a user can simply choose a date by clicking from the calendar and the date gets transferred to the selected text box/ field. I used the one that comes with Access several years ago and had problems with it. Sometimes it worked exactly like I wanted and sometimes it would break!!???!! In the archives I read about the calendar from http://dataspherellc.com/. Is this overkill for what I need or will it work for what I am trying to do? I also read about Drew's MiniCalendar but have not been able to locate that one to check it out. I would appreciate any suggestions, advice. And sorry for the subject repeat. From dwaters at usinternet.com Tue Sep 2 16:32:47 2003 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 2 Sep 2003 16:32:47 -0500 Subject: [AccessD] Calendar Control In-Reply-To: <200309022108.RAA03831@glatton.cnchost.com> Message-ID: <001d01c37199$c4525190$de1811d8@DanWaters> Anna, I just finished simplifying a calendar control I got from somewhere quite a while back. It is simpler than the one at Datasphere. I can send you a copy if you like. It's all native Access (in XP). It should probably down save to A97. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Anna Hopkins Sent: Tuesday, September 02, 2003 3:09 PM To: accessd at databaseadvisors.com Subject: [AccessD] Calendar Control I know this subject has been discussed before so I checked the archives first but am still not sure what the solution to my current need is ... I'd like a simple, small calendar control to put on a form so a user can simply choose a date by clicking from the calendar and the date gets transferred to the selected text box/ field. I used the one that comes with Access several years ago and had problems with it. Sometimes it worked exactly like I wanted and sometimes it would break!!???!! In the archives I read about the calendar from http://dataspherellc.com/. Is this overkill for what I need or will it work for what I am trying to do? I also read about Drew's MiniCalendar but have not been able to locate that one to check it out. I would appreciate any suggestions, advice. And sorry for the subject repeat. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Doyle.Hebert at PREMERA.com Tue Sep 2 16:52:16 2003 From: Doyle.Hebert at PREMERA.com (Doyle Hebert) Date: Tue, 2 Sep 2003 14:52:16 -0700 Subject: [AccessD] RE: AccessD Digest, Vol 7, Issue 2 Message-ID: <318CEAE8D66AD711809B000802CE9829396E7F@LYNPSMX01> -----Original Message----- From: accessd-request at databaseadvisors.com [mailto:accessd-request at databaseadvisors.com] Sent: Tuesday, September 02, 2003 10:00 AM To: accessd at databaseadvisors.com Subject: AccessD Digest, Vol 7, Issue 2 Send AccessD mailing list submissions to accessd at databaseadvisors.com To subscribe or unsubscribe via the World Wide Web, visit http://databaseadvisors.com/mailman/listinfo/accessd or, via email, send a message with subject or body 'help' to accessd-request at databaseadvisors.com You can reach the person managing the list at accessd-owner at databaseadvisors.com When replying, please edit your Subject line so it is more specific than "Re: Contents of AccessD digest..." Today's Topics: 1. Re: OT: My Retirement (Darren DICK) 2. Sending emails from within ACC02 (David Fenton) 3. Sending emails from within ACC02 - Answer (David Fenton) 4. Re: Sidebar navigation (Kath Pelletti) 5. Cool little app (John Colby) 6. RE: [dba-VB] [AccessD] Cool little app (John Colby) 7. Re: Sending emails from within ACC02 - Answer (MartyConnelly) 8. Pictures from the last DBA conference (Jim Lawrence (AccessD)) 9. RE: PDF through code - Follow up to Arthur's and Charlotte's pastpostings (Arthur Fuller) 10. RE: OT: DUAL BOOT XP PRO AND WIN2K SERVER (Arthur Fuller) 11. RE: Pictures from the last DBA conference (John Colby) 12. Re: Pictures from the last DBA conference (Lembit Soobik) 13. Crystal Reports Password (Paula Wright) 14. RE: Creating PDFs (Charlotte Foust) 15. RE: SHIFT + F9 (Charlotte Foust) 16. AW: [AccessD] Sidebar navigation (Garraway, Alun) 17. relationship documenter (John Colby) ---------------------------------------------------------------------- Message: 1 Date: Tue, 2 Sep 2003 09:31:32 +1000 From: "Darren DICK" Subject: Re: [AccessD] OT: My Retirement To: "Access Developers discussion and problem solving" Message-ID: <013101c370e1$2dbd0260$3c619a89 at DDICK> Content-Type: text/plain; charset="iso-8859-1" NO ARCHIVE Congratulations Charles. What an awesome felling. My very best wishes to you and your family for excellent health and an abundance of good times. You'll be missed for your humour and skills from the greatest of lurkers - BTW feel free to lurk Darren ------------------------------ Message: 2 Date: Tue, 2 Sep 2003 09:43:54 +1000 From: "David Fenton" Subject: [AccessD] Sending emails from within ACC02 To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" Just wondering why I would use the following code http://p2p.wrox.com/archive/vba_access/2002-04/1.asp ...instead of what I'm using successfully right now (in a loop) DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" The usual DoCmd.Setwarning does not stop it from appearing Cheers David ???? Ext 0751 ------------------------------ Message: 3 Date: Tue, 2 Sep 2003 09:48:05 +1000 From: "David Fenton" Subject: [AccessD] Sending emails from within ACC02 - Answer To: Message-ID: Content-Type: text/plain; charset="iso-8859-1" Sorry folks, Just found a site that answers my own question http://www.granite.ab.ca/access/sendobject.htm Cheers, David Brisbane Australia Just wondering why I would use the following code http://p2p.wrox.com/archive/vba_access/2002-04/1.asp ...instead of what I'm using successfully right now (in a loop) DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" The usual DoCmd.Setwarning does not stop it from appearing Cheers David ???? Ext 0751 ------------------------------ Message: 4 Date: Tue, 2 Sep 2003 11:16:06 +1000 From: "Kath Pelletti" Subject: Re: [AccessD] Sidebar navigation To: "Access Developers discussion and problem solving" Message-ID: <007201c370ef$cf8684a0$6501a8c0 at user> Content-Type: text/plain; charset="iso-8859-1" Hi Joshua - I have done something along those lines - not quite like Outlook, but the idea may be of some help if you have to go that way. I had to create a form which allows users of different departments to see a 'process'. I created a form with a subform - the subform (tall and narrow - about 2.5 cm wide x length of screen ) remained always visible on the left hand side of the screen while the contents on the right changed. Eg. The narrow form on the left displayed the names of the 10 departments in the organisation. By default it displayed 'Sales' and subforms 1 and 2 were loaded and made visible on the right. But users could select 'All' and see the entire process which involved 32 (!) subforms of content on the right. But by selecting their department name on the subform the main form then only displayed the appropriate subforms for their department. It was a bit more complicated than that, but the general idea is that to have a form sitting on the side of a main form the properties you need on the subform are: Popup: Yes Modal: No Border style: None Autoresize: No Autocenter = No The main form has an on open event with the code: DoCmd.OpenForm "Frmnpdpopup", acNormal, , , , acNormal This was a while ago but I remember that to get the subform to sit exactly where you want you need to: - set the border style of the subform to sizable (so that you can resize the form) - open the form in form view, and restore the window so that the form is shown in the same size as it would appear on the subform - Size the form and place it exactly where you want it (remember that it has autoresize=No and Autocenter = no) - Save the form (Just do a Ctrl+S even though you're in form view - it works). Not that the form size / position is locked in, then go back to design view and change the border style back to None. Save / close. To allow the subform to act as a 'toolbar' in my case I did the following: - Place all my 32 subforms onto the main form. - Removed the source object from each, so they are unbound. - Add a list box of options to the subform on the left. - The listbox on the subform has an 'on click' event which makes the appropriate subforms on the right visible / not visible, and loads their source object (if not loaded already - I had a routine which checked that). - If you need to position multiple forms like I did, then you can do that by using their 'top' to put them in the right place. If you can avoid going down this route then I would - incredibly time consuming for me. But if there is a strong requirement from the client then it can work very well. I had to make sure that I would be paid for all the mucking around it took and in the end the result was very slick and the client was extremely happy. I can send you some screen prints if it helps. Good luck - Kath ----- Original Message ----- From: "Joshua B" To: "Access Developers discussion and problem solving" Sent: Monday, September 01, 2003 12:53 PM Subject: [AccessD] Sidebar navigation > Hi Group, > > A client of mine has requested that instead of having a "switchboard/main menu" type setup for navigation within their app, they would prefer to have a sidebar menu ala Access & Outlook. Has anyone had any luck designing this sort of interface within Access? My initial thoughts are to have a popup form and control it's size to take up a portion of the left hand side of the screen, however this means I would no longer be able to maximise other forms. Any ideas would be greatly appreciated. > > Best regards. > Joshua B > lists at jbsolutions.com.au > www.jbsolutions.com.au > 2003-09-01 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ------------------------------ Message: 5 Date: Mon, 1 Sep 2003 21:58:55 -0400 From: "John Colby" Subject: [AccessD] Cool little app To: "VBA" , "AccessD" Message-ID: Content-Type: text/plain; charset="iso-8859-1" For anyone interested, an article I stumbled across that demonstrates using .net to lookup ip addresses. http://msdn.microsoft.com/msdnmag/issues/02/04/Virus/default.aspx I cut and pasted the two classes and built a form to use the MyWhois to lookup an ip address. For whatever reason I am only able to lookup IP addresses (passing in a True as the last value), I'll be looking at this more closely later. I'd love to get the lookup working on my web page - anyone who wants to help me in that regard give me a shout offline. With all the discussion on Security going around the group lately those interested parties might want to read this article. It discusses the IIS logs which show hack attempts. John W. Colby www.colbyconsulting.com ------------------------------ Message: 6 Date: Mon, 1 Sep 2003 22:36:09 -0400 From: "John Colby" Subject: RE: [dba-VB] [AccessD] Cool little app To: "Access Developers discussion and problem solving" , Message-ID: Content-Type: text/plain; charset="iso-8859-1" Well, I got both the Whois and the IP lookup working. Nice little tool. The article discusses turning it into a dll (for use in a web page) but apparently my vb.net compiler isn't in my path because I get a "not found" when I try to do the compile. sigh John W. Colby www.colbyconsulting.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 01, 2003 9:59 PM To: VBA; AccessD Subject: [dba-VB] [AccessD] Cool little app For anyone interested, an article I stumbled across that demonstrates using .net to lookup ip addresses. http://msdn.microsoft.com/msdnmag/issues/02/04/Virus/default.aspx I cut and pasted the two classes and built a form to use the MyWhois to lookup an ip address. For whatever reason I am only able to lookup IP addresses (passing in a True as the last value), I'll be looking at this more closely later. I'd love to get the lookup working on my web page - anyone who wants to help me in that regard give me a shout offline. With all the discussion on Security going around the group lately those interested parties might want to read this article. It discusses the IIS logs which show hack attempts. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com ------------------------------ Message: 7 Date: Mon, 01 Sep 2003 20:49:08 -0700 From: MartyConnelly Subject: Re: [AccessD] Sending emails from within ACC02 - Answer To: Access Developers discussion and problem solving Message-ID: <3F541334.6050707 at shaw.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed To get rid of the security warning message One way is to use the redemption dll http://www.dimastr.com/redemption/ David Fenton wrote: >Sorry folks, >Just found a site that answers my own question >http://www.granite.ab.ca/access/sendobject.htm >Cheers, >David >Brisbane >Australia > > >Just wondering why I would use the following code >http://p2p.wrox.com/archive/vba_access/2002-04/1.asp > >...instead of what I'm using successfully right now (in a loop) >DoCmd.SendObject acSendNoObject, "", "", strEmail, , , strSubject, strMsg, False > >Both seem to do the job, but my way is only one line of code, the other requires an entire module to be set up. > >Am I missing something? Or has Access improved to the point that the automation code shown on the above website is simple legacy now? > >However I do need a hand to switch the warning message off. The message says "A program is trying to send email on your behalf... etc etc" > >The usual DoCmd.Setwarning does not stop it from appearing > >Cheers >David ???? >Ext 0751 > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > ------------------------------ Message: 8 Date: Mon, 01 Sep 2003 22:50:33 -0700 From: "Jim Lawrence (AccessD)" Subject: [AccessD] Pictures from the last DBA conference To: Access Developers discussion and problem solving Message-ID: Content-Type: text/plain; charset=iso-8859-1 Hi All: The pictures from the last DBA conference, in Germany, have just loaded to the DBA web site (www.databaseadvisors.com) ...check it out...it can be accessed through the main page. Jim ------------------------------ Message: 9 Date: Tue, 2 Sep 2003 08:31:41 -0700 From: "Arthur Fuller" Subject: RE: [AccessD] PDF through code - Follow up to Arthur's and Charlotte's pastpostings To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="windows-1252" MessageI can't quite remember, but I think the standard version was about $75 and the Pro version upgrade an additional hundred. I haven't regretted one penny of it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Thursday, August 28, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] PDF through code - Follow up to Arthur's and Charlotte's pastpostings Hey Arthur and Charlotte: Regarding the below postings. What did you pay for you PDF converter? Was it a plug-in or some API calls? Did you buy the developer's kit, and finally how did you handle licensing costs? Thanks John Skolits --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://databaseadvisors.com/pipermail/accessd/attachments/20030902/4ca7482c/ attachment-0001.html ------------------------------ Message: 10 Date: Tue, 2 Sep 2003 08:31:46 -0700 From: "Arthur Fuller" Subject: RE: [AccessD] OT: DUAL BOOT XP PRO AND WIN2K SERVER To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="Windows-1252" You should probably install SQL Server Developer on the XP Pro boot and SQL Enterprise on the 2K Server boot. Get the best of both worlds. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Sunday, August 31, 2003 12:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: DUAL BOOT XP PRO AND WIN2K SERVER On 30 Aug 2003 at 23:22, Joe Hecht wrote: > Microsoft tool says my system can do it. > > Can any one tell me how? > > Running XPPro but want to add sql server. > > I have the action pack and therefore have my choice of sql. I think I want > to run sql developer. Right? > Windows XP is an operating system SQL Server 2000 is an application. You don't boot an application , only an OS. Just install SQL Server 2000 on your XP machine. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 ------------------------------ Message: 11 Date: Tue, 2 Sep 2003 09:26:15 -0400 From: "John Colby" Subject: RE: [AccessD] Pictures from the last DBA conference To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" It looks like a very good time was had by all - judging by the "final toast" pictures. ;-) Good job to Lembit in hosting the conference. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Tuesday, September 02, 2003 1:51 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pictures from the last DBA conference Hi All: The pictures from the last DBA conference, in Germany, have just loaded to the DBA web site (www.databaseadvisors.com) ...check it out...it can be accessed through the main page. Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------ Message: 12 Date: Tue, 2 Sep 2003 15:57:40 +0200 From: Lembit.Soobik at t-online.de (Lembit Soobik) Subject: Re: [AccessD] Pictures from the last DBA conference To: "Access Developers discussion and problem solving" Message-ID: <01e001c3715b$a57114c0$0200a8c0 at S856> Content-Type: text/plain; charset="iso-8859-1" thank you, John :) Lembit Soobik ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 02, 2003 3:26 PM Subject: RE: [AccessD] Pictures from the last DBA conference > It looks like a very good time was had by all - judging by the "final toast" > pictures. ;-) > > Good job to Lembit in hosting the conference. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Tuesday, September 02, 2003 1:51 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Pictures from the last DBA conference > > > Hi All: > > The pictures from the last DBA conference, in Germany, have just loaded to > the DBA web site (www.databaseadvisors.com) ...check it out...it can be > accessed through the main page. > > Jim > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ------------------------------ Message: 13 Date: Tue, 2 Sep 2003 10:39:05 -0400 From: "Paula Wright" Subject: [AccessD] Crystal Reports Password To: Message-ID: Content-Type: text/plain; charset="us-ascii" Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif Url : http://databaseadvisors.com/pipermail/accessd/attachments/20030902/8306af56/ attachment-0001.gif ------------------------------ Message: 14 Date: Tue, 2 Sep 2003 09:19:17 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] Creating PDFs To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" We pass the desired filename in the OpenArgs of Access 2002 reports. Then we use that filename when we output to PDF format. Charlotte Foust -----Original Message----- From: Selina Iddon [mailto:selina at easydatabases.com.au] Sent: Sunday, August 31, 2003 6:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Creating PDFs Hi Everyone Has anyone had success with printing to a PDF, assigning it the desired file name? My client is using Adobe, but will change if required. TIA Selina _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------ Message: 15 Date: Tue, 2 Sep 2003 09:21:15 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] SHIFT + F9 To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" The problem with using the DoMenuItem syntax is that it is difficult, if not impossible, to remember later what exactly it is doing! The RunCommand syntax is at least self-documenting to an extent. Charlotte Foust -----Original Message----- From: Kostas Konstantinidis [mailto:kost36 at otenet.gr] Sent: Saturday, August 30, 2003 4:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SHIFT + F9 Hi Gustav, what I want is to refresh an ole object into a form. I tried all the methods I know but none of them seems to be able to update the object. So I put the DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70 I don;t know if that is the right method but... it works perfect Thank's for your responce Kostas ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 30, 2003 3:30 PM Subject: Re: [AccessD] SHIFT + F9 > Hi Kostas > > How about: > > Me.Requery > > /gustav > > > Could anybody help me in how to set the SHIFT + F9 in code > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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: 16 Date: Tue, 2 Sep 2003 18:39:38 +0200 From: "Garraway, Alun" Subject: AW: [AccessD] Sidebar navigation To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="iso-8859-1" hi Joshua, you could try using the following DoCmd.SelectObject acForm, "YOUR_FORM", False DoCmd.MoveSize 0, 0, 11907, 1531 I use this in a couple of apps where I have a "selection" form and all other forms are displayed below this one. the form above is in the top left, 11907 twips wide and 1531 high. I place all the other forms with DoCmd.MoveSize 0, 1531, 11907, 6237 as you can see all other forms start at the top where the "selection" form stops. (1531 twips) HTH alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Joshua B Gesendet: Montag, 1. September 2003 04:53 An: Access Developers discussion and problem solving Betreff: [AccessD] Sidebar navigation Hi Group, A client of mine has requested that instead of having a "switchboard/main menu" type setup for navigation within their app, they would prefer to have a sidebar menu ala Access & Outlook. Has anyone had any luck designing this sort of interface within Access? My initial thoughts are to have a popup form and control it's size to take up a portion of the left hand side of the screen, however this means I would no longer be able to maximise other forms. Any ideas would be greatly appreciated. Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-01 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------ Message: 17 Date: Tue, 2 Sep 2003 12:46:38 -0400 From: "John Colby" Subject: [AccessD] relationship documenter To: "AccessD" Message-ID: Content-Type: text/plain; charset="iso-8859-1" Has anyone ever seen / designed a documenter for relationships where the relationships are NOT specified in the database window? I am going through a fairly complex "relational" database where there were no relationships established, defining the relationships. In order to do that I am looking at all form's combos to determine the column(0) field and the field in the forms query that it is bound to. I also examine the link child / master properties of all subforms on all forms. Using this strategy I determine the fields in all tables that have manual data input methods. As I discover each "relationship" I create a relationship in the relationship window of the FE. This allows me to at least see the structure of the database as envisioned by the original designer. It seems like a process that could be automated but I have never done so. Has anyone else ever seen a tool that does this? John W. Colby www.colbyconsulting.com ------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd End of AccessD Digest, Vol 7, Issue 2 ************************************* From bchacc at san.rr.com Tue Sep 2 17:05:52 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 2 Sep 2003 15:05:52 -0700 Subject: [AccessD] Calendar Control References: <001d01c37199$c4525190$de1811d8@DanWaters> Message-ID: <01dc01c3719e$5fe65d50$6801a8c0@HAL9002> I got mine from the Access Developer's Handbook - simple and effective. Rocky ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 02, 2003 2:32 PM Subject: RE: [AccessD] Calendar Control > Anna, > > I just finished simplifying a calendar control I got from somewhere quite a > while back. It is simpler than the one at Datasphere. I can send you a > copy if you like. It's all native Access (in XP). It should probably down > save to A97. > > Dan Waters > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Anna Hopkins > Sent: Tuesday, September 02, 2003 3:09 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Calendar Control > > > I know this subject has been discussed before so I checked the archives > first but am still not sure what the solution to my current need is ... > > I'd like a simple, small calendar control to put on a form so a user can > simply choose a date by clicking from the calendar and the date gets > transferred to the selected text box/ field. I used the one that comes with > Access several years ago and had problems with it. Sometimes it worked > exactly like I wanted and sometimes it would break!!???!! > > In the archives I read about the calendar from http://dataspherellc.com/. Is > this overkill for what I need or will it work for what I am trying to do? > > I also read about Drew's MiniCalendar but have not been able to locate that > one to check it out. > > I would appreciate any suggestions, advice. And sorry for the subject > repeat. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 2 17:07:54 2003 From: john at winhaven.net (John Bartow) Date: Tue, 2 Sep 2003 17:07:54 -0500 Subject: [AccessD] Speed enhancement In-Reply-To: Message-ID: Thanks Stuart, Jim, Bob, etal: The solution I used was Stuart's SQL suggestion. It ran 10,000 times faster, well quite a bit faster anyway :o) strSQL = "UPDATE MailList " _ & "INNER JOIN TempMailList " _ & "ON MailList.MailListID = TempMailList.MailListID " _ & "SET MailList.StaffID = " & lngNewStaff & ", " _ & "MailList.DeptTypeID = " & lngNewDept & ";" Docmd.RunSQL StrSQL John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Friday, August 29, 2003 5:41 PM > To: AccessD > Subject: [AccessD] Speed enhancement > > > An easy question for you speed optimizing gurus out there: > What should I replace this code (which was meant for a few record updates) > with to make it run faster (it now needs to be used for 500+ > records). Watch > for line wrap. > > Set rstTemp = db.OpenRecordset("TempMailList") > Do Until rstTemp.EOF > lngRecordID = rstTemp!MailListID > DoCmd.RunSQL "UPDATE MailList SET MailList.StaffID = " & lngNewStaff & ", > MailList.DeptTypeID = " & lngNewDept & " WHERE (((MailList.MailListID)=" & > lngRecordID & "));" > lngCount = lngCount + 1 > rstTemp.MoveNext > Loop > > > TIA > John B. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From paulawright at boddienoell.com Tue Sep 2 17:08:20 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Tue, 2 Sep 2003 18:08:20 -0400 Subject: [AccessD] Crystal Reports - 2 Message-ID: Please forgive me if you're seeing this more than once, but the post that I saw was blank. I have changed my settings to be sure that I get a copy of this. I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I may have gone about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access when using the Wizard. If so then hopefully this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have a password. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Or better yet, what I really need to do is view the reports from within Access using the Crystal Active-X. I've been over the Accocx97.mdb example on how to set up a CR in Access, however in XP I don't see a place to put the file name of the report. I'm hoping someone can help me real quick as I've already wasted too much time re-doing these reports in Crystal after having found out that Access won't handle them. THANK YOU Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif URL: From bchacc at san.rr.com Tue Sep 2 17:15:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 2 Sep 2003 15:15:26 -0700 Subject: [AccessD] Check Box Problem Message-ID: <01e901c3719f$b6116d40$6801a8c0@HAL9002> Dear List: I have an app that is basically a questionnaire. Most questions display an option frame with check boxes labeled Yes and No. After making a selection the focus moves to the 'Next Screen' command button. Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay. Private Sub fraYesNo_AfterUpdate() If fraAutoAdvance = 1 Then Call Delay Call cmdNextQuestion_Click End If End Sub where delay is: Public Sub Delay() Dim varstop As Variant varstop = Timer + gdblDelay Do Until Timer > varstop Loop End Sub When the question is first displayed, both the Yes and the No check boxes have a gray background. Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box. The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye. I cannot figure out a way to make the check mark appear in the box. Anyone see what' I'm doing wrong? MTIA and regards, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Sep 2 17:22:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 2 Sep 2003 17:22:31 -0500 Subject: [AccessD] Calendar Control Message-ID: <2F8793082E00D4119A1700B0D0216BF80222714D@main2.marlow.com> Sorry spent my 4 day weekend working on a personal project instead of working on my website! It's in the Microsoft Access section of my site (wolfwares.com), though what is there is Version 3, the latest 'complete' version. It's designed for A97. I am currently working on a new and much improved version 4, which is only going to work in A2k and up. Drew -----Original Message----- From: Anna Hopkins [mailto:anna at apespools.com] Sent: Tuesday, September 02, 2003 4:09 PM To: accessd at databaseadvisors.com Subject: [AccessD] Calendar Control I know this subject has been discussed before so I checked the archives first but am still not sure what the solution to my current need is ... I'd like a simple, small calendar control to put on a form so a user can simply choose a date by clicking from the calendar and the date gets transferred to the selected text box/ field. I used the one that comes with Access several years ago and had problems with it. Sometimes it worked exactly like I wanted and sometimes it would break!!???!! In the archives I read about the calendar from http://dataspherellc.com/. Is this overkill for what I need or will it work for what I am trying to do? I also read about Drew's MiniCalendar but have not been able to locate that one to check it out. I would appreciate any suggestions, advice. And sorry for the subject repeat. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 2 17:28:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 2 Sep 2003 17:28:26 -0500 Subject: [AccessD] Check Box Problem Message-ID: <2F8793082E00D4119A1700B0D0216BF80222714E@main2.marlow.com> Try a DoEvents statement, so that it allows the screen to refresh before it moves. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, September 02, 2003 5:15 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Check Box Problem Dear List: I have an app that is basically a questionnaire. Most questions display an option frame with check boxes labeled Yes and No. After making a selection the focus moves to the 'Next Screen' command button. Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay. Private Sub fraYesNo_AfterUpdate() If fraAutoAdvance = 1 Then Call Delay Call cmdNextQuestion_Click End If End Sub where delay is: Public Sub Delay() Dim varstop As Variant varstop = Timer + gdblDelay Do Until Timer > varstop Loop End Sub When the question is first displayed, both the Yes and the No check boxes have a gray background. Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box. The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye. I cannot figure out a way to make the check mark appear in the box. Anyone see what' I'm doing wrong? MTIA and regards, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Sep 2 17:49:37 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 2 Sep 2003 15:49:37 -0700 Subject: [AccessD] Check Box Problem References: <2F8793082E00D4119A1700B0D0216BF80222714E@main2.marlow.com> Message-ID: <024501c371a4$7cc3ae40$6801a8c0@HAL9002> Rats. No soap. Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub. But no check mark. Any other thoughts? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Tuesday, September 02, 2003 3:28 PM Subject: RE: [AccessD] Check Box Problem Try a DoEvents statement, so that it allows the screen to refresh before it moves. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, September 02, 2003 5:15 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Check Box Problem Dear List: I have an app that is basically a questionnaire. Most questions display an option frame with check boxes labeled Yes and No. After making a selection the focus moves to the 'Next Screen' command button. Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay. Private Sub fraYesNo_AfterUpdate() If fraAutoAdvance = 1 Then Call Delay Call cmdNextQuestion_Click End If End Sub where delay is: Public Sub Delay() Dim varstop As Variant varstop = Timer + gdblDelay Do Until Timer > varstop Loop End Sub When the question is first displayed, both the Yes and the No check boxes have a gray background. Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box. The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye. I cannot figure out a way to make the check mark appear in the box. Anyone see what' I'm doing wrong? MTIA and regards, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From KSEABOLT at parkcenter.org Tue Sep 2 18:07:48 2003 From: KSEABOLT at parkcenter.org (KSEABOLT at parkcenter.org) Date: Tue, 2 Sep 2003 18:07:48 -0500 Subject: [AccessD] Check Box Problem Message-ID: How about a repaint before the DoEvents? "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 09/02/2003 05:49 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: Re: [AccessD] Check Box Problem Rats. No soap. Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub. But no check mark. Any other thoughts? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Tuesday, September 02, 2003 3:28 PM Subject: RE: [AccessD] Check Box Problem Try a DoEvents statement, so that it allows the screen to refresh before it moves. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, September 02, 2003 5:15 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Check Box Problem Dear List: I have an app that is basically a questionnaire. Most questions display an option frame with check boxes labeled Yes and No. After making a selection the focus moves to the 'Next Screen' command button. Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay. Private Sub fraYesNo_AfterUpdate() If fraAutoAdvance = 1 Then Call Delay Call cmdNextQuestion_Click End If End Sub where delay is: Public Sub Delay() Dim varstop As Variant varstop = Timer + gdblDelay Do Until Timer > varstop Loop End Sub When the question is first displayed, both the Yes and the No check boxes have a gray background. Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box. The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye. I cannot figure out a way to make the check mark appear in the box. Anyone see what' I'm doing wrong? MTIA and regards, Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at jbsolutions.com.au Tue Sep 2 18:11:52 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Wed, 3 Sep 2003 9:11:52 +1000 Subject: [AccessD] Check Box Problem Message-ID: <200309022311.h82NBkp04286@databaseadvisors.com> Me.Refresh? ======== At 2003-09-02, 15:49:00 you wrote: ======== Rats. No soap. Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub. But no check mark. Any other thoughts? Rocky = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-03 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Sep 2 18:38:03 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 2 Sep 2003 16:38:03 -0700 Subject: [AccessD] Check Box Problem References: Message-ID: <026701c371ab$40e4d230$6801a8c0@HAL9002> Thanks but repaint didn't seem to do anything. No check mark. Rocky ----- Original Message ----- From: KSEABOLT at parkcenter.org To: Access Developers discussion and problem solving Sent: Tuesday, September 02, 2003 4:07 PM Subject: Re: [AccessD] Check Box Problem How about a repaint before the DoEvents? "Rocky Smolin - Beach Access Software" Sent by: accessd-bounces at databaseadvisors.com 09/02/2003 05:49 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: Re: [AccessD] Check Box Problem Rats. No soap. Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub. But no check mark. Any other thoughts? Rocky ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Tuesday, September 02, 2003 3:28 PM Subject: RE: [AccessD] Check Box Problem Try a DoEvents statement, so that it allows the screen to refresh before it moves. Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Tuesday, September 02, 2003 5:15 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Check Box Problem Dear List: I have an app that is basically a questionnaire. Most questions display an option frame with check boxes labeled Yes and No. After making a selection the focus moves to the 'Next Screen' command button. Then I added an 'Auto Advance' feature where the program automatically advances to the next question after a 1/2 second delay. Private Sub fraYesNo_AfterUpdate() If fraAutoAdvance = 1 Then Call Delay Call cmdNextQuestion_Click End If End Sub where delay is: Public Sub Delay() Dim varstop As Variant varstop = Timer + gdblDelay Do Until Timer > varstop Loop End Sub When the question is first displayed, both the Yes and the No check boxes have a gray background. Without the auto advance, the focus moves to the Next Screen button and the check mark dutifully appears in the proper box. The problem is that when the user is using the Auto-Advance feature the clicked check box remains gray, the unclicked check box turns white, and after 1/2 second the next screen appears. So it's a bit confusing to the eye. I cannot figure out a way to make the check mark appear in the box. Anyone see what' I'm doing wrong? MTIA and regards, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Tue Sep 2 18:39:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 2 Sep 2003 16:39:29 -0700 Subject: [AccessD] Check Box Problem References: <200309022311.h82NBkp04286@databaseadvisors.com> Message-ID: <027a01c371ab$74334810$6801a8c0@HAL9002> Hey! That worked! I thought Refresh was only for bound forms. But it does exactly what's needed. Thank you. Regards, Rocky ----- Original Message ----- From: Joshua B To: Access Developers discussion and problem solving Sent: Tuesday, September 02, 2003 4:11 PM Subject: Re: [AccessD] Check Box Problem Me.Refresh? ======== At 2003-09-02, 15:49:00 you wrote: ======== Rats. No soap. Tried it both before and after the call to the delay function, and also as the first statement in the fraYesNo_AfterUpdate() sub. But no check mark. Any other thoughts? Rocky = = = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-03 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjhjr at cox.net Tue Sep 2 22:46:16 2003 From: rjhjr at cox.net (Bob Hall) Date: Tue, 2 Sep 2003 23:46:16 -0400 Subject: [AccessD] relationship documenter In-Reply-To: References: <20030902182003.GA12300@kongemord.krig.net> Message-ID: <20030903034615.GA4959@kongemord.krig.net> On Tue, Sep 02, 2003 at 02:26:33PM -0400, John Colby wrote: > This does indeed sound like what I am looking for. I forgot to ask, which version of Access are you using? Bob Hall From Tim.Pain at sc.akzonobel.com Wed Sep 3 04:02:56 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Wed, 3 Sep 2003 10:02:56 +0100 Subject: [AccessD] Calendar Control Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6AAD14A@lbrn12.d20.intra> I have had great success with Stephen Lebans Month Calendar from http://www.lebans.com/monthcalendar.htm Tim -----Original Message----- From: Anna Hopkins [mailto:anna at apespools.com] Sent: 02 September 2003 22:09 To: accessd at databaseadvisors.com Subject: [AccessD] Calendar Control I know this subject has been discussed before so I checked the archives first but am still not sure what the solution to my current need is ... I'd like a simple, small calendar control to put on a form so a user can simply choose a date by clicking from the calendar and the date gets transferred to the selected text box/ field. I used the one that comes with Access several years ago and had problems with it. Sometimes it worked exactly like I wanted and sometimes it would break!!???!! In the archives I read about the calendar from http://dataspherellc.com/. Is this overkill for what I need or will it work for what I am trying to do? I also read about Drew's MiniCalendar but have not been able to locate that one to check it out. I would appreciate any suggestions, advice. And sorry for the subject repeat. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at eunet.yu Wed Sep 3 06:25:37 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 3 Sep 2003 13:25:37 +0200 Subject: [AccessD] Sort order in report Message-ID: <003a01c3720e$82656ea0$0100a8c0@razvoj> Hi, I need a little push to finish my report. I have 3 tables: Customer(Id, Name), Order(Id - the customer's Id, KeyFld - AutoNumber field, linked to the table OrderDet), OrderDet(KeyFld, Id - ordered item's Id, ItemName, Amount) The record source of the report is: SELECT CUSTOMER.Id, CUSTOMER.Name, ORDERDET.ItemName, ORDERDET.Id, Sum(ORDERDET.Amount) AS SumOfAmount FROM CUSTOMER INNER JOIN (ORDER INNER JOIN ORDERDET ON ORDER. KeyFld = ORDERDET.KeyFld) ON CUSTOMER.Id = ORDER.Id GROUP BY CUSTOMER.Id, CUSTOMER. CustName, ORDERDET.ItemName, ORDERDET.Id; And I want to list the customers along with their ordered items, but in descending order on the sum of amount they ordered(the ordered items are listed desc and that is ok). In the report's View/Sorting and grouping I put CUSTOMER.Name and SumOfAmount desc and I get customers listed by their name :( So, my report looks like: 1. Ervin Brindza 1. orange 100 2. apple 80 2. Mike Thompson 1. plum 155 1. orange 40 but I want Mike Thompson to be listed first(he ordered 195) and after came Ervin Brindza(who ordered 180) Hope I was clear enough. Can anyone shed any light please? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Sep 3 06:28:17 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 3 Sep 2003 07:28:17 -0400 Subject: [AccessD] Creating PDFs In-Reply-To: <869379ABF177D4118D3100508B5EF873063950DC@corp-es00> Message-ID: <000001c3720e$7c7e5ab0$16310cd8@hargrove.internal> Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, September 02, 2003 4:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating PDFs Power PDF www.ptgsoftware.com has worked well except I have been unable to get it to print mixed landscape and portrait documents. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, September 01, 2003 3:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating PDFs Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mikedorism at ntelos.net Wed Sep 3 06:32:16 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 3 Sep 2003 07:32:16 -0400 Subject: [AccessD] Sort order in report In-Reply-To: <003a01c3720e$82656ea0$0100a8c0@razvoj> Message-ID: <001601c3720f$0abc62e0$16310cd8@hargrove.internal> Change your sort order in the report to SumOfAmount desc, Customer.Name to get the result you desire. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, September 03, 2003 7:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sort order in report Hi, I need a little push to finish my report. I have 3 tables: Customer(Id, Name), Order(Id - the customer's Id, KeyFld - AutoNumber field, linked to the table OrderDet), OrderDet(KeyFld, Id - ordered item's Id, ItemName, Amount) The record source of the report is: SELECT CUSTOMER.Id, CUSTOMER.Name, ORDERDET.ItemName, ORDERDET.Id, Sum(ORDERDET.Amount) AS SumOfAmount FROM CUSTOMER INNER JOIN (ORDER INNER JOIN ORDERDET ON ORDER. KeyFld = ORDERDET.KeyFld) ON CUSTOMER.Id = ORDER.Id GROUP BY CUSTOMER.Id, CUSTOMER. CustName, ORDERDET.ItemName, ORDERDET.Id; And I want to list the customers along with their ordered items, but in descending order on the sum of amount they ordered(the ordered items are listed desc and that is ok). In the report's View/Sorting and grouping I put CUSTOMER.Name and SumOfAmount desc and I get customers listed by their name :( So, my report looks like: 1. Ervin Brindza 1. orange 100 2. apple 80 2. Mike Thompson 1. plum 155 1. orange 40 but I want Mike Thompson to be listed first(he ordered 195) and after came Ervin Brindza(who ordered 180) Hope I was clear enough. Can anyone shed any light please? TIA, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Wed Sep 3 06:57:00 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 03 Sep 2003 21:57:00 +1000 Subject: [AccessD] Creating PDFs In-Reply-To: <000001c3720e$7c7e5ab0$16310cd8@hargrove.internal> References: <869379ABF177D4118D3100508B5EF873063950DC@corp-es00> Message-ID: <3F5663AC.9165.CDEE1B@localhost> On 3 Sep 2003 at 7:28, Mike and Doris Manning wrote: > Has anyone worked with one that does a good job on linked or embedded > images? We've been using PDF995 but the images always come out as > black&white instead of color. > Try my MakePDF(plus Ghostscript)with a suitable colour printer driver. I recommend setting it up with the HP Paintjet XL postscript driver for colour. It works fine. If you have any problems with it, contact me off-list -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Bryan_Carbonnell at cbc.ca Wed Sep 3 07:07:33 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 03 Sep 2003 08:07:33 -0400 Subject: [AccessD] Creating PDFs Message-ID: PDF995 should create colour PDFs. If you open the Printer Properties for the PDF995 printer, select the General Tab, Click the Printing Preferences button (which opens another dialog box), then Switch to the Paper/Quality tab of this new dialog, there is an option there to print in colour or B&W. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 7:28:17 AM >>> Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com From viner at eunet.yu Wed Sep 3 07:17:20 2003 From: viner at eunet.yu (Ervin Brindza) Date: Wed, 3 Sep 2003 14:17:20 +0200 Subject: [AccessD] Sort order in report References: <001601c3720f$0abc62e0$16310cd8@hargrove.internal> Message-ID: <002d01c37215$719e8640$0100a8c0@razvoj> MessageDoris, sorry but no success :( My report looks like: 1. Mike Thompson 1. plum 155 2. Ervin Brindza 1. orange 100 3. Ervin Brindza 1. apple 80 4. Mike Thompson 1. orange 40 even I put the Customer name in the SumOfAmount's header or in Customer.Name's header the result is the same :( Thanks for your input Ervin ----- Original Message ----- From: Mike and Doris Manning To: 'Access Developers discussion and problem solving' Sent: 03 September, 2003 1:32 PM Subject: RE: [AccessD] Sort order in report Change your sort order in the report to SumOfAmount desc, Customer.Name to get the result you desire. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, September 03, 2003 7:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sort order in report Hi, I need a little push to finish my report. I have 3 tables: Customer(Id, Name), Order(Id - the customer's Id, KeyFld - AutoNumber field, linked to the table OrderDet), OrderDet(KeyFld, Id - ordered item's Id, ItemName, Amount) The record source of the report is: SELECT CUSTOMER.Id, CUSTOMER.Name, ORDERDET.ItemName, ORDERDET.Id, Sum(ORDERDET.Amount) AS SumOfAmount FROM CUSTOMER INNER JOIN (ORDER INNER JOIN ORDERDET ON ORDER. KeyFld = ORDERDET.KeyFld) ON CUSTOMER.Id = ORDER.Id GROUP BY CUSTOMER.Id, CUSTOMER. CustName, ORDERDET.ItemName, ORDERDET.Id; And I want to list the customers along with their ordered items, but in descending order on the sum of amount they ordered(the ordered items are listed desc and that is ok). In the report's View/Sorting and grouping I put CUSTOMER.Name and SumOfAmount desc and I get customers listed by their name :( So, my report looks like: 1. Ervin Brindza 1. orange 100 2. apple 80 2. Mike Thompson 1. plum 155 1. orange 40 but I want Mike Thompson to be listed first(he ordered 195) and after came Ervin Brindza(who ordered 180) Hope I was clear enough. Can anyone shed any light please? TIA, Ervin ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Wed Sep 3 07:33:56 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 3 Sep 2003 08:33:56 -0400 Subject: [AccessD] relationship documenter In-Reply-To: <20030903034615.GA4959@kongemord.krig.net> Message-ID: Access 2K John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Hall Sent: Tuesday, September 02, 2003 11:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] relationship documenter On Tue, Sep 02, 2003 at 02:26:33PM -0400, John Colby wrote: > This does indeed sound like what I am looking for. I forgot to ask, which version of Access are you using? Bob Hall _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Sep 3 07:48:24 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 3 Sep 2003 08:48:24 -0400 Subject: [AccessD] Creating PDFs In-Reply-To: Message-ID: <001601c37219$adc16f30$16310cd8@hargrove.internal> Excellent! Thanks... You have pointed me down the right trail. Now all I have to figure out how to tell Access to print in color via code when it sends a report to the PDF995 printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, September 03, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Creating PDFs PDF995 should create colour PDFs. If you open the Printer Properties for the PDF995 printer, select the General Tab, Click the Printing Preferences button (which opens another dialog box), then Switch to the Paper/Quality tab of this new dialog, there is an option there to print in colour or B&W. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 7:28:17 AM >>> Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Wed Sep 3 07:54:00 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 03 Sep 2003 08:54:00 -0400 Subject: [AccessD] Creating PDFs Message-ID: Well, if you set the default for PDF995 to print in colour, then you don't have to figure out how to tell Access to do it :-) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 8:48:24 AM >>> Excellent! Thanks... You have pointed me down the right trail. Now all I have to figure out how to tell Access to print in color via code when it sends a report to the PDF995 printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, September 03, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Creating PDFs PDF995 should create colour PDFs. If you open the Printer Properties for the PDF995 printer, select the General Tab, Click the Printing Preferences button (which opens another dialog box), then Switch to the Paper/Quality tab of this new dialog, there is an option there to print in colour or B&W. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 7:28:17 AM >>> Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Sep 3 08:04:24 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 3 Sep 2003 09:04:24 -0400 Subject: [AccessD] Creating PDFs In-Reply-To: Message-ID: <001a01c3721b$e9726e60$16310cd8@hargrove.internal> Actually, I've discovered you do have to tell Access how to do it because whenever I print a report containing linked images I get a black/white result instead of a color one. I had a snapshot with color that I tried to print to PDF995 (with the color setup in place on the printer) and had to manually set the "color" setting before I printed so I'm guessing I need to do the same thing via code somewhere in my PDF creation process. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, September 03, 2003 8:54 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Creating PDFs Well, if you set the default for PDF995 to print in colour, then you don't have to figure out how to tell Access to do it :-) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 8:48:24 AM >>> Excellent! Thanks... You have pointed me down the right trail. Now all I have to figure out how to tell Access to print in color via code when it sends a report to the PDF995 printer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, September 03, 2003 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Creating PDFs PDF995 should create colour PDFs. If you open the Printer Properties for the PDF995 printer, select the General Tab, Click the Printing Preferences button (which opens another dialog box), then Switch to the Paper/Quality tab of this new dialog, there is an option there to print in colour or B&W. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> mikedorism at ntelos.net 03-Sep-03 7:28:17 AM >>> Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Wed Sep 3 08:10:35 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Wed, 3 Sep 2003 09:10:35 -0400 Subject: [AccessD] Sort order in report In-Reply-To: <002d01c37215$719e8640$0100a8c0@razvoj> Message-ID: <001e01c3721c$c77bdca0$16310cd8@hargrove.internal> Sorry...missed the fact that the sum you were using wasn't the total amount of items they had ordered. The only way to do what you want is to create a main report that handles the "Customer/Total Amount" sorting and then add a subreport to list the detail records for that Customer. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, September 03, 2003 8:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sort order in report Doris, sorry but no success :( My report looks like: 1. Mike Thompson 1. plum 155 2. Ervin Brindza 1. orange 100 3. Ervin Brindza 1. apple 80 4. Mike Thompson 1. orange 40 even I put the Customer name in the SumOfAmount's header or in Customer.Name's header the result is the same :( Thanks for your input Ervin ----- Original Message ----- From: Mike and Doris Manning To: 'Access Developers discussion and problem solving' Sent: 03 September, 2003 1:32 PM Subject: RE: [AccessD] Sort order in report Change your sort order in the report to SumOfAmount desc, Customer.Name to get the result you desire. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, September 03, 2003 7:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Sort order in report Hi, I need a little push to finish my report. I have 3 tables: Customer(Id, Name), Order(Id - the customer's Id, KeyFld - AutoNumber field, linked to the table OrderDet), OrderDet(KeyFld, Id - ordered item's Id, ItemName, Amount) The record source of the report is: SELECT CUSTOMER.Id, CUSTOMER.Name, ORDERDET.ItemName, ORDERDET.Id, Sum(ORDERDET.Amount) AS SumOfAmount FROM CUSTOMER INNER JOIN (ORDER INNER JOIN ORDERDET ON ORDER. KeyFld = ORDERDET.KeyFld) ON CUSTOMER.Id = ORDER.Id GROUP BY CUSTOMER.Id, CUSTOMER. CustName, ORDERDET.ItemName, ORDERDET.Id; And I want to list the customers along with their ordered items, but in descending order on the sum of amount they ordered(the ordered items are listed desc and that is ok). In the report's View/Sorting and grouping I put CUSTOMER.Name and SumOfAmount desc and I get customers listed by their name :( So, my report looks like: 1. Ervin Brindza 1. orange 100 2. apple 80 2. Mike Thompson 1. plum 155 1. orange 40 but I want Mike Thompson to be listed first(he ordered 195) and after came Ervin Brindza(who ordered 180) Hope I was clear enough. Can anyone shed any light please? TIA, Ervin _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Sep 3 08:34:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 3 Sep 2003 15:34:06 +0200 Subject: [AccessD] Sort order in report In-Reply-To: <001e01c3721c$c77bdca0$16310cd8@hargrove.internal> References: <001e01c3721c$c77bdca0$16310cd8@hargrove.internal> Message-ID: <12125338835.20030903153406@cactus.dk> Hi Doris and Ervin The only way? I guess you also could create a query grouping on customer and summing on ordersize (TotalOrdersize). Then join this with the old query and use it for the source of the report where you adjust sorting/grouping accordingly: TotalOrdersize DESC Customer ASC /gustav > Sorry...missed the fact that the sum you were using wasn't the total amount > of items they had ordered. > The only way to do what you want is to create a main report that handles the > "Customer/Total Amount" sorting and then add a subreport to list the detail > records for that Customer. > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza > Sent: Wednesday, September 03, 2003 8:17 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Sort order in report > Doris, > sorry but no success :( > My report looks like: > 1. Mike Thompson > 1. plum 155 > 2. Ervin Brindza > 1. orange 100 > 3. Ervin Brindza > 1. apple 80 > 4. Mike Thompson > 1. orange 40 > even I put the Customer name in the SumOfAmount's header or in > Customer.Name's header the result is the same :( From ebeaudet at mssi.ca Wed Sep 3 08:48:50 2003 From: ebeaudet at mssi.ca (Emmanuel Beaudet) Date: Wed, 3 Sep 2003 09:48:50 -0400 Subject: [AccessD] error when opening application in access Message-ID: <4D967C529621BE4F8A9E361159964BC6A24B@ms-smtp.mss.int> Hi, I have a application that I run on Citrix (terminal server) the front end is on the server and the back end on another server. Sometime when someone try to open the application he has this message. The database has been placed in a state by user 'Admin' on machine 'CITRIX2' that prevents it from being opened or locked. Any idea ? Les Stations de la Vall?e Emmanuel Beaudet Programmeur analyste / programmer analyst Tel : 450.227.4671 ext. 5 3313 Fax : 450.227.2067 Email : ebeaudet at mssi.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From roz.clarke at donnslaw.co.uk Wed Sep 3 09:02:32 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 3 Sep 2003 15:02:32 +0100 Subject: [AccessD] error when opening application in access Message-ID: <61F915314798D311A2F800A0C9C83188047C62FC@dibble.observatory.donnslaw.co.uk> Hi Emmanuel What version of Access are you using? We also use Citrix, and have experienced this problem since moving from A97 to AXP. Occasionally something happens which puts the database into 'open exclusive' mode for a user who is alredy logged in - even though they cannot do the obvious things such as put a form or report into design view. The only solution we have found is to have all the users log out of the application and that clears the problem and they can then all go back in and work. Hardly ideal - if you find a better answer I would love to know Roz -----Original Message----- From: Emmanuel Beaudet [mailto:ebeaudet at mssi.ca] Sent: 03 September 2003 14:49 To: Databaseadvisors. Com (E-mail) Subject: [AccessD] error when opening application in access Hi, I have a application that I run on Citrix (terminal server) the front end is on the server and the back end on another server. Sometime when someone try to open the application he has this message. The database has been placed in a state by user 'Admin' on machine 'CITRIX2' that prevents it from being opened or locked. Any idea ? Les Stations de la Vall?e Emmanuel Beaudet Programmeur analyste / programmer analyst Tel : 450.227.4671 ext. 5 3313 Fax : 450.227.2067 Email : ebeaudet at mssi.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From ranthony at wrsystems.com Wed Sep 3 09:29:54 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Wed, 3 Sep 2003 10:29:54 -0400 Subject: [AccessD] Alter Table Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641287AC@mail2.wrsystems.com> Before I begin to go through and try out y'alls solutions, I must apologize as our email server has been down since COB yesterday. I've about 100 emails to sort through first. Thanks!! -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Tuesday, September 02, 2003 4:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Alter Table Hi Anthony, I usually use DAO for this: Usage: Call CreatePKAutoIncr(CurrentDB, "Table","Field",True) Private Function CreatePKAutoIncr(objDB As DAO.Database, _ tdfName As String, fldName As String, PK As Boolean) Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim idx As DAO.Index objDB.TableDefs.Refresh Set tdf = objDB.TableDefs(tdfName) Set fld = tdf.CreateField(fldName, dbLong) With fld .OrdinalPosition = 0 .Attributes = dbAutoIncrField End With tdf.Fields.Append fld If PK = True Then Set idx = tdf.CreateIndex("PrimaryKey") With idx .Primary = True .Required = True .Unique = True End With Set fld = idx.CreateField(fldName) idx.Fields.Append fld tdf.Indexes.Append idx End If RefreshDatabaseWindow Exit_CreatePKAutoIncr: On Error Resume Next Set idx = Nothing Set fld = Nothing Set tdf = Nothing Exit Function Err_CreatePKAutoIncr: MsgBox Err.Description, , "Error in Function mTbl.CreatePKAutoIncr" Resume Exit_CreatePKAutoIncr End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Randall Anthony" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 02, 2003 4:18 PM Subject: RE: [AccessD] Alter Table > Thanks for that Susan, but I should have been more specific. I've got a > table that is already populated with data, and three of the 6 fields need to > be turned into a PK. I used to do this manually, but I'm automating this > feature so users can do it themselves. Basically, a remote dbase > imports/links tables from sql, a make table query creates a new table, the > link table is deleted, and the PK needs to be set for the new table. > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, September 02, 2003 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Alter Table > > More than one way to do it -- > > SQL: > ALTER TABLE tbl > ADD COLUMN fld AUTOINCREMENT > CONSTRAINT pk PRIMARY KEY > > ADOX: > Function AddAutoNumberField(fldname As String, seedvalue As Long, _ > incvalue As Long, tblname As String) > Dim cat As New ADOX.Catalog > Dim col As New ADOX.Column > cat.ActiveConnection = CurrentProject.Connection > With col > .Name = fldname > .Type = adInteger > Set .ParentCatalog = cat > .Properties("AutoIncrement") = True > .Properties("Seed") = CLng(seedvalue) > .Properties("Increment") = CLng(incvalue) > End With > cat.Tables(tblname).Columns.Append col > Set cat = Nothing > Set col = Nothing > End Function > > > > > > > ----- Original Message ----- > From: "Randall Anthony" > To: > Sent: Tuesday, September 02, 2003 3:23 PM > Subject: [AccessD] Alter Table > > > > Hi all, > > I know this has got to be an easy one, but help in XP and 2K is driving me > > nuts!! I just want to alter an A2K table with code and create a primary > key > > in it. Any suggestions? Thanks a bunch. > > > > Randy @ ext. 473 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paulawright at boddienoell.com Wed Sep 3 09:46:28 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Wed, 3 Sep 2003 10:46:28 -0400 Subject: [AccessD] Crystal Reports (3) Message-ID: I have just been informed that my posts were coming through as attachments and most readers could not see my question. So I am once again resubmitting in the hopes that someone knows how to answer my question. I apologize and thank you. I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I may have gone about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access when using the Wizard. If so then hopefully this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have a password. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Or better yet, what I really need to do is view the reports from within Access using the Crystal Active-X. I've been over the Accocx97.mdb example on how to set up a CR in Access, however in XP I don't see a place to put the file name of the report. I'm hoping someone can help me real quick as I've already wasted too much time re-doing these reports in Crystal after having found out that Access won't handle them. THANK YOU Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Blank Bkgrd.gif Type: image/gif Size: 145 bytes Desc: Blank Bkgrd.gif URL: From DWUTKA at marlow.com Wed Sep 3 09:54:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 3 Sep 2003 09:54:14 -0500 Subject: [AccessD] Crystal Reports (3) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227156@main2.marlow.com> Paul, still coming through as attachment. Your emails have wallpaper and HTML formatting. Try sending a plain text email. Drew > -----Original Message----- > From: Paula Wright [mailto:paulawright at boddienoell.com] > Sent: Wednesday, September 03, 2003 9:46 AM > To: accessD at databaseadvisors.com > Subject: [AccessD] Crystal Reports (3) > > << Message: >> << File: ATT25133.txt >> From paulawright at boddienoell.com Wed Sep 3 10:07:41 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Wed, 3 Sep 2003 11:07:41 -0400 Subject: [AccessD] Crystal Reports Resubmit Message-ID: I hope this is better. Funny, I don't remember having this much trouble before. But thanks for your help. I have just been informed that my posts were coming through as attachments and most readers could not see my question. So I am once again resubmitting in the hopes that someone knows how to answer my question. I apologize and thank you. I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I may have gone about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access when using the Wizard. If so then hopefully this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have a password. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Or better yet, what I really need to do is view the reports from within Access using the Crystal Active-X. I've been over the Accocx97.mdb example on how to set up a CR in Access, however in XP I don't see a place to put the file name of the report. I'm hoping someone can help me real quick as I've already wasted too much time re-doing these reports in Crystal after having found out that Access won't handle them. THANK YOU Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 From DWUTKA at marlow.com Wed Sep 3 10:23:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 3 Sep 2003 10:23:47 -0500 Subject: [AccessD] Crystal Reports Resubmit Message-ID: <2F8793082E00D4119A1700B0D0216BF802227159@main2.marlow.com> Came through perfectly. No answer to your question though...sorry. Drew -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Wednesday, September 03, 2003 10:08 AM To: accessD at databaseadvisors.com Subject: [AccessD] Crystal Reports Resubmit I hope this is better. Funny, I don't remember having this much trouble before. But thanks for your help. I have just been informed that my posts were coming through as attachments and most readers could not see my question. So I am once again resubmitting in the hopes that someone knows how to answer my question. I apologize and thank you. I have an Access database (XP) from which I created several Crystal Reports (8.5) because Access would not handle all the fields required for the reports. I may have gone about this backwards because now that I have started investigating how to be able to view the reports in Access I find that one actually must create the reports through Access when using the Wizard. If so then hopefully this will be a simple copy/paste procedure once I get into it. The problem is that once I started up the Crystal Report Wizard and chose the query from which I wanted to create the first report, I was asked to enter a database password. My database does not have a password. I have searched for a means to handle this but to no avail. Has anyone experienced this problem before? Or better yet, what I really need to do is view the reports from within Access using the Crystal Active-X. I've been over the Accocx97.mdb example on how to set up a CR in Access, however in XP I don't see a place to put the file name of the report. I'm hoping someone can help me real quick as I've already wasted too much time re-doing these reports in Crystal after having found out that Access won't handle them. THANK YOU Paula Wright Programmer/Analyst paulawright at boddienoell.com (252)937-2800 ext.1355 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Sep 3 10:32:37 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 3 Sep 2003 11:32:37 -0400 Subject: [AccessD] Crystal Reports Resubmit References: Message-ID: <004001c37230$9af15610$6001a8c0@dejpolsys> Paula ...can't help you with CR since I don't use it ...but could you elaborate on "Access would not handle all the fields required for the reports" ...I've simply never run into that situation :) ...there may well be a much simpler and better solution available within Access itself if you can give us a bit more information. William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Paula Wright" To: Sent: Wednesday, September 03, 2003 11:07 AM Subject: [AccessD] Crystal Reports Resubmit > > I hope this is better. Funny, I don't remember having this much trouble > before. But thanks for your help. > > I have just been informed that my posts were coming through as attachments > and most readers could not see my question. So I am once again resubmitting > in the hopes that someone knows how to answer my question. I apologize and > thank you. > > I have an Access database (XP) from which I created > several Crystal Reports (8.5) because Access would not > handle all the fields required for the reports. I may have > gone about this backwards because now that I have started > investigating how to be able to view the reports in Access > I find that one actually must create the reports through > Access when using the Wizard. If so then hopefully this > will be a simple copy/paste procedure once I get into it. > > The problem is that once I started up the Crystal Report > Wizard and chose the query from which I wanted to create > the first report, I was asked to enter a database > password. My database does not have a password. I have > searched for a means to handle this but to no avail. Has > anyone experienced this problem before? > > Or better yet, what I really need to do is view the > reports from within Access using the Crystal Active-X. > I've been over the Accocx97.mdb example on how to set up a > CR in Access, however in XP I don't see a place to put the > file name of the report. > > I'm hoping someone can help me real quick as I've already > wasted too much time re-doing these reports in Crystal > after having found out that Access won't handle them. > > > THANK YOU > > > > Paula Wright > Programmer/Analyst > paulawright at boddienoell.com > (252)937-2800 ext.1355 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Wed Sep 3 13:50:46 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 3 Sep 2003 11:50:46 -0700 Subject: [AccessD] Creating PDFs In-Reply-To: <000001c3720e$7c7e5ab0$16310cd8@hargrove.internal> Message-ID: MessageThe Attac Consulting PDFMail does an excellent job with both linked and embedded colour images. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Wednesday, September 03, 2003 4:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating PDFs Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, September 02, 2003 4:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating PDFs Power PDF www.ptgsoftware.com has worked well except I have been unable to get it to print mixed landscape and portrait documents. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, September 01, 2003 3:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating PDFs Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Sep 3 11:35:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 09:35:37 -0700 Subject: [AccessD] Creating PDFs Message-ID: I haven't used their PDFMail, but I have used other utilities from their site and they were very good. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, September 03, 2003 10:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Creating PDFs The Attac Consulting PDFMail does an excellent job with both linked and embedded colour images. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Wednesday, September 03, 2003 4:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating PDFs Has anyone worked with one that does a good job on linked or embedded images? We've been using PDF995 but the images always come out as black&white instead of color. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, September 02, 2003 4:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating PDFs Power PDF www.ptgsoftware.com has worked well except I have been unable to get it to print mixed landscape and portrait documents. Jim Hale -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, September 01, 2003 3:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Creating PDFs Hi Andrew > Double check that everything converts correctly as we has issues with images > and certain symbols losing their formatting with a couple of the 'free' PDF > converters out there. There are quite a few of these converters. Would it be possible for you to tell which converters you have had problems with - that would be useful information. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paulawright at boddienoell.com Wed Sep 3 11:50:32 2003 From: paulawright at boddienoell.com (Paula Wright) Date: Wed, 3 Sep 2003 12:50:32 -0400 Subject: [AccessD] Crystal Reports Resubmit Message-ID: It's been a while since I recreated the reports in Crystal. If I remember correctly the message was something along the lines of "Too many fields defined." These reports are quite extensive with approximately 1000 calculated fields, some on the report, some in the query. Rather than having a detail that changes with the record, each field is based on one record in a table and is a separate field, if you understand what I'm saying. I did check the specs in Access and it truly was beyond the capabilities of Access. There are 7 pages to the report (it's actually all one report) and I broke it down as far as I could into 7 different reports. I have been writing in Access for 7 years and have written some very complex reports. I had never run across that either. It took me quite by surprise, not realizing that it was even possible and it was rather frustrating as I had spent many, many long hours writing these reports. I started with the basic foundation of displaying the base calculations themselves for each report and then went back to include percentages. That's when I ran across the problem. -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, September 03, 2003 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Crystal Reports Resubmit Paula ...can't help you with CR since I don't use it ...but could you elaborate on "Access would not handle all the fields required for the reports" ...I've simply never run into that situation :) ...there may well be a much simpler and better solution available within Access itself if you can give us a bit more information. William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Paula Wright" To: Sent: Wednesday, September 03, 2003 11:07 AM Subject: [AccessD] Crystal Reports Resubmit > > I hope this is better. Funny, I don't remember having this much > trouble before. But thanks for your help. > > I have just been informed that my posts were coming through as > attachments and most readers could not see my question. So I am once > again resubmitting > in the hopes that someone knows how to answer my question. I > apologize and > thank you. > > I have an Access database (XP) from which I created > several Crystal Reports (8.5) because Access would not > handle all the fields required for the reports. I may have gone about > this backwards because now that I have started investigating how to be > able to view the reports in Access I find that one actually must > create the reports through Access when using the Wizard. If so then > hopefully this will be a simple copy/paste procedure once I get into > it. > > The problem is that once I started up the Crystal Report Wizard and > chose the query from which I wanted to create the first report, I was > asked to enter a database password. My database does not have a > password. I have searched for a means to handle this but to no avail. > Has anyone experienced this problem before? > > Or better yet, what I really need to do is view the > reports from within Access using the Crystal Active-X. > I've been over the Accocx97.mdb example on how to set up a > CR in Access, however in XP I don't see a place to put the file name > of the report. > > I'm hoping someone can help me real quick as I've already wasted too > much time re-doing these reports in Crystal after having found out > that Access won't handle them. > > > THANK YOU > > > > Paula Wright > Programmer/Analyst > paulawright at boddienoell.com > (252)937-2800 ext.1355 _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Wed Sep 3 11:53:59 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 3 Sep 2003 12:53:59 -0400 Subject: [AccessD] relationship documenter In-Reply-To: References: <20030903034615.GA4959@kongemord.krig.net> Message-ID: <20030903165358.GA14543@kongemord.krig.net> On Wed, Sep 03, 2003 at 08:33:56AM -0400, John Colby wrote: > Access 2K I've put an Acc2k mde at http://members.cox.net/rjhjr The zip file includes a Word doc README with documentation, and DAO and ADO versions. I included both becuase they act differently in subtle ways. I prefer the ADO version, but sometimes I have to use the DAO version. A confession: I got this and another app I recently developed mixed up. This doesn't currently go to the control level; in other words, it reports on the form or reports RecordSource, but not the control's ControlSource. Sounds like something to add to the ToDo list. I appologize for making a false promise. I've haven't worked on this for several months while I've been doing Unix stuff, and I got the details mixed up with a data dictionary generator that I did for a HUD project. However, it does follow the data trail from table to [sub]form/[sub]report, as promised. Bob Hall From cfoust at infostatsystems.com Wed Sep 3 12:29:34 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 10:29:34 -0700 Subject: [AccessD] Crystal Reports Resubmit Message-ID: You may have overlooked the fact that you can use subreports to extend the capabilities of Access reporting. The limits in Access reports are the number of controls on a *single* report or subreport and the overall size of the report. There are limitations on the record size in the queries underneath the reports and limitations on the overall size of a record, but you should run into some of the same record size issues if you are using an Access table and DAO behind Crystal Reports. I truly cannot image a comprehensible report that runs to seven pages and 1000 calculations. Charlotte Foust -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Wednesday, September 03, 2003 8:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Crystal Reports Resubmit It's been a while since I recreated the reports in Crystal. If I remember correctly the message was something along the lines of "Too many fields defined." These reports are quite extensive with approximately 1000 calculated fields, some on the report, some in the query. Rather than having a detail that changes with the record, each field is based on one record in a table and is a separate field, if you understand what I'm saying. I did check the specs in Access and it truly was beyond the capabilities of Access. There are 7 pages to the report (it's actually all one report) and I broke it down as far as I could into 7 different reports. I have been writing in Access for 7 years and have written some very complex reports. I had never run across that either. It took me quite by surprise, not realizing that it was even possible and it was rather frustrating as I had spent many, many long hours writing these reports. I started with the basic foundation of displaying the base calculations themselves for each report and then went back to include percentages. That's when I ran across the problem. -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, September 03, 2003 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Crystal Reports Resubmit Paula ...can't help you with CR since I don't use it ...but could you elaborate on "Access would not handle all the fields required for the reports" ...I've simply never run into that situation :) ...there may well be a much simpler and better solution available within Access itself if you can give us a bit more information. William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Paula Wright" To: Sent: Wednesday, September 03, 2003 11:07 AM Subject: [AccessD] Crystal Reports Resubmit > > I hope this is better. Funny, I don't remember having this much > trouble before. But thanks for your help. > > I have just been informed that my posts were coming through as > attachments and most readers could not see my question. So I am once > again resubmitting > in the hopes that someone knows how to answer my question. I > apologize and > thank you. > > I have an Access database (XP) from which I created > several Crystal Reports (8.5) because Access would not > handle all the fields required for the reports. I may have gone about > this backwards because now that I have started investigating how to be > able to view the reports in Access I find that one actually must > create the reports through Access when using the Wizard. If so then > hopefully this will be a simple copy/paste procedure once I get into > it. > > The problem is that once I started up the Crystal Report Wizard and > chose the query from which I wanted to create the first report, I was > asked to enter a database password. My database does not have a > password. I have searched for a means to handle this but to no avail. > Has anyone experienced this problem before? > > Or better yet, what I really need to do is view the > reports from within Access using the Crystal Active-X. > I've been over the Accocx97.mdb example on how to set up a > CR in Access, however in XP I don't see a place to put the file name > of the report. > > I'm hoping someone can help me real quick as I've already wasted too > much time re-doing these reports in Crystal after having found out > that Access won't handle them. > > > THANK YOU > > > > Paula Wright > Programmer/Analyst > paulawright at boddienoell.com > (252)937-2800 ext.1355 _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Sep 3 13:02:27 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 3 Sep 2003 11:02:27 -0700 (PDT) Subject: [AccessD] Speed up DAO processing Message-ID: <20030903180227.35850.qmail@web20422.mail.yahoo.com> I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" End If Call DataFiles(passVar, objType) End Sub Private Sub DataFiles(objName As String, objType As String) '******************************************T_Data_Files************************************ '****************************************************************************************** Dim passVar As String Set rsD = dbCurr.OpenRecordset("SELECT * FROM T_Data WHERE REGION = 'CENTRAL'", dbOpenDynaset) Set rsF = dbCurr.OpenRecordset(objName, dbOpenDynaset) Do Until rsF.EOF 'Move records from the T_Data_Files fldName = Left(rsF!PE, 4) & "_" & Right(rsF!PE, 2) & "F" rsD.AddNew rsD!CLIENT = rsF!CLIENT rsD!REGION = "FILE" rsD!REV_TYPE = "FILE" rsD!FILE = rsF!FILE rsD(fldName) = rsF!AMOUNT rsD.Update rsF.MoveNext Loop Set rsF = Nothing '****************************************************************************************** '******************************************T_Data_Files************************************ If objType = "t" Then passVar = "T_Data_Products" Else passVar = "Q_Data_Products" End If Call DataProducts(passVar, objType) End Sub Private Sub DataProducts(objName As String, objType As String) '******************************************T_Data_Products********************************* '****************************************************************************************** Dim passVar As String Set rsD = dbCurr.OpenRecordset("T_DATA", dbOpenDynaset) Set rsP = dbCurr.OpenRecordset("SELECT * FROM " & objName _ & " ORDER BY CLIENT, FILE", dbOpenDynaset) Do Until rsP.EOF 'Move records from the T_Data_Products rsD.FindFirst ("NZ(CLIENT,'NULL') = '" & Nz(rsP!CLIENT, "NULL") & "' AND " _ & " FILE = '" & rsP!FILE & "'") If rsD.NoMatch = True Then fldName = Left(rsP!PE, 4) & "_" & Right(rsP!PE, 2) & "P" rsD.Edit rsD(fldName) = rsP!AMOUNT rsD.Update Else 'If one is not found, then add one fldName = Left(rsP!PE, 4) & "_" & Right(rsP!PE, 2) & "P" rsD.AddNew rsD!CLIENT = rsP!CLIENT rsD!FILE = rsP!FILE rsD!REGION = "FILE" rsD!REV_TYPE = "PRODUCT" rsD(fldName) = rsP!AMOUNT rsD.Update End If rsP.MoveNext Loop Set rsP = Nothing '****************************************************************************************** '******************************************T_Data_Products********************************* If objType = "t" Then passVar = "T_Data_Rev" Else passVar = "Q_Data_Rev" End If Call DataRev(passVar, objType) End Sub Private Sub DataRev(objName As String, objType As String) '******************************************T_Data_Rev************************************** '****************************************************************************************** Set rsD = dbCurr.OpenRecordset("T_Data", dbOpenDynaset) Set rsR = dbCurr.OpenRecordset("SELECT * FROM " & objName _ & " ORDER BY CLIENT, FILE, REV_TYPE, REGION", dbOpenDynaset) Do Until rsR.EOF 'Move records from the T_Data_Rev rsD.FindFirst ("NZ(CLIENT,'NULL') = '" & Nz(rsR!CLIENT, "NULL") & "' AND " _ & " FILE = '" & Nz(rsR!FILE, "No File Revenue") & "'") If rsD.NoMatch = True Then fldName = Left(rsR!PE, 4) & "_" & Right(rsR!PE, 2) & "R" rsD.AddNew rsD!CLIENT = rsR!CLIENT rsD!REV_TYPE = rsR!REV_TYPE rsD!FILE = IIf(IsNull(rsR!FILE), "No File Revenue", rsR!FILE) rsD!REGION = rsR!REGION rsD(fldName) = rsR!AMOUNT rsD.Update Else fldName = Left(rsR!PE, 4) & "_" & Right(rsR!PE, 2) & "R" rsD.Edit rsD(fldName) = rsR!AMOUNT rsD.Update End If rsR.MoveNext Loop Set rsR = Nothing '****************************************************************************************** '******************************************T_Data_Rev************************************** End Sub Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Sep 3 13:08:34 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 3 Sep 2003 14:08:34 -0400 Subject: [AccessD] Speed up DAO processing In-Reply-To: <20030903180227.35850.qmail@web20422.mail.yahoo.com> Message-ID: Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" End If Call DataFiles(passVar, objType) End Sub Private Sub DataFiles(objName As String, objType As String) '******************************************T_Data_Files********************* *************** '*************************************************************************** *************** Dim passVar As String Set rsD = dbCurr.OpenRecordset("SELECT * FROM T_Data WHERE REGION = 'CENTRAL'", dbOpenDynaset) Set rsF = dbCurr.OpenRecordset(objName, dbOpenDynaset) Do Until rsF.EOF 'Move records from the T_Data_Files fldName = Left(rsF!PE, 4) & "_" & Right(rsF!PE, 2) & "F" rsD.AddNew rsD!CLIENT = rsF!CLIENT rsD!REGION = "FILE" rsD!REV_TYPE = "FILE" rsD!FILE = rsF!FILE rsD(fldName) = rsF!AMOUNT rsD.Update rsF.MoveNext Loop Set rsF = Nothing '*************************************************************************** *************** '******************************************T_Data_Files********************* *************** If objType = "t" Then passVar = "T_Data_Products" Else passVar = "Q_Data_Products" End If Call DataProducts(passVar, objType) End Sub Private Sub DataProducts(objName As String, objType As String) '******************************************T_Data_Products****************** *************** '*************************************************************************** *************** Dim passVar As String Set rsD = dbCurr.OpenRecordset("T_DATA", dbOpenDynaset) Set rsP = dbCurr.OpenRecordset("SELECT * FROM " & objName _ & " ORDER BY CLIENT, FILE", dbOpenDynaset) Do Until rsP.EOF 'Move records from the T_Data_Products rsD.FindFirst ("NZ(CLIENT,'NULL') = '" & Nz(rsP!CLIENT, "NULL") & "' AND " _ & " FILE = '" & rsP!FILE & "'") If rsD.NoMatch = True Then fldName = Left(rsP!PE, 4) & "_" & Right(rsP!PE, 2) & "P" rsD.Edit rsD(fldName) = rsP!AMOUNT rsD.Update Else 'If one is not found, then add one fldName = Left(rsP!PE, 4) & "_" & Right(rsP!PE, 2) & "P" rsD.AddNew rsD!CLIENT = rsP!CLIENT rsD!FILE = rsP!FILE rsD!REGION = "FILE" rsD!REV_TYPE = "PRODUCT" rsD(fldName) = rsP!AMOUNT rsD.Update End If rsP.MoveNext Loop Set rsP = Nothing '*************************************************************************** *************** '******************************************T_Data_Products****************** *************** If objType = "t" Then passVar = "T_Data_Rev" Else passVar = "Q_Data_Rev" End If Call DataRev(passVar, objType) End Sub Private Sub DataRev(objName As String, objType As String) '******************************************T_Data_Rev*********************** *************** '*************************************************************************** *************** Set rsD = dbCurr.OpenRecordset("T_Data", dbOpenDynaset) Set rsR = dbCurr.OpenRecordset("SELECT * FROM " & objName _ & " ORDER BY CLIENT, FILE, REV_TYPE, REGION", dbOpenDynaset) Do Until rsR.EOF 'Move records from the T_Data_Rev rsD.FindFirst ("NZ(CLIENT,'NULL') = '" & Nz(rsR!CLIENT, "NULL") & "' AND " _ & " FILE = '" & Nz(rsR!FILE, "No File Revenue") & "'") If rsD.NoMatch = True Then fldName = Left(rsR!PE, 4) & "_" & Right(rsR!PE, 2) & "R" rsD.AddNew rsD!CLIENT = rsR!CLIENT rsD!REV_TYPE = rsR!REV_TYPE rsD!FILE = IIf(IsNull(rsR!FILE), "No File Revenue", rsR!FILE) rsD!RE! GION = rsR!REGION rsD(fldName) = rsR!AMOUNT rsD.Update Else fldName = Left(rsR!PE, 4) & "_" & Right(rsR!PE, 2) & "R" rsD.Edit rsD(fldName) = rsR!AMOUNT rsD.Update End If rsR.MoveNext Loop Set rsR = Nothing '*************************************************************************** *************** '******************************************T_Data_Rev*********************** *************** End Sub Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From prodevmg at yahoo.com Wed Sep 3 14:12:56 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 3 Sep 2003 12:12:56 -0700 (PDT) Subject: [AccessD] Accessing a module outside of the database Message-ID: <20030903191256.17761.qmail@web20405.mail.yahoo.com> I've never seen this but thought I'd ask. Is there anyway to access a module outside of a database? Can I have a database of functions or procedures and call them from other databases? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Wed Sep 3 14:23:47 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 3 Sep 2003 15:23:47 -0400 Subject: [AccessD] Accessing a module outside of the database Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7681@xlivmbx12.aig.com> Sure, all you need to do is set a reference to the other database. In the database that want to use the "outside modules" just open an y code module and on the Tools menu select "references". Click the add button and browse to where your MDB/MDB "outside" database is located - you'll need to change the "File Type" combo on the file dialog. You will then be able to use all the public subs and functions in the other database's standard modules. Class modules need a bit more work. One note, it you are going to compile to an MDE, the linked "library" database must also be an MDE file. Lambert > -----Original Message----- > From: Lonnie Johnson [SMTP:prodevmg at yahoo.com] > Sent: Wednesday, September 03, 2003 3:13 PM > To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; > AccessD solving' > Subject: [AccessD] Accessing a module outside of the database > > I've never seen this but thought I'd ask. Is there anyway to access a > module outside of a database? Can I have a database of functions or > procedures and call them from other databases? > > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> > > > > > > > _____ > > Do you Yahoo!? > Yahoo! SiteBuilder > - Free, > easy-to-use web site design software << File: ATT6886628.txt >> From Rich_Lavsa at pghcorning.com Wed Sep 3 14:24:35 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 3 Sep 2003 15:24:35 -0400 Subject: [AccessD] Crystal Reports Resubmit Message-ID: <833956F5C117124A89417638FDB11290EBCF5E@goexchange.pghcorning.com> I have had this problem in Access with too many calculated fields. The way i got around it was a very complex series of queries and USER DEFINED FUNCTIONS. These user defined functions do simple things such as calculate age, to tough multiple comparison of tables to return one value for each record based on entries put in by the user (almost like a dynamic lookup). I didn't have 1000, but was well over 100. All my calculations are done in the series of queries now, and the report simply calles the query. I call the userdefined functions in the necessary query which eventually will be pulled out in a Master Query which makes it ideal because every new report or new query for a new report is based off this Master query which holds all the information (including all calculated values, close to a warehouse but dynamic). The database structure itself was simple (only 18 tables) however the calculations were tough as anyone out there that has worked with Lawyers and HR at the same time would know. It was tough to design, and streamline all the calculations and queries but the reports all refresh in under 2 seconds with all calculations calculated. This was ideal in my case because if a change is required you can look at the documentation or simply follow back the query design to locate user defined functions or the query in which this query got its data from. I was doing some of what you were doing but the maintenance was incredible with reports and sub reports. Now I don't have to go into each report and change a bunch of controls if the Workers Union comes through and makes a new pension vested ruling, or accrued value decision that would make my life HELL. To me this was a much better solution, everything is Dynamic. Rich -----Original Message----- From: Paula Wright [mailto:paulawright at boddienoell.com] Sent: Wednesday, September 03, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Crystal Reports Resubmit It's been a while since I recreated the reports in Crystal. If I remember correctly the message was something along the lines of "Too many fields defined." These reports are quite extensive with approximately 1000 calculated fields, some on the report, some in the query. Rather than having a detail that changes with the record, each field is based on one record in a table and is a separate field, if you understand what I'm saying. I did check the specs in Access and it truly was beyond the capabilities of Access. There are 7 pages to the report (it's actually all one report) and I broke it down as far as I could into 7 different reports. I have been writing in Access for 7 years and have written some very complex reports. I had never run across that either. It took me quite by surprise, not realizing that it was even possible and it was rather frustrating as I had spent many, many long hours writing these reports. I started with the basic foundation of displaying the base calculations themselves for each report and then went back to include percentages. That's when I ran across the problem. -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, September 03, 2003 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Crystal Reports Resubmit Paula ...can't help you with CR since I don't use it ...but could you elaborate on "Access would not handle all the fields required for the reports" ...I've simply never run into that situation :) ...there may well be a much simpler and better solution available within Access itself if you can give us a bit more information. William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Paula Wright" To: Sent: Wednesday, September 03, 2003 11:07 AM Subject: [AccessD] Crystal Reports Resubmit > > I hope this is better. Funny, I don't remember having this much > trouble before. But thanks for your help. > > I have just been informed that my posts were coming through as > attachments and most readers could not see my question. So I am once > again resubmitting > in the hopes that someone knows how to answer my question. I > apologize and > thank you. > > I have an Access database (XP) from which I created > several Crystal Reports (8.5) because Access would not > handle all the fields required for the reports. I may have gone about > this backwards because now that I have started investigating how to be > able to view the reports in Access I find that one actually must > create the reports through Access when using the Wizard. If so then > hopefully this will be a simple copy/paste procedure once I get into > it. > > The problem is that once I started up the Crystal Report Wizard and > chose the query from which I wanted to create the first report, I was > asked to enter a database password. My database does not have a > password. I have searched for a means to handle this but to no avail. > Has anyone experienced this problem before? > > Or better yet, what I really need to do is view the > reports from within Access using the Crystal Active-X. > I've been over the Accocx97.mdb example on how to set up a > CR in Access, however in XP I don't see a place to put the file name > of the report. > > I'm hoping someone can help me real quick as I've already wasted too > much time re-doing these reports in Crystal after having found out > that Access won't handle them. > > > THANK YOU > > > > Paula Wright > Programmer/Analyst > paulawright at boddienoell.com > (252)937-2800 ext.1355 _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Wed Sep 3 14:25:19 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 03 Sep 2003 14:25:19 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB51@cntexchange.pgdp.usec.com> A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Sep 3 14:44:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 12:44:52 -0700 Subject: [AccessD] Accessing a module outside of the database Message-ID: This use is what is generally referred to as an Access "code library". I've done this many times to isolate code that is reused among multiple database applications. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 11:13 AM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Accessing a module outside of the database I've never seen this but thought I'd ask. Is there anyway to access a module outside of a database? Can I have a database of functions or procedures and call them from other databases? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software From jcolby at colbyconsulting.com Wed Sep 3 14:55:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 3 Sep 2003 15:55:49 -0400 Subject: [AccessD] Automating excel Message-ID: Has anyone ever automated Excel to save a spreadsheet as TRUE comma delimited text? My issue is that a client's client sends them data. It was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK for data import since it is possible that the data will change datatypes down the spreadsheet and that causes the import to fail without any warning. If I can automate excel to export that same spreadsheet, I suspect that the result would just be text in all cases and so that "datatype change" issue would disappear. Has anyone ever done this? John W. Colby www.colbyconsulting.com From cfoust at infostatsystems.com Wed Sep 3 15:09:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 13:09:14 -0700 Subject: [AccessD] Automating excel Message-ID: I'm not even sure you can do that, John. Excel has a nasty habit of changing datatypes no matter what you want it to do. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, September 03, 2003 11:56 AM To: AccessD Subject: [AccessD] Automating excel Has anyone ever automated Excel to save a spreadsheet as TRUE comma delimited text? My issue is that a client's client sends them data. It was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK for data import since it is possible that the data will change datatypes down the spreadsheet and that causes the import to fail without any warning. If I can automate excel to export that same spreadsheet, I suspect that the result would just be text in all cases and so that "datatype change" issue would disappear. Has anyone ever done this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Sep 3 15:17:38 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 3 Sep 2003 13:17:38 -0700 (PDT) Subject: [AccessD] Accessing a module outside of the database In-Reply-To: Message-ID: <20030903201738.69441.qmail@web20416.mail.yahoo.com> Thanks. I can seem to get the Sub Procedures to work but not the Functions. Anything special I need to do there? Charlotte Foust wrote: This use is what is generally referred to as an Access "code library". I've done this many times to isolate code that is reused among multiple database applications. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 11:13 AM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Accessing a module outside of the database I've never seen this but thought I'd ask. Is there anyway to access a module outside of a database? Can I have a database of functions or procedures and call them from other databases? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Wed Sep 3 15:24:03 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 3 Sep 2003 15:24:03 -0500 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB51@cntexchange.pgdp.usec.com> Message-ID: <001601c37259$516168e0$de1811d8@DanWaters> Virginia, I added some code into your example. Would this work? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - Grace Period A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label '-- Show number of days over 5 that the project review is late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Sep 3 15:27:21 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 13:27:21 -0700 Subject: [AccessD] Accessing a module outside of the database Message-ID: If you can't get the functions to work, there must be a reason. The most common one is that the function isn't declared as public. What kind of message are you getting? Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 12:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Accessing a module outside of the database Thanks. I can seem to get the Sub Procedures to work but not the Functions. Anything special I need to do there? Charlotte Foust wrote: This use is what is generally referred to as an Access "code library". I've done this many times to isolate code that is reused among multiple database applications. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 11:13 AM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Accessing a module outside of the database I've never seen this but thought I'd ask. Is there anyway to access a module outside of a database? Can I have a database of functions or procedures and call them from other databases? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder ! - Free, easy-to-use web site design software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software From prodevmg at yahoo.com Wed Sep 3 15:37:06 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 3 Sep 2003 13:37:06 -0700 (PDT) Subject: [AccessD] Accessing a module outside of the database In-Reply-To: Message-ID: <20030903203706.97640.qmail@web20421.mail.yahoo.com> They seem to be working once I closed the database and re-opened it. I was sure that I saved the module several times. Anyway, It's a-workin' now! Charlotte Foust wrote: If you can't get the functions to work, there must be a reason. The most common one is that the function isn't declared as public. What kind of message are you getting? Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 12:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Accessing a module outside of the database Thanks. I can seem to get the Sub Procedures to work but not the Functions. Anything special I need to do there? Charlotte Foust wrote: This use is what is generally referred to as an Access "code library". I've done this many times to isolate code that is reused among multiple database applications. Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Wednesday, September 03, 2003 11:13 AM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Accessing a module outside of the database I've never seen this but thought I'd ask. Is there anyway to access a module outside of a database? Can I have a database of functions or procedures and call them from other databases? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder ! - Free, easy-to-use web site design software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Wed Sep 3 19:23:08 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 3 Sep 2003 17:23:08 -0700 Subject: [AccessD] FW: Microsoft Security Bulletin MS03-037: Flaw in Visual Basic for Applications Could Allow Arbitrary Code Execution(822715) Message-ID: Just in case anyone missed this: -----Original Message----- From: Microsoft [mailto:0_51915_61265BE7-D473-3A42-A79A-179EB7E29A6B_CA at Newsletters.Micr osoft.com] Sent: Wednesday, September 03, 2003 1:21 PM To: afuller at etsys.com Subject: Microsoft Security Bulletin MS03-037: Flaw in Visual Basic for Applications Could Allow Arbitrary Code Execution(822715) -----BEGIN PGP SIGNED MESSAGE----- - ---------------------------------------------------------------------- Title: Flaw in Visual Basic for Applications Could Allow Arbitrary Code Execution (822715) Date: 03 September 2003 Affected Software: Microsoft Visual Basic for Applications SDK 5.0 Microsoft Visual Basic for Applications SDK 6.0 Microsoft Visual Basic for Applications SDK 6.2 Microsoft Visual Basic for Applications SDK 6.3 Products which include the affected software: Microsoft Access 97 Microsoft Access 2000 Microsoft Access 2002 Microsoft Excel 97 Microsoft Excel 2000 Microsoft Excel 2002 Microsoft PowerPoint 97 Microsoft PowerPoint 2000 Microsoft PowerPoint 2002 Microsoft Project 2000 Microsoft Project 2002 Microsoft Publisher 2002 Microsoft Visio 2000 Microsoft Visio 2002 Microsoft Word 97 Microsoft Word 98(J) Microsoft Word 2000 Microsoft Word 2002 Microsoft Works Suite 2001 Microsoft Works Suite 2002 Microsoft Works Suite 2003 Microsoft Business Solutions Great Plains 7.5 Microsoft Business Solutions Dynamics 6.0 Microsoft Business Solutions Dynamics 7.0 Microsoft Business Solutions eEnterprise 6.0 Microsoft Business Solutions eEnterprise 7.0 Microsoft Business Solutions Solomon 4.5 Microsoft Business Solutions Solomon 5.0 Microsoft Business Solutions Solomon 5.5 Impact: Run code of attackers choice Max Risk: Critical Bulletin: MS03-037 Microsoft encourages customers to review the Security Bulletins at: http://www.microsoft.com/technet/security/bulletin/MS03-037.asp http://www.microsoft.com/security/security_bulletins/ms03-037.asp - ---------------------------------------------------------------------- Issue: ====== Microsoft VBA is a development technology for developing client desktop packaged applications and integrating them with existing data and systems. Microsoft VBA is based on the Microsoft Visual Basic development system. Microsoft Office products include VBA and make use of VBA to perform certain functions. VBA can also be used to build customized applications based around an existing host application. A flaw exists in the way VBA checks document properties passed to it when a document is opened by the host application. A buffer overrun exists which if exploited successfully could allow an attacker to execute code of their choice in the context of the logged on user. In order for an attack to be successful, a user would have to open a specially crafted document sent to them by an attacker. This document could be any type of document that supports VBA, such as a Word document, Excel spreadsheet, PowerPoint presentation. In the case where Microsoft Word is being used as the HTML e-mail editor for Microsoft Outlook, this document could be an e-mail, however the user would need to reply to, or forward the mail message in order for the vulnerability to be exploited. Mitigating Factors: ==================== - -The user must open a document sent to them by an attacker in order for this vulnerability to be exploited. - -When Microsoft Word is being used as the HTML e-mail editor in Outlook, a user would need to reply to or forward a malicious e- mail document sent to them in order for this vulnerability to be exploited. - -An attacker's code could only run with the same rights as the logged on user. The specific privileges the attacker could gain through this vulnerability would therefore depend on the privileges granted to the user. Any limitations on a user's account, such as those applied through Group Policies, would also limit the actions of any arbitrary code executed by this vulnerability. Risk Rating: ============ - Critical Patch Availability: =================== - A patch is available to fix this vulnerability. Please read the Security Bulletins at http://www.microsoft.com/technet/security/bulletin/ms03-037.asp http://www.microsoft.com/security/security_bulletins/ms03-037.asp for information on obtaining this patch. Acknowledgment: =============== - eEye Digital Security, http://www.eeye.com - --------------------------------------------------------------------- THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. -----BEGIN PGP SIGNATURE----- Version: PGP 7.1 iQEVAwUBP1Y7no0ZSRQxA/UrAQFW9Af/R8I0BzShSIs6JIz+tl/BKj6inGbX0Sde HIJ0dwziLnxQZpcRCow2HPGFM1yQjIXuu7PGtjBrPYfn5pmSKmJvvNk0ZDKKyQmL 9t+/Bs+aGsdllF4BeAiFGYTnRgxEUlMFM9/GJbKaOFUBGhfRLHtv4IEUqb7tqFG4 byoa7h3mOTijlbuE8SKHF6rbGGOAyhAbK4h8f8+tqjQ4PllNo9wSJLcTCg7HkdVv Vp2VkUPAXiRLBKZUkdpa1OgZ7g7znze1yC4g8/n5WVinknW8uHH0krRNQDvEQmU1 rb5N1+OTosd2JqTW/WXs1PE5XRYYd36ULcOO9f8TQpKp6kQNxKRC3A== =SCfU -----END PGP SIGNATURE----- ******************************************************************* You have received this e-mail bulletin because of your subscription to the Microsoft Product Security Notification Service. For more information on this service, please visit http://www.microsoft.com/technet/security/notify.asp. To verify the digital signature on this bulletin, please download our PGP key at http://www.microsoft.com/technet/security/notify.asp. To unsubscribe from the Microsoft Security Notification Service, please visit the Microsoft Profile Center at http://register.microsoft.com/regsys/pic.asp If you do not wish to use Microsoft Passport, you can unsubscribe from the Microsoft Security Notification Service via email as described below: Reply to this message with the word UNSUBSCRIBE in the Subject line. For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site at http://www.microsoft.com/security. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From bheygood at abestsystems.com Wed Sep 3 17:05:54 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 3 Sep 2003 15:05:54 -0700 Subject: [AccessD] MS Security In-Reply-To: <20030903165358.GA14543@kongemord.krig.net> Message-ID: FYI Microsoft Security Bulletin MS03-038 Print Unchecked buffer in Microsoft Access Snapshot Viewer Could Allow Code Execution (827104) Originally posted: September 3, 2003 Summary Who should read this bulletin: Customers who use MicrosoftR Access or who use the downloadable Microsoft Access Snapshot Viewer Impact of vulnerability: Allow an attacker to execute code of their choice Maximum Severity Rating: Moderate Recommendation: Customers who use Microsoft Access or who use the downloadable Microsoft Access Snapshot Viewer should install the security patch at their earliest opportunity. http://www.microsoft.com/technet/treeview/default.asp?url=/technet/security/ bulletin/MS03-038.asp Bob Heygood From my.lists at verizon.net Wed Sep 3 17:14:35 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 03 Sep 2003 15:14:35 -0700 Subject: [AccessD] FW: Microsoft Security Bulletin MS03-037: Flaw in Execution(822715) In-Reply-To: References: Message-ID: <3F5667CB.6030300@verizon.net> Question... it's a buffer overrun, exploited when a piece of malicious code is executed from an MS document such as word, access, excell or Visio... the question is, since all these formats support VBA, wouldn't the hacker, attacker, cracker or script kiddie instead just exploit the machine by accessing the standard API's? I mean it's not like he gets elevated rights by running in the buffer overrun, he runs in the user's context.... -- -Francisco Firebird the browser that blows the competition away. Can you feel the fire? Arthur Fuller wrote: > Just in case anyone missed this: > > -----Original Message----- > From: Microsoft > [mailto:0_51915_61265BE7-D473-3A42-A79A-179EB7E29A6B_CA at Newsletters.Micr > osoft.com] > Sent: Wednesday, September 03, 2003 1:21 PM > To: afuller at etsys.com > Subject: Microsoft Security Bulletin MS03-037: Flaw in Visual Basic for > Applications Could Allow Arbitrary Code Execution(822715) > > > -----BEGIN PGP SIGNED MESSAGE----- > > - ---------------------------------------------------------------------- > Title: Flaw in Visual Basic for Applications Could Allow > Arbitrary Code Execution (822715) > Date: 03 September 2003 > > Affected Software: > Microsoft Visual Basic for Applications SDK 5.0 > Microsoft Visual Basic for Applications SDK 6.0 > Microsoft Visual Basic for Applications SDK 6.2 > Microsoft Visual Basic for Applications SDK 6.3 > > Products which include the affected software: > Microsoft Access 97 > Microsoft Access 2000 > Microsoft Access 2002 > Microsoft Excel 97 > Microsoft Excel 2000 > Microsoft Excel 2002 > Microsoft PowerPoint 97 > Microsoft PowerPoint 2000 > Microsoft PowerPoint 2002 > Microsoft Project 2000 > Microsoft Project 2002 > Microsoft Publisher 2002 > Microsoft Visio 2000 > Microsoft Visio 2002 > Microsoft Word 97 > Microsoft Word 98(J) > Microsoft Word 2000 > Microsoft Word 2002 > Microsoft Works Suite 2001 > Microsoft Works Suite 2002 > Microsoft Works Suite 2003 > Microsoft Business Solutions Great Plains 7.5 > Microsoft Business Solutions Dynamics 6.0 > Microsoft Business Solutions Dynamics 7.0 > Microsoft Business Solutions eEnterprise 6.0 > Microsoft Business Solutions eEnterprise 7.0 > Microsoft Business Solutions Solomon 4.5 > Microsoft Business Solutions Solomon 5.0 > Microsoft Business Solutions Solomon 5.5 > > Impact: Run code of attackers choice > Max Risk: Critical > Bulletin: MS03-037 > > Microsoft encourages customers to review the Security Bulletins > at: > http://www.microsoft.com/technet/security/bulletin/MS03-037.asp > http://www.microsoft.com/security/security_bulletins/ms03-037.asp > - ---------------------------------------------------------------------- > > Issue: > ====== > Microsoft VBA is a development technology for developing client > desktop packaged applications and integrating them with existing > data and systems. Microsoft VBA is based on the Microsoft Visual > Basic development system. Microsoft Office products include VBA > and make use of VBA to perform certain functions. VBA can also be > used to build customized applications based around an existing > host application. > > A flaw exists in the way VBA checks document properties passed to > it when a document is opened by the host application. A buffer > overrun exists which if exploited successfully could allow an > attacker to execute code of their choice in the context of the > logged on user. > > In order for an attack to be successful, a user would have to > open a specially crafted document sent to them by an attacker. > This document could be any type of document that supports VBA, > such as a Word document, Excel spreadsheet, PowerPoint > presentation. In the case where Microsoft Word is being used as > the HTML e-mail editor for Microsoft Outlook, this document could > be an e-mail, however the user would need to reply to, or forward > the mail message in order for the vulnerability to be exploited. > > Mitigating Factors: > ==================== > - -The user must open a document sent to them by an attacker in > order for this vulnerability to be exploited. > - -When Microsoft Word is being used as the HTML e-mail editor in > Outlook, a user would need to reply to or forward a malicious e- > mail document sent to them in order for this vulnerability to be > exploited. > - -An attacker's code could only run with the same rights as the > logged on user. The specific privileges the attacker could gain > through this vulnerability would therefore depend on the > privileges granted to the user. Any limitations on a user's > account, such as those applied through Group Policies, would also > limit the actions of any arbitrary code executed by this > vulnerability. > > Risk Rating: > ============ > - Critical > > Patch Availability: > =================== > - A patch is available to fix this vulnerability. Please read > the Security Bulletins at > http://www.microsoft.com/technet/security/bulletin/ms03-037.asp > http://www.microsoft.com/security/security_bulletins/ms03-037.asp > for information on obtaining this patch. > > Acknowledgment: > =============== > - eEye Digital Security, http://www.eeye.com > > - --------------------------------------------------------------------- > > THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS > PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT > DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING > THE > WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR > PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS > BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, > INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL > DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN > ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT > ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL > OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. > > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.1 > > iQEVAwUBP1Y7no0ZSRQxA/UrAQFW9Af/R8I0BzShSIs6JIz+tl/BKj6inGbX0Sde > HIJ0dwziLnxQZpcRCow2HPGFM1yQjIXuu7PGtjBrPYfn5pmSKmJvvNk0ZDKKyQmL > 9t+/Bs+aGsdllF4BeAiFGYTnRgxEUlMFM9/GJbKaOFUBGhfRLHtv4IEUqb7tqFG4 > byoa7h3mOTijlbuE8SKHF6rbGGOAyhAbK4h8f8+tqjQ4PllNo9wSJLcTCg7HkdVv > Vp2VkUPAXiRLBKZUkdpa1OgZ7g7znze1yC4g8/n5WVinknW8uHH0krRNQDvEQmU1 > rb5N1+OTosd2JqTW/WXs1PE5XRYYd36ULcOO9f8TQpKp6kQNxKRC3A== > =SCfU > -----END PGP SIGNATURE----- > > ******************************************************************* > > You have received this e-mail bulletin because of your subscription to the > Microsoft Product Security Notification Service. For more information on > this service, please visit > http://www.microsoft.com/technet/security/notify.asp. > > To verify the digital signature on this bulletin, please download our PGP > key at http://www.microsoft.com/technet/security/notify.asp. > > To unsubscribe from the Microsoft Security Notification Service, please > visit the Microsoft Profile Center at > http://register.microsoft.com/regsys/pic.asp > > If you do not wish to use Microsoft Passport, you can unsubscribe from the > Microsoft Security Notification Service via email as described below: > Reply to this message with the word UNSUBSCRIBE in the Subject line. > > For security-related information about Microsoft products, please visit the > Microsoft Security Advisor web site at http://www.microsoft.com/security. > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > From my.lists at verizon.net Wed Sep 3 17:58:22 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Wed, 03 Sep 2003 15:58:22 -0700 Subject: [AccessD] Creating PDFs In-Reply-To: <001a01c3721b$e9726e60$16310cd8@hargrove.internal> References: <001a01c3721b$e9726e60$16310cd8@hargrove.internal> Message-ID: <3F56720E.5020609@verizon.net> I print via PDF995 and I don't tell Access to do anything other than print... I get my PDF's just fine... One major thing that I did when I added PDF995 was to add the Apple printer as well according to their original doc's it would help the PDF995 engine produce higher quality PDF's .. the name of the printer is: Apple LaserWriter II NT v47.0 -- -Francisco Unbaised Magic 8 ball review: Just to be sure I rephrased the question. "Is Linux better than Windows 2000?" The response "AS I SEE IT YES". Good to see that the Magic 8 Ball hasn't succumbed to the Microsoft Propaganda Machine. Mike and Doris Manning wrote: > Actually, I've discovered you do have to tell Access how to do it because > whenever I print a report containing linked images I get a black/white > result instead of a color one. I had a snapshot with color that I tried to > print to PDF995 (with the color setup in place on the printer) and had to > manually set the "color" setting before I printed so I'm guessing I need to > do the same thing via code somewhere in my PDF creation process. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Wednesday, September 03, 2003 8:54 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Creating PDFs > > > Well, if you set the default for PDF995 to print in colour, then you don't > have to figure out how to tell Access to do it :-) > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > > >>>>mikedorism at ntelos.net 03-Sep-03 8:48:24 AM >>> > > Excellent! Thanks... You have pointed me down the right trail. Now all I > have to figure out how to tell Access to print in color via code when it > sends a report to the PDF995 printer. > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Wednesday, September 03, 2003 8:08 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Creating PDFs > > > PDF995 should create colour PDFs. > > If you open the Printer Properties for the PDF995 printer, select the > General Tab, Click the Printing Preferences button (which opens another > dialog box), then Switch to the Paper/Quality tab of this new dialog, there > is an option there to print in colour or B&W. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>>>mikedorism at ntelos.net 03-Sep-03 7:28:17 AM >>> > > Has anyone worked with one that does a good job on linked or embedded > images? We've been using PDF995 but the images always come out as > black&white instead of color. > > Doris Manning From rjhjr at cox.net Wed Sep 3 19:03:11 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 3 Sep 2003 20:03:11 -0400 Subject: [AccessD] relationship documenter In-Reply-To: <20030903165358.GA14543@kongemord.krig.net> References: <20030903034615.GA4959@kongemord.krig.net> <20030903165358.GA14543@kongemord.krig.net> Message-ID: <20030904000311.GA26414@kongemord.krig.net> On Wed, Sep 03, 2003 at 12:53:59PM -0400, Bob Hall wrote: > On Wed, Sep 03, 2003 at 08:33:56AM -0400, John Colby wrote: > > Access 2K > > I've put an Acc2k mde at > http://members.cox.net/rjhjr And whoever tries it, please send me some feedback. Negative or positive. No matter how many times it gets tested and updated, I always seem to find a new problem on a new database. If everyone would just construct their databases the way *I* do, this would be *so* much easier. ;) Bob Hall From cfoust at infostatsystems.com Wed Sep 3 19:28:30 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Sep 2003 17:28:30 -0700 Subject: [AccessD] relationship documenter Message-ID: >> If everyone would just construct their databases the way *I* do, this would be *so* much easier. ;) Hmmn. Sounds like JC! And I've often said the same thing myself. Charlotte Foust -----Original Message----- From: Bob Hall [mailto:rjhjr at cox.net] Sent: Wednesday, September 03, 2003 4:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] relationship documenter On Wed, Sep 03, 2003 at 12:53:59PM -0400, Bob Hall wrote: > On Wed, Sep 03, 2003 at 08:33:56AM -0400, John Colby wrote: > > Access 2K > > I've put an Acc2k mde at > http://members.cox.net/rjhjr And whoever tries it, please send me some feedback. Negative or positive. No matter how many times it gets tested and updated, I always seem to find a new problem on a new database. If everyone would just construct their databases the way *I* do, this would be *so* much easier. ;) Bob Hall _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 3 19:32:18 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 3 Sep 2003 19:32:18 -0500 Subject: [AccessD] Secure Power Point Web presentation... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227160@main2.marlow.com> Sorry for the OT, but I had to share this. I know there are several aspiring or current ASP developers, so this may be interesting to some. Last week, in the middle of a virus 'eruption', I had someone put in a request to create a secure Power Point Presentation. In fact, here's the request: I have recently had the need to present sensitive information to a customer without being able to travel to their site. Normally this would be done via a PowerPoint presentation at the customer's location. I would not leave copies with the customer because of the sensitive nature of the material. Is is possible to sent up a link to a presentation, possibly converted from PowerPoint to another format (HTML?), on the Marlow website, so that I could call the customer, instruct them to go to a specific URL, and while on the phone, step through the presentation with them. The link would have to be of such a nature that the customer could not easily save the file without having to do something exotic like a screen capture. I have the opportunity to do this again next week, so your prompt response is greatly appreciated. Thanks, Bob So I went and talked to him about this. The first part of his request is a peice of cake, to put a PPT on the web in Office 2k is a snap. However, the last part is the catcher. He wants to keep it 'secure'. Well, that concept was right out, because if you put something on the web, the web client HAS to download what you have given them. Yes, you could make a streaming media presentation, but trust me, that's beyond our grasp at the moment, because I sure as heck don't have time to goof with that! After talking with him, we decided to go with a web page that only displays when he allows it, that displays the pages he wants displayed, that he virtually controls from his desk. And folks, that's what I made. It's an ASP page that loads the pages he 'commands' from a VB program. It clicks through the page information with the VB program. ie, they see what looks like a PP presentation in their browser, but he controls the displaying of it. It was loads of fun to make, if anyone is interested, I'll share my 'technique'. I'll admit I'm patting myself on the back right now, because I didn't know if I could pull it off or not. Drew From davesharpe2 at cox.net Wed Sep 3 20:16:33 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Wed, 3 Sep 2003 21:16:33 -0400 Subject: [AccessD] Fw: New Version of Snapshot Viewer for Access 97/2000/2002 Message-ID: <005e01c37282$2df80610$dd2f0a44@bcsext6137> Snapshot Viewer for Access 97/2000/2002 The Snapshot Viewer enables you to view a report snapshot without having the standard or run-time versions of Microsoft Access 97, Access 2000, or Access 2002. File Name: snpvw.exe Download Size: 1795 KB Date Published: 9/3/2003 <<< ---------------- http://www.microsoft.com/downloads/details.aspx?familyid=B73DF33F-6D74-423D-8274-8B7E6313EDFB&displaylang=en -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Wed Sep 3 20:34:15 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Sep 2003 18:34:15 -0700 Subject: [AccessD] Secure Power Point Web presentation... References: <2F8793082E00D4119A1700B0D0216BF802227160@main2.marlow.com> Message-ID: <3F569697.3010604@shaw.ca> How about Secure Pack. There is an option to run a no of times. Trial download. http://www.mvps.org/skp/securepack/index.htm or look through here maybe http://www.mvps.org/skp/index.html Drew Wutka wrote: >Sorry for the OT, but I had to share this. I know there are several >aspiring or current ASP developers, so this may be interesting to some. > >Last week, in the middle of a virus 'eruption', I had someone put in a >request to create a secure Power Point Presentation. In fact, here's the >request: > >I have recently had the need to present sensitive information to a customer >without being able to travel to their site. Normally this would be done via >a PowerPoint presentation at the customer's location. I would not leave >copies with the customer because of the sensitive nature of the material. > >Is is possible to sent up a link to a presentation, possibly converted from >PowerPoint to another format (HTML?), on the Marlow website, so that I could >call the customer, instruct them to go to a specific URL, and while on the >phone, step through the presentation with them. The link would have to be >of such a nature that the customer could not easily save the file without >having to do something exotic like a screen capture. > >I have the opportunity to do this again next week, so your prompt response >is greatly appreciated. > >Thanks, >Bob > > >So I went and talked to him about this. The first part of his request is a >peice of cake, to put a PPT on the web in Office 2k is a snap. However, the >last part is the catcher. He wants to keep it 'secure'. Well, that concept >was right out, because if you put something on the web, the web client HAS >to download what you have given them. Yes, you could make a streaming media >presentation, but trust me, that's beyond our grasp at the moment, because I >sure as heck don't have time to goof with that! After talking with >him, we decided to go with a web page that only displays when he allows it, >that displays the pages he wants displayed, that he virtually controls from >his desk. > >And folks, that's what I made. It's an ASP page that loads the pages he >'commands' from a VB program. It clicks through the page information with >the VB program. ie, they see what looks like a PP presentation in their >browser, but he controls the displaying of it. It was loads of fun to make, >if anyone is interested, I'll share my 'technique'. I'll admit I'm patting >myself on the back right now, because I didn't know if I could pull it off >or not. > >Drew >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Wed Sep 3 21:22:40 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 3 Sep 2003 22:22:40 -0400 Subject: [AccessD] Secure Power Point Web presentation... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227160@main2.marlow.com> Message-ID: Pat! Pat! Sometimes ya just need (and deserve) that! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, September 03, 2003 8:32 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Secure Power Point Web presentation... Sorry for the OT, but I had to share this. I know there are several aspiring or current ASP developers, so this may be interesting to some. Last week, in the middle of a virus 'eruption', I had someone put in a request to create a secure Power Point Presentation. In fact, here's the request: I have recently had the need to present sensitive information to a customer without being able to travel to their site. Normally this would be done via a PowerPoint presentation at the customer's location. I would not leave copies with the customer because of the sensitive nature of the material. Is is possible to sent up a link to a presentation, possibly converted from PowerPoint to another format (HTML?), on the Marlow website, so that I could call the customer, instruct them to go to a specific URL, and while on the phone, step through the presentation with them. The link would have to be of such a nature that the customer could not easily save the file without having to do something exotic like a screen capture. I have the opportunity to do this again next week, so your prompt response is greatly appreciated. Thanks, Bob So I went and talked to him about this. The first part of his request is a peice of cake, to put a PPT on the web in Office 2k is a snap. However, the last part is the catcher. He wants to keep it 'secure'. Well, that concept was right out, because if you put something on the web, the web client HAS to download what you have given them. Yes, you could make a streaming media presentation, but trust me, that's beyond our grasp at the moment, because I sure as heck don't have time to goof with that! After talking with him, we decided to go with a web page that only displays when he allows it, that displays the pages he wants displayed, that he virtually controls from his desk. And folks, that's what I made. It's an ASP page that loads the pages he 'commands' from a VB program. It clicks through the page information with the VB program. ie, they see what looks like a PP presentation in their browser, but he controls the displaying of it. It was loads of fun to make, if anyone is interested, I'll share my 'technique'. I'll admit I'm patting myself on the back right now, because I didn't know if I could pull it off or not. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 3 21:38:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 3 Sep 2003 21:38:39 -0500 Subject: [AccessD] Secure Power Point Web presentation... Message-ID: <2F8793082E00D4119A1700B0D0216BF802227161@main2.marlow.com> Looks interesting, but it seems more to be something to prevent people from editing a .ppt. My guy wants to prevent the viewing unless he is controlling it. Even limiting the number of 'viewings' would allow someone to send it to other people, which is what we don't want. Drew -----Original Message----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: 9/3/03 8:34 PM Subject: Re: [AccessD] Secure Power Point Web presentation... How about Secure Pack. There is an option to run a no of times. Trial download. http://www.mvps.org/skp/securepack/index.htm or look through here maybe http://www.mvps.org/skp/index.html Drew Wutka wrote: >Sorry for the OT, but I had to share this. I know there are several >aspiring or current ASP developers, so this may be interesting to some. > >Last week, in the middle of a virus 'eruption', I had someone put in a >request to create a secure Power Point Presentation. In fact, here's the >request: > >I have recently had the need to present sensitive information to a customer >without being able to travel to their site. Normally this would be done via >a PowerPoint presentation at the customer's location. I would not leave >copies with the customer because of the sensitive nature of the material. > >Is is possible to sent up a link to a presentation, possibly converted from >PowerPoint to another format (HTML?), on the Marlow website, so that I could >call the customer, instruct them to go to a specific URL, and while on the >phone, step through the presentation with them. The link would have to be >of such a nature that the customer could not easily save the file without >having to do something exotic like a screen capture. > >I have the opportunity to do this again next week, so your prompt response >is greatly appreciated. > >Thanks, >Bob > > >So I went and talked to him about this. The first part of his request is a >peice of cake, to put a PPT on the web in Office 2k is a snap. However, the >last part is the catcher. He wants to keep it 'secure'. Well, that concept >was right out, because if you put something on the web, the web client HAS >to download what you have given them. Yes, you could make a streaming media >presentation, but trust me, that's beyond our grasp at the moment, because I >sure as heck don't have time to goof with that! After talking with >him, we decided to go with a web page that only displays when he allows it, >that displays the pages he wants displayed, that he virtually controls from >his desk. > >And folks, that's what I made. It's an ASP page that loads the pages he >'commands' from a VB program. It clicks through the page information with >the VB program. ie, they see what looks like a PP presentation in their >browser, but he controls the displaying of it. It was loads of fun to make, >if anyone is interested, I'll share my 'technique'. I'll admit I'm patting >myself on the back right now, because I didn't know if I could pull it off >or not. > >Drew >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Thu Sep 4 00:01:54 2003 From: rjhjr at cox.net (Bob Hall) Date: Thu, 4 Sep 2003 01:01:54 -0400 Subject: [AccessD] Secure Power Point Web presentation... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227160@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802227160@main2.marlow.com> Message-ID: <20030904050153.GA28703@kongemord.krig.net> On Wed, Sep 03, 2003 at 07:32:18PM -0500, Drew Wutka wrote: > to download what you have given them. Yes, you could make a streaming media > presentation, but trust me, that's beyond our grasp at the moment, because I What you came up with is probably as secure as streaming. I capture and store streams on a regular basis. They're nothing but UDP packets and there's software available for converting them to files. There's no way you can pass data to someone else's computer and guarantee that they won't capture it. Bob Hall From Erwin.Craps at ithelps.be Thu Sep 4 00:53:40 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 07:53:40 +0200 Subject: [AccessD] Automating excel Message-ID: You could open the file in excel from Access and read/evaluate line by line from Access. Saving to CSV will not help your datatype property. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust Verzonden: woensdag 3 september 2003 22:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Automating excel I'm not even sure you can do that, John. Excel has a nasty habit of changing datatypes no matter what you want it to do. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, September 03, 2003 11:56 AM To: AccessD Subject: [AccessD] Automating excel Has anyone ever automated Excel to save a spreadsheet as TRUE comma delimited text? My issue is that a client's client sends them data. It was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK for data import since it is possible that the data will change datatypes down the spreadsheet and that causes the import to fail without any warning. If I can automate excel to export that same spreadsheet, I suspect that the result would just be text in all cases and so that "datatype change" issue would disappear. Has anyone ever done this? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at eunet.yu Thu Sep 4 01:32:53 2003 From: viner at eunet.yu (Ervin Brindza) Date: Thu, 4 Sep 2003 08:32:53 +0200 Subject: [AccessD] Sort order in report References: <001e01c3721c$c77bdca0$16310cd8@hargrove.internal> <12125338835.20030903153406@cactus.dk> Message-ID: <005b01c372ae$644f4b20$0100a8c0@razvoj> ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: 03 September, 2003 3:34 PM Subject: Re: [AccessD] Sort order in report > Hi Doris and Ervin > > The only way? > > I guess you also could create a query grouping on customer and summing > on ordersize (TotalOrdersize). > Then join this with the old query and use it for the source of the > report where you adjust sorting/grouping accordingly: > > TotalOrdersize DESC > Customer ASC > Gustav, great idea! I'll try to join the queries! Many thanks, yuo are a lifesaver :) Ervin From Erwin.Craps at ithelps.be Thu Sep 4 01:45:34 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 08:45:34 +0200 Subject: [AccessD] Speed up DAO processing Message-ID: OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Sep 4 04:22:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 4 Sep 2003 11:22:06 +0200 Subject: [AccessD] Speed up DAO processing In-Reply-To: <20030903180227.35850.qmail@web20422.mail.yahoo.com> References: <20030903180227.35850.qmail@web20422.mail.yahoo.com> Message-ID: <519706677.20030904112206@cactus.dk> Hi Lonnie > I have four tables. > Table1 is where all the records end up. It starts out empty. > 1. I take all transactions from Table2 and append them into Table1. > 2. I then check each record in Table3 and see if there is a > corresponding record in Table1 based on two fields. If so, then I > edit the existing record in Table1. If not, I add it. > 3. I the do the same as in step 2 for Table4. > I am using DAO recordset processing and use the RS.FindFirst method > to see if records from Table3 or 4 are in Table1. > It appears that this FindFirst method is greatly slowing my process. > Is there a faster way. I pasted my code below if anyone wants to see > it. You should be able to run this with one query for each step. 1. This needs a simple appending query. 2. and 3. These need a combined updating/appending query. Thus, this tip from Smart Access must be for you: Update and Append Records with One Query By Alan Biggs Did you know that you can use an update query in Access to both update and add records at the same time? This is useful if you have two versions of a table, tblOld and tblNew, and you want to integrate the changes from tblNew into tblOld. Follow these steps: 1. Create an update query and add the two tables. Join the two tables by dragging the key field of tblNew onto the matching field of tblOld. 2. Double-click on the relationship and choose the join option that includes all records from tblNew and only those that match from tblOld. 3. Select all the fields from tblOld and drag them onto the QBE grid. 4. For each field, in the Update To cell type in tblNew.FieldName, where FieldName matches the field name of tblOld. 5. Select Query Properties from the View menu and change Unique Records to False. (This switches off the DISTINCTROW option in the SQL view. If you leave this on you'll get only one blank record in your results, but you want one blank record for each new record to be added to tblOld.) 6. Run the query and you'll see the changes to tblNew are now in tblOld. This will only add records to tblOld that have been added to tblNew. Records in tblOld that aren't present in tblNew will still remain in tblOld. I guess this will run at "blazing" speed compared with the DAO code solution. /gustav From HollisVJ at pgdp.usec.com Thu Sep 4 06:14:39 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 06:14:39 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB72@cntexchange.pgdp.usec.com> No, that did not work. For a project that was entered 8/27/03, it shows 12.522 days. The old code shows it 8 days past due, but I need it to show 3 days past due. I hope someone can help me with this because I had a user complain to upper mgmt about this, and it is causing me problems. Va. -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 03, 2003 3:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Virginia, I added some code into your example. Would this work? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - Grace Period A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label '-- Show number of days over 5 that the project review is late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Sep 4 06:33:12 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 06:33:12 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> Ok, I changed the query to the below code, is this the correct way to do this? PastDue: DateDiff("d",[DateEntered],Now())-5 Oh! Get this, I just got an email from mgmt, they want the days past due to count "Buisness Days only". So it does not count weekends & holidays!! I can't figure out how to make it count to 5 let alone skip weekends. :-( Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 04, 2003 6:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period No, that did not work. For a project that was entered 8/27/03, it shows 12.522 days. The old code shows it 8 days past due, but I need it to show 3 days past due. I hope someone can help me with this because I had a user complain to upper mgmt about this, and it is causing me problems. Va. -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 03, 2003 3:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Virginia, I added some code into your example. Would this work? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - Grace Period A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label '-- Show number of days over 5 that the project review is late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Sep 4 06:43:31 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 4 Sep 2003 07:43:31 -0400 Subject: [AccessD] Speed up DAO processing In-Reply-To: Message-ID: BerichtErwin, << SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Although seek is unavailable with linked tables, it's a simple matter to open the remote database and open the table directly: ' ' First, get the path to the MDB for the attached table. ' Set wrk = DBEngine.Workspaces(0) Set dbCurrent = wrk.Databases(0) Set tdfAttached = dbCurrent.TableDefs("tblGeoAllData") strPath = tdfAttached.Connect strPath = right$(strPath, Len(strPath) - InStr(strPath, "=")) Set dbRemote = wrk.OpenDatabase(strPath, False, True) ' ' First, find the postal code. Need to know the country. ' intHaveMatch = True Set rst1 = dbRemote.OpenRecordset("tblGeoAllData", DB_OPEN_TABLE) rst1.index = "PrimaryKey" rst1.Seek "=", CountryCode, PostalCode << SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Totally disagree. Seek is consistently faster then any other method for any version. << The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. >> It's documented in the MSKB that in order for compound indexes to be used, the index must match the sequence of the criteria. If not, the index will not be used and a table scan be performed. It's not a bug, just the way it works. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, September 04, 2003 2:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" -------------- next part -------------- An HTML attachment was scrubbed... URL: From scapistrant at symphonyinfo.com Thu Sep 4 08:11:18 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 4 Sep 2003 08:11:18 -0500 Subject: [AccessD] Secure Power Point Web presentation... In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227161@main2.marlow.com> Message-ID: Have you tried Placeware? It's a collaborative meeting service that, among other things, lets you load slides and share them with an audience in a totally controlled environment. Placeware was an independent company until about 3 months ago when it got eaten up by MS, but I like it. Most licensing agreements are based on a certain fee per month, but you can ask for a per-minute arrangement (we are being charged 45 cents/minute). Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Wednesday, September 03, 2003 9:39 PM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Secure Power Point Web presentation... Looks interesting, but it seems more to be something to prevent people from editing a .ppt. My guy wants to prevent the viewing unless he is controlling it. Even limiting the number of 'viewings' would allow someone to send it to other people, which is what we don't want. Drew -----Original Message----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: 9/3/03 8:34 PM Subject: Re: [AccessD] Secure Power Point Web presentation... How about Secure Pack. There is an option to run a no of times. Trial download. http://www.mvps.org/skp/securepack/index.htm or look through here maybe http://www.mvps.org/skp/index.html Drew Wutka wrote: >Sorry for the OT, but I had to share this. I know there are several >aspiring or current ASP developers, so this may be interesting to some. > >Last week, in the middle of a virus 'eruption', I had someone put in a >request to create a secure Power Point Presentation. In fact, here's the >request: > >I have recently had the need to present sensitive information to a customer >without being able to travel to their site. Normally this would be done via >a PowerPoint presentation at the customer's location. I would not leave >copies with the customer because of the sensitive nature of the material. > >Is is possible to sent up a link to a presentation, possibly converted from >PowerPoint to another format (HTML?), on the Marlow website, so that I could >call the customer, instruct them to go to a specific URL, and while on the >phone, step through the presentation with them. The link would have to be >of such a nature that the customer could not easily save the file without >having to do something exotic like a screen capture. > >I have the opportunity to do this again next week, so your prompt response >is greatly appreciated. > >Thanks, >Bob > > >So I went and talked to him about this. The first part of his request is a >peice of cake, to put a PPT on the web in Office 2k is a snap. However, the >last part is the catcher. He wants to keep it 'secure'. Well, that concept >was right out, because if you put something on the web, the web client HAS >to download what you have given them. Yes, you could make a streaming media >presentation, but trust me, that's beyond our grasp at the moment, because I >sure as heck don't have time to goof with that! After talking with >him, we decided to go with a web page that only displays when he allows it, >that displays the pages he wants displayed, that he virtually controls from >his desk. > >And folks, that's what I made. It's an ASP page that loads the pages he >'commands' from a VB program. It clicks through the page information with >the VB program. ie, they see what looks like a PP presentation in their >browser, but he controls the displaying of it. It was loads of fun to make, >if anyone is interested, I'll share my 'technique'. I'll admit I'm patting >myself on the back right now, because I didn't know if I could pull it off >or not. > >Drew >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 4 08:26:36 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 06:26:36 -0700 Subject: [AccessD] Speed up DAO processing References: Message-ID: <005f01c372e8$2a609e20$6801a8c0@HAL9002> BerichtErwin: I've used RecordsetClone and Bookmark in DAO to advantage sometimes but don't know about the speed. Do you know? Rocky ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, September 03, 2003 11:45 PM Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 4 08:36:29 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 06:36:29 -0700 Subject: [AccessD] Days Past Due - Grace Period References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> Message-ID: <00c301c372e9$8c1097f0$6801a8c0@HAL9002> MessageVirginia: The only way I've found to do this is to loop through the days in code from the first day to the last day, getting the day of the week and incrementing a counter if it's not a Saturday or a Sunday using the Weekday function.. Possibly you could count the days between two dates by building it into a summation query using 'Weekday(thedate)<>vbSaturday and Weekday(thedate)<>vbSunday' as a criterion. Actually, as I think about it, you should make the whole thing a public function, passing the two dates and returning the number of weekdays. Then you could call it from anywhere including in a query. HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: Hollis,Virginia To: 'Access Developers discussion and problem solving' Sent: Thursday, September 04, 2003 4:33 AM Subject: RE: [AccessD] Days Past Due - Grace Period Ok, I changed the query to the below code, is this the correct way to do this? PastDue: DateDiff("d",[DateEntered],Now())-5 Oh! Get this, I just got an email from mgmt, they want the days past due to count "Buisness Days only". So it does not count weekends & holidays!! I can't figure out how to make it count to 5 let alone skip weekends. :-( Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 04, 2003 6:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period No, that did not work. For a project that was entered 8/27/03, it shows 12.522 days. The old code shows it 8 days past due, but I need it to show 3 days past due. I hope someone can help me with this because I had a user complain to upper mgmt about this, and it is causing me problems. Va. -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 03, 2003 3:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Virginia, I added some code into your example. Would this work? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - Grace Period A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label '-- Show number of days over 5 that the project review is late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Sep 4 08:39:25 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 15:39:25 +0200 Subject: [AccessD] Speed up DAO processing Message-ID: Mea culpa, SEEK is a lot faster than findfirst. I just tested this in a almost 1,000,000 records containing table in AXP. findfirst'ing 100 records took average 18 seconds. Seek'ing the same 100 records took average 0,7 seconds... and for fun I tested SQL to (JET), build a sql string, open recordset, close recordset 100 times same records as above. SQL'ling the same 100 records took average 13 seconds. I did tought I tested seek, but I supose that I ignored seek because it can only be used in JET and not with MSSQL. further more it does not support multiple criteria. and you need an index on it. I preparing myself for years now to migrate to SQL server, if I start using newfunctions/ techniques they MUST be compliant for use with SQL server. Mea Culpa again.... Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, September 04, 2003 2:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Sep 4 08:48:32 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 15:48:32 +0200 Subject: [AccessD] Speed up DAO processing Message-ID: You have lost me know... Why would you use recordsetclone and bookmarks to do a bulk update? Recordsetclone is a form functionality, dont see the point using that unless you update your tables based on 1 record in that form. Are you dooing this update for data based on 1 main record in your form? Please explane what you are trying to achieve in non-technical words. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 3:27 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Speed up DAO processing Erwin: I've used RecordsetClone and Bookmark in DAO to advantage sometimes but don't know about the speed. Do you know? Rocky ----- Original Message ----- From: Erwin Craps To: Access Developers discussion and problem solving Sent: Wednesday, September 03, 2003 11:45 PM Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From prodevmg at yahoo.com Thu Sep 4 08:52:33 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 4 Sep 2003 06:52:33 -0700 (PDT) Subject: [AccessD] Speed up DAO processing In-Reply-To: Message-ID: <20030904135233.88579.qmail@web20419.mail.yahoo.com> I sincerly thank all of you for your help. I will attempt to use the SEEK method. I was avoiding it because of having to do the indexing and my need for multiple criteria. Thanks Erwin for your input and yours as well Jim. I will be printing your mails to add to my folder of helpful tips. Jim Dettman wrote: Erwin, << SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Although seek is unavailable with linked tables, it's a simple matter to open the remote database and open the table directly: ' ' First, get the path to the MDB for the attached table. ' Set wrk = DBEngine.Workspaces(0) Set dbCurrent = wrk.Databases(0) Set tdfAttached = dbCurrent.TableDefs("tblGeoAllData") strPath = tdfAttached.Connect strPath = right$(strPath, Len(strPath) - InStr(strPath, "=")) Set dbRemote = wrk.OpenDatabase(strPath, False, True) ' ' First, find the postal code. Need to know the country. ' intHaveMatch = True Set rst1 = dbRemote.OpenRecordset("tblGeoAllData", DB_OPEN_TABLE) rst1.index = "PrimaryKey" rst1.Seek "=", CountryCode, PostalCode << SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Totally disagree. Seek is consistently faster then any other method for any version. << The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. >> It's documented in the MSKB that in order for compound indexes to be used, the index must match the sequence of the criteria. If not, the index will not be used and a table scan be performed. It's not a bug, just the way it works. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, September 04, 2003 2:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Sep 4 08:56:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 4 Sep 2003 15:56:17 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> Message-ID: <10626158083.20030904155617@cactus.dk> Hi Virginia > PastDue: DateDiff("d",[DateEntered],Now())-5 > Oh! Get this, I just got an email from mgmt, they want the days past due to > count "Buisness Days only". So it does not count weekends & holidays!! I > can't figure out how to make it count to 5 let alone skip weekends. :-( Not a big problem. Do as Rocky suggests: use a function to calculate the difference in working days; if this is bigger than five days, fire your boss's request message, if not don't. Look up the archive for August and the subject "Calculating days". /gustav From jimdettman at earthlink.net Thu Sep 4 09:02:47 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 4 Sep 2003 10:02:47 -0400 Subject: [AccessD] Speed up DAO processing In-Reply-To: <20030904135233.88579.qmail@web20419.mail.yahoo.com> Message-ID: Lonnie, <> As Erwin pointed out, there are constraints that come with SEEK that you may not be able to live with, but if you can, it is by far the fastest method of locating a record. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, September 04, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing I sincerly thank all of you for your help. I will attempt to use the SEEK method. I was avoiding it because of having to do the indexing and my need for multiple criteria. Thanks Erwin for your input and yours as well Jim. I will be printing your mails to add to my folder of helpful tips. Jim Dettman wrote: Erwin, << SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Although seek is unavailable with linked tables, it's a simple matter to open the remote database and open the table directly: ' ' First, get the path to the MDB for the attached table. ' Set wrk = DBEngine.Workspaces(0) Set dbCurrent = wrk.Databases(0) Set tdfAttached = dbCurrent.TableDefs("tblGeoAllData") strPath = tdfAttached.Connect strPath = right$(strPath, Len(strPath) - InStr(strPath, "=")) Set dbRemote = wrk.OpenDatabase(strPath, False, True) ' ' First, find the postal code. Need to know the country. ' intHaveMatch = True Set rst1 = dbRemote.OpenRecordset("tblGeoAllData", DB_OPEN_TABLE) rst1.index = "PrimaryKey" rst1.Seek "=", CountryCode, PostalCode << SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Totally disagree. Seek is consistently faster then any other method for any version. << The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. >> It's documented in the MSKB that in order for compound indexes to be used, the index must match the sequence of the criteria. If not, the index will not be used and a table scan be performed. It's not a bug, just the way it works. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, September 04, 2003 2:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Thu Sep 4 09:07:49 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 04 Sep 2003 10:07:49 -0400 Subject: [AccessD] OLE Objects on-the-fly Message-ID: I am trying to link to Word docs on-the-fly (these are screen captures and documents related to the main report data item). The process is; 1.) The user captures something they want to associate to the data item and saves in a folder as a .doc 2.) At that time, I save the path to the doc in a table along with the data item identifier. 3.) The user runs a report and I check the table to see if there are any related docs. 4.) If there are, I create a new ,temporary, report with an unbound OLE frame control that uses the path from the table to link to the doc. 1 control each, for as many docs as there are. Doesn't work...everything is fine until I try to use the Control.Action = AcOLELinked on the control I just created. Access tells me "2771- The Bound or Unbound Object you tried to edit does not contain an OLE object." Well...No Sh#T!! that's kind of the point of all this stinkin' code! The knowledge base says I can do this and does it just the way I'm doing it, with the exception that I am creating the report and the control on-the-fly. TIAM, _D Por Favor Senor,Que Paso?? "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. >Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. It >was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK >for data import since it is possible that the data will change datatypes >down the spreadsheet and that causes the import to fail without any >warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype change" >issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From askolits at ot.com Thu Sep 4 09:12:03 2003 From: askolits at ot.com (John Skolits) Date: Thu, 4 Sep 2003 10:12:03 -0400 Subject: [AccessD] PDF through code - Follow up to Arthur's andCharlotte's pastpostings In-Reply-To: Message-ID: MessageArthur, I contacted them and the SDK version was $900. I'm not sure if that included licensing/distribution. Therefore I'm a bit confused. Where you able to print and specify the destination FileName using VBA or API calls using the version you bought. Could you redistribute? John ----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Tuesday, September 02, 2003 11:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] PDF through code - Follow up to Arthur's andCharlotte's pastpostings I can't quite remember, but I think the standard version was about $75 and the Pro version upgrade an additional hundred. I haven't regretted one penny of it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Skolits Sent: Thursday, August 28, 2003 1:01 PM To: accessd at databaseadvisors.com Subject: [AccessD] PDF through code - Follow up to Arthur's and Charlotte's pastpostings Hey Arthur and Charlotte: Regarding the below postings. What did you pay for you PDF converter? Was it a plug-in or some API calls? Did you buy the developer's kit, and finally how did you handle licensing costs? Thanks John Skolits -------------- next part -------------- An HTML attachment was scrubbed... URL: From shait at mindspring.com Thu Sep 4 09:12:19 2003 From: shait at mindspring.com (Stephen Hait) Date: Thu, 4 Sep 2003 10:12:19 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> Message-ID: <3F571003.15964.2842512C@localhost> Here's a function to calculate number of weekdays between 2 dates: http://www.mvps.org/access/datetime/date0006.htm HTH, Stephen > Ok, I changed the query to the below code, is this the correct way > to do this? > > PastDue: DateDiff("d",[DateEntered],Now())-5 > > Oh! Get this, I just got an email from mgmt, they want the days past > due to count "Buisness Days only". So it does not count weekends & > holidays!! I can't figure out how to make it count to 5 let alone > skip weekends. :-( > > Va. > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Thursday, September 04, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > No, that did not work. For a project that was entered 8/27/03, it > shows 12.522 days. The old code shows it 8 days past due, but I need > it to show 3 days past due. > > I hope someone can help me with this because I had a user complain > to upper mgmt about this, and it is causing me problems. > > Va. > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Wednesday, September 03, 2003 3:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Virginia, I added some code into your example. Would this work? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: > 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - > Grace Period > > > A project review must be completed within 5 days. If a project > review is over 5 days past due and the status is Pending, a label > shows "Past Due & the number of days it is past due". The Past Due > date is based on the date the record was entered into the system. > > Problem: I need the past due label to show not the days past due > from the DateEntered, but count the days Over 5. For example, the > project was entered 8/28/2003, once the project is >= 5 days past > 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 > days. What I really need is the label to show it is past due 1 day, > because they do have a 5 day grace period. I use this on forms & the > reports. > > Virginia > > *************** > Used in the query to determine the number of days past due: > PastDue: DateDiff("d",[DateEntered],Now()) > > OnCurrent of the form: > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > 'Status is pending and review is 5 days past due. > Me!DateEntered.ForeColor = lngRed 'Date entered is red > Me!LateDate.Visible = True ' Show the sad face > Me.DaysPastDue.Visible = True 'Show past due label > '-- Show number of days over 5 that the project review is > late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > Else > Me!DateEntered.ForeColor = lngBlack 'Review is not past due, > Date > Entered is black > Me!LateDate.Visible = False 'No sad face > Me.DaysPastDue.Visible = False 'No past due label. > End If > > From delliker at hotmail.com Thu Sep 4 09:13:12 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 04 Sep 2003 10:13:12 -0400 Subject: [AccessD] Days Past Due - Grace Period Message-ID: Yeah Rocky, as long as Holidays aren't an issue, and eventually they are. Big fun in function land- can you say Easter?? Probably the best bet is to have a table the users can maintain with the company holidays in it. A simple Dlook() on such a small table should be cheap enough. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Days Past Due - Grace Period >Date: Thu, 4 Sep 2003 06:36:29 -0700 > >MessageVirginia: > >The only way I've found to do this is to loop through the days in code from >the first day to the last day, getting the day of the week and incrementing >a counter if it's not a Saturday or a Sunday using the Weekday function.. > >Possibly you could count the days between two dates by building it into a >summation query using 'Weekday(thedate)<>vbSaturday and >Weekday(thedate)<>vbSunday' as a criterion. > >Actually, as I think about it, you should make the whole thing a public >function, passing the two dates and returning the number of weekdays. Then >you could call it from anywhere including in a query. > >HTH > > >Rocky Smolin >Beach Access Software > > ----- Original Message ----- > From: Hollis,Virginia > To: 'Access Developers discussion and problem solving' > Sent: Thursday, September 04, 2003 4:33 AM > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Ok, I changed the query to the below code, is this the correct way to do >this? > > PastDue: DateDiff("d",[DateEntered],Now())-5 > > Oh! Get this, I just got an email from mgmt, they want the days past due >to count "Buisness Days only". So it does not count weekends & holidays!! I >can't figure out how to make it count to 5 let alone skip weekends. :-( > > Va. > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Thursday, September 04, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > No, that did not work. For a project that was entered 8/27/03, it >shows 12.522 days. The old code shows it 8 days past due, but I need it to >show 3 days past due. > > I hope someone can help me with this because I had a user complain to >upper mgmt about this, and it is causing me problems. > > Va. > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Wednesday, September 03, 2003 3:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Virginia, I added some code into your example. Would this work? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia > Sent: Wednesday, September 03, 2003 1:25 PM > To: 'accessD at databaseadvisors.com' > Subject: [AccessD] Days Past Due - Grace Period > > > A project review must be completed within 5 days. If a project >review is over 5 days past due and the status is Pending, a label shows >"Past Due & the number of days it is past due". The Past Due date is based >on the date the record was entered into the system. > > Problem: I need the past due label to show not the days past due >from the DateEntered, but count the days Over 5. For example, the project >was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on >9/4/2003 the label shows this project is past due 6 days. What I really >need is the label to show it is past due 1 day, because they do have a 5 >day grace period. I use this on forms & the reports. > > Virginia > > *************** > Used in the query to determine the number of days past due: > PastDue: DateDiff("d",[DateEntered],Now()) > > OnCurrent of the form: > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then >'Status is pending and review is 5 days past due. > Me!DateEntered.ForeColor = lngRed 'Date entered is red > Me!LateDate.Visible = True ' Show the sad face > Me.DaysPastDue.Visible = True 'Show past due label > '-- Show number of days over 5 that the project review is >late > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > Else > Me!DateEntered.ForeColor = lngBlack 'Review is not past >due, Date Entered is black > Me!LateDate.Visible = False 'No sad face > Me.DaysPastDue.Visible = False 'No past due label. > End If > > >------------------------------------------------------------------------------ > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Fast, faster, fastest: Upgrade to Cable or DSL today! https://broadband.msn.com From bchacc at san.rr.com Thu Sep 4 09:36:16 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 07:36:16 -0700 Subject: [AccessD] Days Past Due - Grace Period References: Message-ID: <010101c372f1$e5dc2300$6801a8c0@HAL9002> That's how I do it in my manufacturing system where I have to calculate start date from due date minus lead time. I have a user maintainable holiday calendar as well as allowing them to select which days are work days. So the function which calculates Order Date from Due Date skips around the non-work days and holidays. Real PITA. Rocky ----- Original Message ----- From: "Don Elliker" To: Sent: Thursday, September 04, 2003 7:13 AM Subject: Re: [AccessD] Days Past Due - Grace Period > Yeah Rocky, as long as Holidays aren't an issue, and eventually they are. > Big fun in function land- can you say Easter?? Probably the best bet is to > have a table the users can maintain with the company holidays in it. A > simple Dlook() on such a small table should be cheap enough. > _D > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Days Past Due - Grace Period > >Date: Thu, 4 Sep 2003 06:36:29 -0700 > > > >MessageVirginia: > > > >The only way I've found to do this is to loop through the days in code from > >the first day to the last day, getting the day of the week and incrementing > >a counter if it's not a Saturday or a Sunday using the Weekday function.. > > > >Possibly you could count the days between two dates by building it into a > >summation query using 'Weekday(thedate)<>vbSaturday and > >Weekday(thedate)<>vbSunday' as a criterion. > > > >Actually, as I think about it, you should make the whole thing a public > >function, passing the two dates and returning the number of weekdays. Then > >you could call it from anywhere including in a query. > > > >HTH > > > > > >Rocky Smolin > >Beach Access Software > > > > ----- Original Message ----- > > From: Hollis,Virginia > > To: 'Access Developers discussion and problem solving' > > Sent: Thursday, September 04, 2003 4:33 AM > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Ok, I changed the query to the below code, is this the correct way to do > >this? > > > > PastDue: DateDiff("d",[DateEntered],Now())-5 > > > > Oh! Get this, I just got an email from mgmt, they want the days past due > >to count "Buisness Days only". So it does not count weekends & holidays!! I > >can't figure out how to make it count to 5 let alone skip weekends. :-( > > > > Va. > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Thursday, September 04, 2003 6:15 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > No, that did not work. For a project that was entered 8/27/03, it > >shows 12.522 days. The old code shows it 8 days past due, but I need it to > >show 3 days past due. > > > > I hope someone can help me with this because I had a user complain to > >upper mgmt about this, and it is causing me problems. > > > > Va. > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Wednesday, September 03, 2003 3:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Virginia, I added some code into your example. Would this work? > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia > > Sent: Wednesday, September 03, 2003 1:25 PM > > To: 'accessD at databaseadvisors.com' > > Subject: [AccessD] Days Past Due - Grace Period > > > > > > A project review must be completed within 5 days. If a project > >review is over 5 days past due and the status is Pending, a label shows > >"Past Due & the number of days it is past due". The Past Due date is based > >on the date the record was entered into the system. > > > > Problem: I need the past due label to show not the days past due > >from the DateEntered, but count the days Over 5. For example, the project > >was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on > >9/4/2003 the label shows this project is past due 6 days. What I really > >need is the label to show it is past due 1 day, because they do have a 5 > >day grace period. I use this on forms & the reports. > > > > Virginia > > > > *************** > > Used in the query to determine the number of days past due: > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > OnCurrent of the form: > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > >'Status is pending and review is 5 days past due. > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > Me!LateDate.Visible = True ' Show the sad face > > Me.DaysPastDue.Visible = True 'Show past due label > > '-- Show number of days over 5 that the project review is > >late > > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > Else > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > >due, Date Entered is black > > Me!LateDate.Visible = False 'No sad face > > Me.DaysPastDue.Visible = False 'No past due label. > > End If > > > > > >--------------------------------------------------------------------------- --- > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Fast, faster, fastest: Upgrade to Cable or DSL today! > https://broadband.msn.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Sep 4 09:38:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 07:38:31 -0700 Subject: [AccessD] Query Results Too Big? Message-ID: <011801c372f2$363486d0$6801a8c0@HAL9002> Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From markamatte at hotmail.com Thu Sep 4 09:40:39 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 04 Sep 2003 14:40:39 +0000 Subject: [AccessD] Automating excel Message-ID: John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. >Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. It >was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK >for data import since it is possible that the data will change datatypes >down the spreadsheet and that causes the import to fail without any >warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype change" >issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com From jimdettman at earthlink.net Thu Sep 4 09:51:56 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 4 Sep 2003 10:51:56 -0400 Subject: [AccessD] Query Results Too Big? In-Reply-To: <011801c372f2$363486d0$6801a8c0@HAL9002> Message-ID: Rocky, << I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. >> What type of query is it? If it's creating a snapshot of the data, then you could easily run out of disk space. How much free space do you have on your drive? I've done queries with 1,500,000 records without problems. << Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? >> The only one I'm aware of is the 2048 table reference limit and the fact that it must "compile" (Microsoft's term not mine) into a memory space slightly larger then 64K (they have never said how much larger). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 4 10:22:51 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 08:22:51 -0700 Subject: [AccessD] Query Results Too Big? References: Message-ID: <015b01c372f8$67e4ce50$6801a8c0@HAL9002> Jim: I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit is any indication. If the temp tables holding the query results are inside the db then quite possibly is hitting the Access limit without using up all the hd space? It's a select query. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Jim Dettman To: Access Developers discussion and problem solving Sent: Thursday, September 04, 2003 7:51 AM Subject: RE: [AccessD] Query Results Too Big? Rocky, << I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. >> What type of query is it? If it's creating a snapshot of the data, then you could easily run out of disk space. How much free space do you have on your drive? I've done queries with 1,500,000 records without problems. << Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? >> The only one I'm aware of is the 2048 table reference limit and the fact that it must "compile" (Microsoft's term not mine) into a memory space slightly larger then 64K (they have never said how much larger). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From prodevmg at yahoo.com Thu Sep 4 10:46:05 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 4 Sep 2003 08:46:05 -0700 (PDT) Subject: [AccessD] Speed up DAO processing In-Reply-To: Message-ID: <20030904154605.67825.qmail@web20422.mail.yahoo.com> Thanks again. I'm going to try the query process. I have a question. One of my issues is that Table1 where all the transactions go has many fields that get filled dynamically based on a field in the other tables like so... Table1 has fields... "Client", "2003R", "2003F", "2003P" Table2 has... "Client", "PE", "Amount" Table2 Data Client PE Amount ABC 2003Rx 5 DEF 2003Px 6 XYZ 2003Fx 4 My update query should make Table1 look like... Client 2003R 2003F 2003P ABC 5 DEF 6 XYZ 4 See I have to dynamically select the field that the AMOUNT is going into by whats in a field in the from table. I don't know how to dynamically determine the field name with an SQL statement. This is what I tried... DoCmd.RunSQL "INSERT INTO Table1( Client, Left([PE],4))SELECT Client, Amount FROM Table2" This is why I was using the recordset method because I could dynamically determine the field name with each iteration. Any further advise would be appreciated. Jim Dettman wrote:Lonnie, <> As Erwin pointed out, there are constraints that come with SEEK that you may not be able to live with, but if you can, it is by far the fastest method of locating a record. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, September 04, 2003 9:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing I sincerly thank all of you for your help. I will attempt to use the SEEK method. I was avoiding it because of having to do the indexing and my need for multiple criteria. Thanks Erwin for your input and yours as well Jim. I will be printing your mails to add to my folder of helpful tips. Jim Dettman wrote: Erwin, << SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Although seek is unavailable with linked tables, it's a simple matter to open the remote database and open the table directly: ' ' First, get the path to the MDB for the attached table. ' Set wrk = DBEngine.Workspaces(0) Set dbCurrent = wrk.Databases(0) Set tdfAttached = dbCurrent.TableDefs("tblGeoAllData") strPath = tdfAttached.Connect strPath = right$(strPath, Len(strPath) - InStr(strPath, "=")) Set dbRemote = wrk.OpenDatabase(strPath, False, True) ' ' First, find the postal code. Need to know the country. ' intHaveMatch = True Set rst1 = dbRemote.OpenRecordset("tblGeoAllData", DB_OPEN_TABLE) rst1.index = "PrimaryKey" rst1.Seek "=", CountryCode, PostalCode << SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. >> Totally disagree. Seek is consistently faster then any other method for any version. << The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. >> It's documented in the MSKB that in order for compound indexes to be used, the index must match the sequence of the criteria. If not, the index will not be used and a table scan be performed. It's not a bug, just the way it works. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Thursday, September 04, 2003 2:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software_______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Sep 4 10:50:17 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 10:50:17 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB98@cntexchange.pgdp.usec.com> I tried a search on this page, for Calculating Days. But nothing happens, I don't think the search is working. I entered it at the top of the page & in the middle of the text. http://www.databaseadvisors.com/archive/archive.htm# -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 04, 2003 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Virginia > PastDue: DateDiff("d",[DateEntered],Now())-5 > Oh! Get this, I just got an email from mgmt, they want the days past due to > count "Buisness Days only". So it does not count weekends & holidays!! I > can't figure out how to make it count to 5 let alone skip weekends. :-( Not a big problem. Do as Rocky suggests: use a function to calculate the difference in working days; if this is bigger than five days, fire your boss's request message, if not don't. Look up the archive for August and the subject "Calculating days". /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 4 10:54:24 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 4 Sep 2003 11:54:24 -0400 Subject: [AccessD] Query Results Too Big? Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD768C@xlivmbx12.aig.com> Check these kBase articles. They might address your problem http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 They all talk about the same problem, exceeding the MaxLocksPerFile value and how to fix it. Lambert > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 04, 2003 11:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > Jim: > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit > is any indication. If the temp tables holding the query results are > inside the db then quite possibly is hitting the Access limit without > using up all the hd space? It's a select query. > > Regards, > > Rocky Smolin > Beach Access Software > > > ----- Original Message ----- > From: Jim Dettman > To: Access Developers discussion and problem solving > > Sent: Thursday, September 04, 2003 7:51 AM > Subject: RE: [AccessD] Query Results Too Big? > > > Rocky, > > << > I have a query which is the record source for a report which > eventually craps out with the message 'Not enough space on temporary disk' > or some such. The query is joining 2 tables which each have over 2 > million records. > >> > > What type of query is it? If it's creating a snapshot of the data, > then you could easily run out of disk space. How much free space do you > have on your drive? I've done queries with 1,500,000 records without > problems. > > << > Is there a limit to how big a query result Access can generate? Is > there a setting to increase the limit? > >> > > The only one I'm aware of is the 2048 table reference limit and > the fact that it must "compile" (Microsoft's term not mine) into a memory > space slightly larger then 64K (they have never said how much larger). > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Thursday, September 04, 2003 10:39 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Query Results Too Big? > > > Dear List: > > I have a query which is the record source for a report which > eventually craps out with the message 'Not enough space on temporary disk' > or some such. The query is joining 2 tables which each have over 2 > million records. > > Is there a limit to how big a query result Access can > generate? Is there a setting to increase the limit? > > I think I may have reached the limit of Access and am > looking now for other ways to give the user what they want. Short of > going to MSDE. > > TIA > > Rocky Smolin > Beach Access Software > > > > _____ > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > << File: ATT7209042.txt >> From bheid at appdevgrp.com Thu Sep 4 10:59:03 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Sep 2003 11:59:03 -0400 Subject: [AccessD] Query Results Too Big? In-Reply-To: <916187228923D311A6FE00A0CC3FAA305DC34F@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE0A@ADGSERVER> Rocky, I'm just guessing here, but isn't there a 2GB limit on files in most OSes have a 2GB limit? If so, and Access is creating a temporary file, you may be hitting that limit. Maybe if you check your temp directory when you get that message, you'll be able to see a temporary file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Jim: I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit is any indication. If the temp tables holding the query results are inside the db then quite possibly is hitting the Access limit without using up all the hd space? It's a select query. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Jim Dettman To: Access Developers discussion and problem solving Sent: Thursday, September 04, 2003 7:51 AM Subject: RE: [AccessD] Query Results Too Big? Rocky, << I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. >> What type of query is it? If it's creating a snapshot of the data, then you could easily run out of disk space. How much free space do you have on your drive? I've done queries with 1,500,000 records without problems. << Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? >> The only one I'm aware of is the 2048 table reference limit and the fact that it must "compile" (Microsoft's term not mine) into a memory space slightly larger then 64K (they have never said how much larger). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Sep 4 10:59:51 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 17:59:51 +0200 Subject: [AccessD] Automating excel Message-ID: If you have mixed types in one column, you gonna have trouble. Only way to be sure is line by line validation in Excel.. Can be done from access.. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 4:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. >It was comma delimited text. Now it's a spreadsheet. Spreadsheets >SUCK for data import since it is possible that the data will change >datatypes down the spreadsheet and that causes the import to fail >without any warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype >change" issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.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 Sep 4 11:02:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 4 Sep 2003 18:02:12 +0200 Subject: [AccessD] Speed up DAO processing In-Reply-To: <20030904154605.67825.qmail@web20422.mail.yahoo.com> References: <20030904154605.67825.qmail@web20422.mail.yahoo.com> Message-ID: <8233712485.20030904180212@cactus.dk> Hi Lonnie In that case you may be better off with DAO and Seek. /gustav > I'm going to try the query process. I have a question. One of my issues is that Table1 where all the transactions go has many fields that get filled dynamically based on a field in the other tables > like so... > Table1 has fields... > "Client", "2003R", "2003F", "2003P" > Table2 has... > "Client", "PE", "Amount" > Table2 Data > Client PE Amount > ABC 2003Rx 5 > DEF 2003Px 6 > XYZ 2003Fx 4 > My update query should make Table1 look like... > Client 2003R 2003F 2003P > ABC 5 > DEF 6 > XYZ 4 > See I have to dynamically select the field that the AMOUNT is going into by whats in a field in the from table. I don't know how to dynamically determine the field name with an SQL statement. This > is what I tried... > DoCmd.RunSQL "INSERT INTO Table1( Client, Left([PE],4))SELECT Client, Amount FROM Table2" > This is why I was using the recordset method because I could dynamically determine the field name with each iteration. From gustav at cactus.dk Thu Sep 4 11:04:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 4 Sep 2003 18:04:41 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB98@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB98@cntexchange.pgdp.usec.com> Message-ID: <14533861790.20030904180441@cactus.dk> Hi Virginia I think Search is searching the site, not the archive. Pick the link to the month ordered by subject. /gustav > I tried a search on this page, for Calculating Days. But nothing happens, I > don't think the search is working. I entered it at the top of the page & in > the middle of the text. > http://www.databaseadvisors.com/archive/archive.htm# > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, September 04, 2003 8:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Days Past Due - Grace Period > Hi Virginia >> PastDue: DateDiff("d",[DateEntered],Now())-5 >> Oh! Get this, I just got an email from mgmt, they want the days past due >> to >> count "Buisness Days only". So it does not count weekends & holidays!! I >> can't figure out how to make it count to 5 let alone skip weekends. :-( > Not a big problem. Do as Rocky suggests: use a function to calculate > the difference in working days; if this is bigger than five days, fire > your boss's request message, if not don't. > Look up the archive for August and the subject "Calculating days". > /gustav From Erwin.Craps at ithelps.be Thu Sep 4 11:05:58 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 18:05:58 +0200 Subject: [AccessD] Query Results Too Big? Message-ID: This could be an os problem to... Check if in you temp folder (usualy c:\temp or c:\winnt\temp or c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local Settings\Temp) you have a lot of temp files. Delete everything in there (first close all apps). When using W9x you have a maximum of x files in a folder. It is posible that you have to much lost files. I can also be a disk corruption. Scandisk your drive after deleting those temp files. And while we are on the road, do a defrag... Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, September 04, 2003 5:54 PM To: 'Access Developers discussion and problem solving' Cc: 'bchacc at san.rr.com' Subject: RE: [AccessD] Query Results Too Big? Check these kBase articles. They might address your problem http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 They all talk about the same problem, exceeding the MaxLocksPerFile value and how to fix it. Lambert > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 04, 2003 11:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > Jim: > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > limit is any indication. If the temp tables holding the query results > are inside the db then quite possibly is hitting the Access limit > without using up all the hd space? It's a select query. > > Regards, > > Rocky Smolin > Beach Access Software > > > ----- Original Message ----- > From: Jim Dettman > To: Access Developers discussion and problem solving > > Sent: Thursday, September 04, 2003 7:51 AM > Subject: RE: [AccessD] Query Results Too Big? > > > Rocky, > > << > I have a query which is the record source for a report which > eventually craps out with the message 'Not enough space on temporary > disk' or some such. The query is joining 2 tables which each have > over 2 million records. > >> > > What type of query is it? If it's creating a snapshot of the data, > then you could easily run out of disk space. How much free space do > you have on your drive? I've done queries with 1,500,000 records > without problems. > > << > Is there a limit to how big a query result Access can generate? Is > there a setting to increase the limit? > >> > > The only one I'm aware of is the 2048 table reference limit and the > fact that it must "compile" (Microsoft's term not mine) into a memory > space slightly larger then 64K (they have never said how much larger). > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, September 04, 2003 10:39 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Query Results Too Big? > > > Dear List: > > I have a query which is the record source for a report which > eventually craps out with the message 'Not enough space on temporary > disk' or some such. The query is joining 2 tables which each have > over 2 million records. > > Is there a limit to how big a query result Access can generate? Is > there a setting to increase the limit? > > I think I may have reached the limit of Access and am looking now > for other ways to give the user what they want. Short of going to > MSDE. > > TIA > > Rocky Smolin > Beach Access Software > > > > _____ > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > << File: ATT7209042.txt >> _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 4 11:07:25 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 18:07:25 +0200 Subject: [AccessD] Query Results Too Big? Message-ID: 2GB limit on FAT16, not sure for FAT32 (I believe so). NTFS is no prob. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Thursday, September 04, 2003 5:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Query Results Too Big? Rocky, I'm just guessing here, but isn't there a 2GB limit on files in most OSes have a 2GB limit? If so, and Access is creating a temporary file, you may be hitting that limit. Maybe if you check your temp directory when you get that message, you'll be able to see a temporary file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Jim: I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit is any indication. If the temp tables holding the query results are inside the db then quite possibly is hitting the Access limit without using up all the hd space? It's a select query. Regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Jim Dettman To: Access Developers discussion and problem solving Sent: Thursday, September 04, 2003 7:51 AM Subject: RE: [AccessD] Query Results Too Big? Rocky, << I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. >> What type of query is it? If it's creating a snapshot of the data, then you could easily run out of disk space. How much free space do you have on your drive? I've done queries with 1,500,000 records without problems. << Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? >> The only one I'm aware of is the 2048 table reference limit and the fact that it must "compile" (Microsoft's term not mine) into a memory space slightly larger then 64K (they have never said how much larger). Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Thu Sep 4 11:09:12 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 18:09:12 +0200 Subject: [AccessD] Speed up DAO processing Message-ID: Why why why..... Why is findfirst slower than seek... Does findfirst not use the indexes? I'm sure about the multiple criteria thing in findfirst. I noticed huge delays when using two or more criterias on fields both had indexes and experimeted with the compound indexes (multiple fields in one combined index). So I wrote a routine with first an SQL build querie in a loop and then findfirst loop with only one criteria. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, September 04, 2003 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Thu Sep 4 11:21:39 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 11:21:39 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB9B@cntexchange.pgdp.usec.com> What do I have to do to make this work from the form &/or report? Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Thursday, September 04, 2003 9:12 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period Here's a function to calculate number of weekdays between 2 dates: http://www.mvps.org/access/datetime/date0006.htm HTH, Stephen > Ok, I changed the query to the below code, is this the correct way > to do this? > > PastDue: DateDiff("d",[DateEntered],Now())-5 > > Oh! Get this, I just got an email from mgmt, they want the days past > due to count "Buisness Days only". So it does not count weekends & > holidays!! I can't figure out how to make it count to 5 let alone > skip weekends. :-( > > Va. > > -----Original Message----- > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > Sent: Thursday, September 04, 2003 6:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > No, that did not work. For a project that was entered 8/27/03, it > shows 12.522 days. The old code shows it 8 days past due, but I need > it to show 3 days past due. > > I hope someone can help me with this because I had a user complain > to upper mgmt about this, and it is causing me problems. > > Va. > > -----Original Message----- > From: Dan Waters [mailto:dwaters at usinternet.com] > Sent: Wednesday, September 03, 2003 3:24 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Virginia, I added some code into your example. Would this work? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: > 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - > Grace Period > > > A project review must be completed within 5 days. If a project > review is over 5 days past due and the status is Pending, a label > shows "Past Due & the number of days it is past due". The Past Due > date is based on the date the record was entered into the system. > > Problem: I need the past due label to show not the days past due > from the DateEntered, but count the days Over 5. For example, the > project was entered 8/28/2003, once the project is >= 5 days past > 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 > days. What I really need is the label to show it is past due 1 day, > because they do have a 5 day grace period. I use this on forms & the > reports. > > Virginia > > *************** > Used in the query to determine the number of days past due: > PastDue: DateDiff("d",[DateEntered],Now()) > > OnCurrent of the form: > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > 'Status is pending and review is 5 days past due. > Me!DateEntered.ForeColor = lngRed 'Date entered is red > Me!LateDate.Visible = True ' Show the sad face > Me.DaysPastDue.Visible = True 'Show past due label > '-- Show number of days over 5 that the project review is > late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > Else > Me!DateEntered.ForeColor = lngBlack 'Review is not past due, > Date > Entered is black > Me!LateDate.Visible = False 'No sad face > Me.DaysPastDue.Visible = False 'No past due label. > End If > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Sep 4 11:36:38 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 11:36:38 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB9D@cntexchange.pgdp.usec.com> I tried that, all I saw was Calculate Age. I opened that post and this is all that was in it: Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 1219 bytes Desc: not available Url : http://databaseadvisors.com/pipermail/accessd/attachments/20030808/b5d3a562/ attachment.jpeg Any ideas??? Va. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 04, 2003 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Virginia I think Search is searching the site, not the archive. Pick the link to the month ordered by subject. /gustav > I tried a search on this page, for Calculating Days. But nothing happens, I > don't think the search is working. I entered it at the top of the page & in > the middle of the text. > http://www.databaseadvisors.com/archive/archive.htm# > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, September 04, 2003 8:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Days Past Due - Grace Period > Hi Virginia >> PastDue: DateDiff("d",[DateEntered],Now())-5 >> Oh! Get this, I just got an email from mgmt, they want the days past due >> to >> count "Buisness Days only". So it does not count weekends & holidays!! I >> can't figure out how to make it count to 5 let alone skip weekends. :-( > Not a big problem. Do as Rocky suggests: use a function to calculate > the difference in working days; if this is bigger than five days, fire > your boss's request message, if not don't. > Look up the archive for August and the subject "Calculating days". > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 4 11:43:32 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 09:43:32 -0700 Subject: [AccessD] Query Results Too Big? References: Message-ID: <01d501c37303$ad512be0$6801a8c0@HAL9002> I'm using WXP and I don't see a WINNT folder. But I do see two files named hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what they are? They were updated this AM when I turned on the machine. TIA Rocky ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 9:05 AM Subject: RE: [AccessD] Query Results Too Big? > This could be an os problem to... > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > Settings\Temp) you have a lot of temp files. > Delete everything in there (first close all apps). > > When using W9x you have a maximum of x files in a folder. It is posible > that you have to much lost files. > > I can also be a disk corruption. Scandisk your drive after deleting > those temp files. > > And while we are on the road, do a defrag... > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Thursday, September 04, 2003 5:54 PM > To: 'Access Developers discussion and problem solving' > Cc: 'bchacc at san.rr.com' > Subject: RE: [AccessD] Query Results Too Big? > > > Check these kBase articles. They might address your problem > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > They all talk about the same problem, exceeding the MaxLocksPerFile > value and how to fix it. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 11:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > Jim: > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > limit is any indication. If the temp tables holding the query results > > > are inside the db then quite possibly is hitting the Access limit > > without using up all the hd space? It's a select query. > > > > Regards, > > > > Rocky Smolin > > Beach Access Software > > > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > >> > > > > What type of query is it? If it's creating a snapshot of the > data, > > then you could easily run out of disk space. How much free space do > > you have on your drive? I've done queries with 1,500,000 records > > without problems. > > > > << > > Is there a limit to how big a query result Access can generate? > Is > > there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit > and the > > fact that it must "compile" (Microsoft's term not mine) into a memory > > space slightly larger then 64K (they have never said how much larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > > > - Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report > which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > > > Is there a limit to how big a query result Access can > generate? Is > > there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am > looking now > > for other ways to give the user what they want. Short of going to > > MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > > > > > _____ > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > << File: ATT7209042.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Thu Sep 4 11:49:10 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Sep 2003 12:49:10 -0400 Subject: [AccessD] Query Results Too Big? In-Reply-To: <916187228923D311A6FE00A0CC3FAA305DC3B0@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE0B@ADGSERVER> One is your paging file, the other must store system data when hibernating. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? I'm using WXP and I don't see a WINNT folder. But I do see two files named hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what they are? They were updated this AM when I turned on the machine. TIA Rocky ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 9:05 AM Subject: RE: [AccessD] Query Results Too Big? > This could be an os problem to... > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > Settings\Temp) you have a lot of temp files. > Delete everything in there (first close all apps). > > When using W9x you have a maximum of x files in a folder. It is > posible that you have to much lost files. > > I can also be a disk corruption. Scandisk your drive after deleting > those temp files. > > And while we are on the road, do a defrag... > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Thursday, September 04, 2003 5:54 PM > To: 'Access Developers discussion and problem solving' > Cc: 'bchacc at san.rr.com' > Subject: RE: [AccessD] Query Results Too Big? > > > Check these kBase articles. They might address your problem > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > They all talk about the same problem, exceeding the MaxLocksPerFile > value and how to fix it. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 11:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > Jim: > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > limit is any indication. If the temp tables holding the query > > results > > > are inside the db then quite possibly is hitting the Access limit > > without using up all the hd space? It's a select query. > > > > Regards, > > > > Rocky Smolin > > Beach Access Software > > > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > >> > > > > What type of query is it? If it's creating a snapshot of the > data, > > then you could easily run out of disk space. How much free space do > > you have on your drive? I've done queries with 1,500,000 records > > without problems. > > > > << > > Is there a limit to how big a query result Access can generate? > Is > > there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit > and the > > fact that it must "compile" (Microsoft's term not mine) into a > > memory space slightly larger then 64K (they have never said how much > > larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > Smolin > > > - Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report > which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > > > Is there a limit to how big a query result Access can > generate? Is > > there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am > looking now > > for other ways to give the user what they want. Short of going to > > MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > > > > > _____ > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > << File: ATT7209042.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Sep 4 11:54:04 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Sep 2003 09:54:04 -0700 Subject: [AccessD] Query Results Too Big? Message-ID: That's interesting. I run WinXP and I don't have either file on my system. However, we're using NTFS so if you're using FAT32, that might make a difference. WXP has a WINDOWS folder instead of WINNT. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 04, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? I'm using WXP and I don't see a WINNT folder. But I do see two files named hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what they are? They were updated this AM when I turned on the machine. TIA Rocky ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 9:05 AM Subject: RE: [AccessD] Query Results Too Big? > This could be an os problem to... > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > Settings\Temp) you have a lot of temp files. > Delete everything in there (first close all apps). > > When using W9x you have a maximum of x files in a folder. It is > posible that you have to much lost files. > > I can also be a disk corruption. Scandisk your drive after deleting > those temp files. > > And while we are on the road, do a defrag... > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Thursday, September 04, 2003 5:54 PM > To: 'Access Developers discussion and problem solving' > Cc: 'bchacc at san.rr.com' > Subject: RE: [AccessD] Query Results Too Big? > > > Check these kBase articles. They might address your problem > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > They all talk about the same problem, exceeding the MaxLocksPerFile > value and how to fix it. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 11:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > Jim: > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > limit is any indication. If the temp tables holding the query > > results > > > are inside the db then quite possibly is hitting the Access limit > > without using up all the hd space? It's a select query. > > > > Regards, > > > > Rocky Smolin > > Beach Access Software > > > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > >> > > > > What type of query is it? If it's creating a snapshot of the > data, > > then you could easily run out of disk space. How much free space do > > you have on your drive? I've done queries with 1,500,000 records > > without problems. > > > > << > > Is there a limit to how big a query result Access can generate? > Is > > there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit > and the > > fact that it must "compile" (Microsoft's term not mine) into a > > memory space slightly larger then 64K (they have never said how much > > larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > Smolin > > > - Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report > which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > > > Is there a limit to how big a query result Access can > generate? Is > > there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am > looking now > > for other ways to give the user what they want. Short of going to > > MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > > > > > _____ > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > << File: ATT7209042.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 4 11:59:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 09:59:15 -0700 Subject: [AccessD] Query Results Too Big? References: <916187228923D311A6FE00A0CC3FAA305BAE0B@ADGSERVER> Message-ID: <022601c37305$dfbbe690$6801a8c0@HAL9002> Do you know if they can they be deleted? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 04, 2003 9:49 AM Subject: RE: [AccessD] Query Results Too Big? > One is your paging file, the other must store system data when hibernating. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Thursday, September 04, 2003 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > I'm using WXP and I don't see a WINNT folder. But I do see two files named > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what > they are? They were updated this AM when I turned on the machine. > > TIA > > Rocky > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 9:05 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > This could be an os problem to... > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > Settings\Temp) you have a lot of temp files. > > Delete everything in there (first close all apps). > > > > When using W9x you have a maximum of x files in a folder. It is > > posible that you have to much lost files. > > > > I can also be a disk corruption. Scandisk your drive after deleting > > those temp files. > > > > And while we are on the road, do a defrag... > > > > Erwin > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > Lambert > > Sent: Thursday, September 04, 2003 5:54 PM > > To: 'Access Developers discussion and problem solving' > > Cc: 'bchacc at san.rr.com' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Check these kBase articles. They might address your problem > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > value and how to fix it. > > > > Lambert > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 04, 2003 11:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Jim: > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > > limit is any indication. If the temp tables holding the query > > > results > > > > > are inside the db then quite possibly is hitting the Access limit > > > without using up all the hd space? It's a select query. > > > > > > Regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > ----- Original Message ----- > > > From: Jim Dettman > > > To: Access Developers discussion and problem solving > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Rocky, > > > > > > << > > > I have a query which is the record source for a report which > > > eventually craps out with the message 'Not enough space on temporary > > > disk' or some such. The query is joining 2 tables which each have > > > over 2 million records. > > > >> > > > > > > What type of query is it? If it's creating a snapshot of the > > data, > > > then you could easily run out of disk space. How much free space do > > > you have on your drive? I've done queries with 1,500,000 records > > > without problems. > > > > > > << > > > Is there a limit to how big a query result Access can generate? > > Is > > > there a setting to increase the limit? > > > >> > > > > > > The only one I'm aware of is the 2048 table reference limit > > and the > > > fact that it must "compile" (Microsoft's term not mine) into a > > > memory space slightly larger then 64K (they have never said how much > > > larger). > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > Smolin > > > > > - Beach Access Software > > > Sent: Thursday, September 04, 2003 10:39 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > Dear List: > > > > > > I have a query which is the record source for a report > > which > > > eventually craps out with the message 'Not enough space on temporary > > > disk' or some such. The query is joining 2 tables which each have > > > over 2 million records. > > > > > > Is there a limit to how big a query result Access can > > generate? Is > > > there a setting to increase the limit? > > > > > > I think I may have reached the limit of Access and am > > looking now > > > for other ways to give the user what they want. Short of going to > > > MSDE. > > > > > > TIA > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > << File: ATT7209042.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Thu Sep 4 12:00:52 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 4 Sep 2003 13:00:52 -0400 Subject: [AccessD] Automating excel In-Reply-To: Message-ID: This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. >Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. It >was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK >for data import since it is possible that the data will change datatypes >down the spreadsheet and that causes the import to fail without any >warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype change" >issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Sep 4 12:02:20 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 04 Sep 2003 12:02:20 -0500 Subject: [AccessD] Query Results Too Big? Message-ID: Do you have more than one drive? I have had this kind of message when I was working on my D: drive with sufficient space available but my C: drive was too full. Seems as this temporary work space was on the C: drive - might have been in C:\Temp, not sure though. I did a search for files modified in the last day and found the files it was creating. I'm not sure they were MDB files, seems as though they were a different extension. Things get squirrelly when you get under 10% free on the main OS drive. I often do queries with as many as 6 million rows in a table and a couple a hundred thousand in another. I would also wonder if you are somehow getting some kind of a cartesan product type of a result.....Check your joins and make sure your not joining something where they all join to everything in the other table. PS - sorriy if this posts multiple times - been getting "server to busy" messages from HOTMAIL when I try to send it.....seems as if they didn't go through so I kept trying - this is send attempt #3 Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] Query Results Too Big? >Date: Thu, 4 Sep 2003 08:22:51 -0700 > >Jim: > >I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit >is any indication. If the temp tables holding the query results are inside >the db then quite possibly is hitting the Access limit without using up all >the hd space? It's a select query. > >Regards, > >Rocky Smolin >Beach Access Software > > ----- Original Message ----- > From: Jim Dettman > To: Access Developers discussion and problem solving > Sent: Thursday, September 04, 2003 7:51 AM > Subject: RE: [AccessD] Query Results Too Big? > > > Rocky, > > << > I have a query which is the record source for a report which eventually >craps out with the message 'Not enough space on temporary disk' or some >such. The query is joining 2 tables which each have over 2 million >records. > >> > > What type of query is it? If it's creating a snapshot of the data, >then you could easily run out of disk space. How much free space do you >have on your drive? I've done queries with 1,500,000 records without >problems. > > << > Is there a limit to how big a query result Access can generate? Is >there a setting to increase the limit? > >> > > The only one I'm aware of is the 2048 table reference limit and the >fact that it must "compile" (Microsoft's term not mine) into a memory space >slightly larger then 64K (they have never said how much larger). > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - >Beach Access Software > Sent: Thursday, September 04, 2003 10:39 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Query Results Too Big? > > > Dear List: > > I have a query which is the record source for a report which >eventually craps out with the message 'Not enough space on temporary disk' >or some such. The query is joining 2 tables which each have over 2 million >records. > > Is there a limit to how big a query result Access can generate? Is >there a setting to increase the limit? > > I think I may have reached the limit of Access and am looking now for >other ways to give the user what they want. Short of going to MSDE. > > TIA > > Rocky Smolin > Beach Access Software > _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From gustav at cactus.dk Thu Sep 4 12:05:08 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 4 Sep 2003 19:05:08 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB9D@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB9D@cntexchange.pgdp.usec.com> Message-ID: <16437488525.20030904190508@cactus.dk> Hi Virginia Sorry, July ...: http://databaseadvisors.com/pipermail/accessd/2003-July/010336.html /gustav > I tried that, all I saw was Calculate Age. .. From bheid at appdevgrp.com Thu Sep 4 12:15:06 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Sep 2003 13:15:06 -0400 Subject: [AccessD] Query Results Too Big? In-Reply-To: <916187228923D311A6FE00A0CC3FAA305DC3C0@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE0C@ADGSERVER> I don't think that you CAN delete the page file from within windows. Nor do you want to. It is a file that the OS uses during its operation. I am not sure about the other file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Do you know if they can they be deleted? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 04, 2003 9:49 AM Subject: RE: [AccessD] Query Results Too Big? > One is your paging file, the other must store system data when hibernating. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Thursday, September 04, 2003 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > I'm using WXP and I don't see a WINNT folder. But I do see two files named > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what > they are? They were updated this AM when I turned on the machine. > > TIA > > Rocky > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 9:05 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > This could be an os problem to... > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > Settings\Temp) you have a lot of temp files. > > Delete everything in there (first close all apps). > > > > When using W9x you have a maximum of x files in a folder. It is > > posible that you have to much lost files. > > > > I can also be a disk corruption. Scandisk your drive after deleting > > those temp files. > > > > And while we are on the road, do a defrag... > > > > Erwin > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > Lambert > > Sent: Thursday, September 04, 2003 5:54 PM > > To: 'Access Developers discussion and problem solving' > > Cc: 'bchacc at san.rr.com' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Check these kBase articles. They might address your problem > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > value and how to fix it. > > > > Lambert > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 04, 2003 11:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Jim: > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > db limit is any indication. If the temp tables holding the query > > > results > > > > > are inside the db then quite possibly is hitting the Access limit > > > without using up all the hd space? It's a select query. > > > > > > Regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > ----- Original Message ----- > > > From: Jim Dettman > > > To: Access Developers discussion and problem solving > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Rocky, > > > > > > << > > > I have a query which is the record source for a report which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > >> > > > > > > What type of query is it? If it's creating a snapshot of the > > data, > > > then you could easily run out of disk space. How much free space > > > do you have on your drive? I've done queries with 1,500,000 > > > records without problems. > > > > > > << > > > Is there a limit to how big a query result Access can generate? > > Is > > > there a setting to increase the limit? > > > >> > > > > > > The only one I'm aware of is the 2048 table reference limit > > and the > > > fact that it must "compile" (Microsoft's term not mine) into a > > > memory space slightly larger then 64K (they have never said how > > > much larger). > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > Smolin > > > > > - Beach Access Software > > > Sent: Thursday, September 04, 2003 10:39 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > Dear List: > > > > > > I have a query which is the record source for a report > > which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > > > > Is there a limit to how big a query result Access can > > generate? Is > > > there a setting to increase the limit? > > > > > > I think I may have reached the limit of Access and am > > looking now > > > for other ways to give the user what they want. Short of going to > > > MSDE. > > > > > > TIA > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > << File: ATT7209042.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.be Thu Sep 4 12:31:09 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 19:31:09 +0200 Subject: [AccessD] Query Results Too Big? Message-ID: For wxp check C:\windows\temp and C:\documents and settings\[YOUR_USER_NAME]\Local settings\temp Delete everything in those temp folderS. But if your disk was NTFS formatted you should not the file quantity limit problem. But anyway make those folders empty. Pagefile.sys is your windows swap file, that you need and can not may not delete. Hyberfile is needed when your computers hybernation is activated. That not sleeping (stand bye) mode but rather freeze mode... If you hibernate your pc your RAM is written to disk, no power comsumption at that time. In stand bye mode your RAM is still getting power to substain the dat in RAM. All other activities are stopped or put to a low level. Hybernate is not of much use on a fix desktop. You can turn hybernating of in the power setting of your control panel. The hybernate file will be automaticly deleted, saving space on your disk. The hybernate file has the +/- same size as your RAM. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 6:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? I'm using WXP and I don't see a WINNT folder. But I do see two files named hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what they are? They were updated this AM when I turned on the machine. TIA Rocky ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 9:05 AM Subject: RE: [AccessD] Query Results Too Big? > This could be an os problem to... > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > Settings\Temp) you have a lot of temp files. > Delete everything in there (first close all apps). > > When using W9x you have a maximum of x files in a folder. It is > posible that you have to much lost files. > > I can also be a disk corruption. Scandisk your drive after deleting > those temp files. > > And while we are on the road, do a defrag... > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Thursday, September 04, 2003 5:54 PM > To: 'Access Developers discussion and problem solving' > Cc: 'bchacc at san.rr.com' > Subject: RE: [AccessD] Query Results Too Big? > > > Check these kBase articles. They might address your problem > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > They all talk about the same problem, exceeding the MaxLocksPerFile > value and how to fix it. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 11:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > Jim: > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > limit is any indication. If the temp tables holding the query > > results > > > are inside the db then quite possibly is hitting the Access limit > > without using up all the hd space? It's a select query. > > > > Regards, > > > > Rocky Smolin > > Beach Access Software > > > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > >> > > > > What type of query is it? If it's creating a snapshot of the > data, > > then you could easily run out of disk space. How much free space do > > you have on your drive? I've done queries with 1,500,000 records > > without problems. > > > > << > > Is there a limit to how big a query result Access can generate? > Is > > there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit > and the > > fact that it must "compile" (Microsoft's term not mine) into a > > memory space slightly larger then 64K (they have never said how much > > larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > Smolin > > > - Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report > which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > > > Is there a limit to how big a query result Access can > generate? Is > > there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am > looking now > > for other ways to give the user what they want. Short of going to > > MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > > > > > _____ > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > << File: ATT7209042.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Sep 4 12:31:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Sep 2003 10:31:18 -0700 Subject: [AccessD] Query Results Too Big? Message-ID: The page file can be changed by going to the System applet in the control panel and selecting the Advanced tab. Click on Settings for Performance Options, then select the advanced tabin the dialog. The bottom section is Virtual Memory, and the Change button will allow you to resize the paging file. If you have multiple drive, you can put a small paging file (2MB) on C: and put a larger one on D:. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 04, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Query Results Too Big? I don't think that you CAN delete the page file from within windows. Nor do you want to. It is a file that the OS uses during its operation. I am not sure about the other file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Do you know if they can they be deleted? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 04, 2003 9:49 AM Subject: RE: [AccessD] Query Results Too Big? > One is your paging file, the other must store system data when hibernating. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Thursday, September 04, 2003 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > I'm using WXP and I don't see a WINNT folder. But I do see two files named > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what > they are? They were updated this AM when I turned on the machine. > > TIA > > Rocky > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 9:05 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > This could be an os problem to... > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > Settings\Temp) you have a lot of temp files. > > Delete everything in there (first close all apps). > > > > When using W9x you have a maximum of x files in a folder. It is > > posible that you have to much lost files. > > > > I can also be a disk corruption. Scandisk your drive after deleting > > those temp files. > > > > And while we are on the road, do a defrag... > > > > Erwin > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > Lambert > > Sent: Thursday, September 04, 2003 5:54 PM > > To: 'Access Developers discussion and problem solving' > > Cc: 'bchacc at san.rr.com' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Check these kBase articles. They might address your problem > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > value and how to fix it. > > > > Lambert > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 04, 2003 11:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Jim: > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > db limit is any indication. If the temp tables holding the query > > > results > > > > > are inside the db then quite possibly is hitting the Access limit > > > without using up all the hd space? It's a select query. > > > > > > Regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > ----- Original Message ----- > > > From: Jim Dettman > > > To: Access Developers discussion and problem solving > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Rocky, > > > > > > << > > > I have a query which is the record source for a report which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > >> > > > > > > What type of query is it? If it's creating a snapshot of the > > data, > > > then you could easily run out of disk space. How much free space > > > do you have on your drive? I've done queries with 1,500,000 > > > records without problems. > > > > > > << > > > Is there a limit to how big a query result Access can generate? > > Is > > > there a setting to increase the limit? > > > >> > > > > > > The only one I'm aware of is the 2048 table reference limit > > and the > > > fact that it must "compile" (Microsoft's term not mine) into a > > > memory space slightly larger then 64K (they have never said how > > > much larger). > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > Smolin > > > > > - Beach Access Software > > > Sent: Thursday, September 04, 2003 10:39 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > Dear List: > > > > > > I have a query which is the record source for a report > > which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > > > > Is there a limit to how big a query result Access can > > generate? Is > > > there a setting to increase the limit? > > > > > > I think I may have reached the limit of Access and am > > looking now > > > for other ways to give the user what they want. Short of going to > > > MSDE. > > > > > > TIA > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > << File: ATT7209042.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.be Thu Sep 4 12:32:18 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 19:32:18 +0200 Subject: [AccessD] Query Results Too Big? Message-ID: You always have a pagefile. The files are hidden system files. If you do't turn those options on in explorer you dont see them. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 04, 2003 6:54 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query Results Too Big? That's interesting. I run WinXP and I don't have either file on my system. However, we're using NTFS so if you're using FAT32, that might make a difference. WXP has a WINDOWS folder instead of WINNT. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 04, 2003 8:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? I'm using WXP and I don't see a WINNT folder. But I do see two files named hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what they are? They were updated this AM when I turned on the machine. TIA Rocky ----- Original Message ----- From: "Erwin Craps" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 9:05 AM Subject: RE: [AccessD] Query Results Too Big? > This could be an os problem to... > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > Settings\Temp) you have a lot of temp files. > Delete everything in there (first close all apps). > > When using W9x you have a maximum of x files in a folder. It is > posible that you have to much lost files. > > I can also be a disk corruption. Scandisk your drive after deleting > those temp files. > > And while we are on the road, do a defrag... > > Erwin > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Thursday, September 04, 2003 5:54 PM > To: 'Access Developers discussion and problem solving' > Cc: 'bchacc at san.rr.com' > Subject: RE: [AccessD] Query Results Too Big? > > > Check these kBase articles. They might address your problem > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > They all talk about the same problem, exceeding the MaxLocksPerFile > value and how to fix it. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 11:23 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > Jim: > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > limit is any indication. If the temp tables holding the query > > results > > > are inside the db then quite possibly is hitting the Access limit > > without using up all the hd space? It's a select query. > > > > Regards, > > > > Rocky Smolin > > Beach Access Software > > > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > >> > > > > What type of query is it? If it's creating a snapshot of the > data, > > then you could easily run out of disk space. How much free space do > > you have on your drive? I've done queries with 1,500,000 records > > without problems. > > > > << > > Is there a limit to how big a query result Access can generate? > Is > > there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit > and the > > fact that it must "compile" (Microsoft's term not mine) into a > > memory space slightly larger then 64K (they have never said how much > > larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > Smolin > > > - Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report > which > > eventually craps out with the message 'Not enough space on temporary > > disk' or some such. The query is joining 2 tables which each have > > over 2 million records. > > > > Is there a limit to how big a query result Access can > generate? Is > > there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am > looking now > > for other ways to give the user what they want. Short of going to > > MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > > > > > _____ > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > << File: ATT7209042.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Thu Sep 4 12:33:58 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Thu, 04 Sep 2003 12:33:58 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBA4@cntexchange.pgdp.usec.com> Alright! Got it. I see why you knew about it in the archives, you wrote it :-) How do I make it work from my form & reports? Does it have to have an input field for the dates? Or will it work from the table field dates - DateEntered & Now() Va. -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 04, 2003 12:05 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Virginia Sorry, July ...: http://databaseadvisors.com/pipermail/accessd/2003-July/010336.html /gustav > I tried that, all I saw was Calculate Age. .. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Sep 4 12:38:29 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 19:38:29 +0200 Subject: [AccessD] Automating excel Message-ID: John Don't export from Excel to afterwards import in Access. Write some code in your Access app to browse to the excel file, Create a object to excel Open the file Open a table in access Than you have the choice A) first read and verify all lines in Excel Add record by record in the table (this means twice reading all lines, but you can refuse to import before actualy updating. This give a faster user response in case of trouble. Or B) read line by line and add to table line by line. (once reading You can even give a error message to the user and pointing to the cell which contains the error. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 04, 2003 7:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Automating excel This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. >It was comma delimited text. Now it's a spreadsheet. Spreadsheets >SUCK for data import since it is possible that the data will change >datatypes down the spreadsheet and that causes the import to fail >without any warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype >change" issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Thu Sep 4 12:46:56 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Sep 2003 13:46:56 -0400 Subject: [AccessD] Query Results Too Big? In-Reply-To: <916187228923D311A6FE00A0CC3FAA305DC3E9@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE0D@ADGSERVER> And to expand on what Charlotte said... If you move the page file to another physical drive not on the same EIDE channel, you can realize a performance increase. It helps if the page file is the only file that uses that partion on that drive. I always set up my machines that way with a dedicated partition on another drive. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 04, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query Results Too Big? The page file can be changed by going to the System applet in the control panel and selecting the Advanced tab. Click on Settings for Performance Options, then select the advanced tabin the dialog. The bottom section is Virtual Memory, and the Change button will allow you to resize the paging file. If you have multiple drive, you can put a small paging file (2MB) on C: and put a larger one on D:. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Thursday, September 04, 2003 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Query Results Too Big? I don't think that you CAN delete the page file from within windows. Nor do you want to. It is a file that the OS uses during its operation. I am not sure about the other file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Do you know if they can they be deleted? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 04, 2003 9:49 AM Subject: RE: [AccessD] Query Results Too Big? > One is your paging file, the other must store system data when hibernating. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Thursday, September 04, 2003 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > I'm using WXP and I don't see a WINNT folder. But I do see two files named > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea what > they are? They were updated this AM when I turned on the machine. > > TIA > > Rocky > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 9:05 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > This could be an os problem to... > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > Settings\Temp) you have a lot of temp files. > > Delete everything in there (first close all apps). > > > > When using W9x you have a maximum of x files in a folder. It is > > posible that you have to much lost files. > > > > I can also be a disk corruption. Scandisk your drive after deleting > > those temp files. > > > > And while we are on the road, do a defrag... > > > > Erwin > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > Lambert > > Sent: Thursday, September 04, 2003 5:54 PM > > To: 'Access Developers discussion and problem solving' > > Cc: 'bchacc at san.rr.com' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Check these kBase articles. They might address your problem > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > value and how to fix it. > > > > Lambert > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software > > > [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 04, 2003 11:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Jim: > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > db limit is any indication. If the temp tables holding the query > > > results > > > > > are inside the db then quite possibly is hitting the Access limit > > > without using up all the hd space? It's a select query. > > > > > > Regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > ----- Original Message ----- > > > From: Jim Dettman > > > To: Access Developers discussion and problem solving > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Rocky, > > > > > > << > > > I have a query which is the record source for a report which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > >> > > > > > > What type of query is it? If it's creating a snapshot of the > > data, > > > then you could easily run out of disk space. How much free space > > > do you have on your drive? I've done queries with 1,500,000 > > > records without problems. > > > > > > << > > > Is there a limit to how big a query result Access can generate? > > Is > > > there a setting to increase the limit? > > > >> > > > > > > The only one I'm aware of is the 2048 table reference limit > > and the > > > fact that it must "compile" (Microsoft's term not mine) into a > > > memory space slightly larger then 64K (they have never said how > > > much larger). > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > Smolin > > > > > - Beach Access Software > > > Sent: Thursday, September 04, 2003 10:39 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > Dear List: > > > > > > I have a query which is the record source for a report > > which > > > eventually craps out with the message 'Not enough space on > > > temporary disk' or some such. The query is joining 2 tables which > > > each have over 2 million records. > > > > > > Is there a limit to how big a query result Access can > > generate? Is > > > there a setting to increase the limit? > > > > > > I think I may have reached the limit of Access and am > > looking now > > > for other ways to give the user what they want. Short of going to > > > MSDE. > > > > > > TIA > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > << File: ATT7209042.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 4 12:49:26 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 4 Sep 2003 13:49:26 -0400 Subject: [AccessD] Query Results Too Big? Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD768E@xlivmbx12.aig.com> hiberfil.sys is used by the system when you hibernate you machine (I love hibernation, saves a bunch of time in restarting and all the proggies you had running are back in place in one step). pagefil.sys is the systems virtual memory file. Do not mess with either of these files. You need them, but you don't ever need to touch them. Lambert > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 04, 2003 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > I'm using WXP and I don't see a WINNT folder. But I do see two files > named > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea > what > they are? They were updated this AM when I turned on the machine. > > TIA > > Rocky > > ----- Original Message ----- > From: "Erwin Craps" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 9:05 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > This could be an os problem to... > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > Settings\Temp) you have a lot of temp files. > > Delete everything in there (first close all apps). > > > > When using W9x you have a maximum of x files in a folder. It is posible > > that you have to much lost files. > > > > I can also be a disk corruption. Scandisk your drive after deleting > > those temp files. > > > > And while we are on the road, do a defrag... > > > > Erwin > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > Lambert > > Sent: Thursday, September 04, 2003 5:54 PM > > To: 'Access Developers discussion and problem solving' > > Cc: 'bchacc at san.rr.com' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Check these kBase articles. They might address your problem > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > value and how to fix it. > > > > Lambert > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 04, 2003 11:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Jim: > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > > limit is any indication. If the temp tables holding the query results > > > > > are inside the db then quite possibly is hitting the Access limit > > > without using up all the hd space? It's a select query. > > > > > > Regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > ----- Original Message ----- > > > From: Jim Dettman > > > To: Access Developers discussion and problem solving > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Rocky, > > > > > > << > > > I have a query which is the record source for a report which > > > eventually craps out with the message 'Not enough space on temporary > > > disk' or some such. The query is joining 2 tables which each have > > > over 2 million records. > > > >> > > > > > > What type of query is it? If it's creating a snapshot of the > > data, > > > then you could easily run out of disk space. How much free space do > > > you have on your drive? I've done queries with 1,500,000 records > > > without problems. > > > > > > << > > > Is there a limit to how big a query result Access can generate? > > Is > > > there a setting to increase the limit? > > > >> > > > > > > The only one I'm aware of is the 2048 table reference limit > > and the > > > fact that it must "compile" (Microsoft's term not mine) into a memory > > > space slightly larger then 64K (they have never said how much larger). > > > > > > Jim Dettman > > > President, > > > Online Computer Services of WNY, Inc. > > > (315) 699-3443 > > > jimdettman at earthlink.net > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > > > > > - Beach Access Software > > > Sent: Thursday, September 04, 2003 10:39 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > Dear List: > > > > > > I have a query which is the record source for a report > > which > > > eventually craps out with the message 'Not enough space on temporary > > > disk' or some such. The query is joining 2 tables which each have > > > over 2 million records. > > > > > > Is there a limit to how big a query result Access can > > generate? Is > > > there a setting to increase the limit? > > > > > > I think I may have reached the limit of Access and am > > looking now > > > for other ways to give the user what they want. Short of going to > > > MSDE. > > > > > > TIA > > > > > > Rocky Smolin > > > Beach Access Software > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > << File: ATT7209042.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 4 12:59:08 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 10:59:08 -0700 Subject: [AccessD] Query Results Too Big? References: Message-ID: <024101c3730e$3d6017f0$6801a8c0@HAL9002> Nope. All one big drive. Rocky ----- Original Message ----- From: "Gary Kjos" To: Sent: Thursday, September 04, 2003 10:02 AM Subject: Re: [AccessD] Query Results Too Big? > Do you have more than one drive? > > I have had this kind of message when I was working on my D: drive with > sufficient space available but my C: drive was too full. Seems as this > temporary work space was on the C: drive - might have been in C:\Temp, not > sure though. I did a search for files modified in the last day and found the > files it was creating. I'm not sure they were MDB files, seems as though > they were a different extension. Things get squirrelly when you get under > 10% free on the main OS drive. > > I often do queries with as many as 6 million rows in a table and a couple a > hundred thousand in another. I would also wonder if you are somehow getting > some kind of a cartesan product type of a result.....Check your joins and > make sure your not joining something where they all join to everything in > the other table. > > PS - sorriy if this posts multiple times - been getting "server to busy" > messages from HOTMAIL when I try to send it.....seems as if they didn't go > through so I kept trying - this is send attempt #3 > > Gary Kjos > garykjos at hotmail.com > > > > >From: "Rocky Smolin - Beach Access Software" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] Query Results Too Big? > >Date: Thu, 4 Sep 2003 08:22:51 -0700 > > > >Jim: > > > >I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db limit > >is any indication. If the temp tables holding the query results are inside > >the db then quite possibly is hitting the Access limit without using up all > >the hd space? It's a select query. > > > >Regards, > > > >Rocky Smolin > >Beach Access Software > > > > ----- Original Message ----- > > From: Jim Dettman > > To: Access Developers discussion and problem solving > > Sent: Thursday, September 04, 2003 7:51 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > Rocky, > > > > << > > I have a query which is the record source for a report which eventually > >craps out with the message 'Not enough space on temporary disk' or some > >such. The query is joining 2 tables which each have over 2 million > >records. > > >> > > > > What type of query is it? If it's creating a snapshot of the data, > >then you could easily run out of disk space. How much free space do you > >have on your drive? I've done queries with 1,500,000 records without > >problems. > > > > << > > Is there a limit to how big a query result Access can generate? Is > >there a setting to increase the limit? > > >> > > > > The only one I'm aware of is the 2048 table reference limit and the > >fact that it must "compile" (Microsoft's term not mine) into a memory space > >slightly larger then 64K (they have never said how much larger). > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > >Beach Access Software > > Sent: Thursday, September 04, 2003 10:39 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Query Results Too Big? > > > > > > Dear List: > > > > I have a query which is the record source for a report which > >eventually craps out with the message 'Not enough space on temporary disk' > >or some such. The query is joining 2 tables which each have over 2 million > >records. > > > > Is there a limit to how big a query result Access can generate? Is > >there a setting to increase the limit? > > > > I think I may have reached the limit of Access and am looking now for > >other ways to give the user what they want. Short of going to MSDE. > > > > TIA > > > > Rocky Smolin > > Beach Access Software > > > > _________________________________________________________________ > Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. > http://join.msn.com/?PAGE=features/es > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From backroad at idir.net Thu Sep 4 13:00:48 2003 From: backroad at idir.net (Backroads Data) Date: Thu, 4 Sep 2003 13:00:48 -0500 Subject: [AccessD] Using MailTo: hyperlink in form; need carriage returns in body text Message-ID: <00ee01c3730e$8f316020$6501a8c0@Julie> Hello group, Using Mailto: protocol in a hyperlink, I'm including the email address, subject line, and body text. Is there a way to include carriage returns in the text? Here's the situation: There's a textbox on a form that contains 4 lines of text; this text block is built through code and uses the vbNewLine variable after each line. The contents of the textbox look like this on the form: Name: John Doe Business: Backroads Farrier Service Shortterm Code: 7083-603-718-5836 Request Code: F003-B863-A003 After the textbox contents are built, it sets the hyperlink property of a command button on the form, like this (watch word wrap): Me!btnEmail.HyperlinkAddress = "mailto:info at backroadsdata.coml?subject=Lifetime License Request&body=" & Me!txtRequest When the button is clicked, an email is created, and the message body section contains the text from the form, but it looks like this: Name: John DoeBusiness: Backroads Farrier ServiceShortterm Code: 7083-603-718-5836Request Code: F003-B863-A003 Is there anyway to embed something the email will recognize as a carriage return, so that it appears in the message on 4 distinct lines? (I've tried Chr(13) & Chr(10) as well as vbNewLine when building the textbox.) Thanks! Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 From bchacc at san.rr.com Thu Sep 4 13:02:22 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 11:02:22 -0700 Subject: [AccessD] Query Results Too Big? References: Message-ID: <025501c3730e$b0c8ec80$6801a8c0@HAL9002> Guess I'll just leave those two files alone. Actually wouldn't performance be enhanced the larger the swapping file is? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 10:31 AM Subject: RE: [AccessD] Query Results Too Big? > The page file can be changed by going to the System applet in the > control panel and selecting the Advanced tab. Click on Settings for > Performance Options, then select the advanced tabin the dialog. The > bottom section is Virtual Memory, and the Change button will allow you > to resize the paging file. If you have multiple drive, you can put a > small paging file (2MB) on C: and put a larger one on D:. > > Charlotte Foust > > -----Original Message----- > From: Bobby Heid [mailto:bheid at appdevgrp.com] > Sent: Thursday, September 04, 2003 9:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Query Results Too Big? > > > I don't think that you CAN delete the page file from within windows. > Nor do you want to. It is a file that the OS uses during its operation. > I am not sure about the other file. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, September 04, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > Do you know if they can they be deleted? > > Rocky > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, September 04, 2003 9:49 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > One is your paging file, the other must store system data when > hibernating. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Thursday, September 04, 2003 12:44 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > I'm using WXP and I don't see a WINNT folder. But I do see two files > named > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea > what > > they are? They were updated this AM when I turned on the machine. > > > > TIA > > > > Rocky > > > > ----- Original Message ----- > > From: "Erwin Craps" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 04, 2003 9:05 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > This could be an os problem to... > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > > Settings\Temp) you have a lot of temp files. > > > Delete everything in there (first close all apps). > > > > > > When using W9x you have a maximum of x files in a folder. It is > > > posible that you have to much lost files. > > > > > > I can also be a disk corruption. Scandisk your drive after deleting > > > those temp files. > > > > > > And while we are on the road, do a defrag... > > > > > > Erwin > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > > Lambert > > > Sent: Thursday, September 04, 2003 5:54 PM > > > To: 'Access Developers discussion and problem solving' > > > Cc: 'bchacc at san.rr.com' > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > > value and how to fix it. > > > > > > Lambert > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software > > > > [SMTP:bchacc at san.rr.com] > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > Jim: > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > > db limit is any indication. If the temp tables holding the query > > > > results > > > > > > > are inside the db then quite possibly is hitting the Access limit > > > > without using up all the hd space? It's a select query. > > > > > > > > Regards, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > ----- Original Message ----- > > > > From: Jim Dettman > > > > To: Access Developers discussion and problem solving > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Rocky, > > > > > > > > << > > > > I have a query which is the record source for a report which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables which > > > > > each have over 2 million records. > > > > >> > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > data, > > > > then you could easily run out of disk space. How much free space > > > > do you have on your drive? I've done queries with 1,500,000 > > > > records without problems. > > > > > > > > << > > > > Is there a limit to how big a query result Access can generate? > > > Is > > > > there a setting to increase the limit? > > > > >> > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > and the > > > > fact that it must "compile" (Microsoft's term not mine) into a > > > > memory space slightly larger then 64K (they have never said how > > > > much larger). > > > > > > > > Jim Dettman > > > > President, > > > > Online Computer Services of WNY, Inc. > > > > (315) 699-3443 > > > > jimdettman at earthlink.net > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > > Smolin > > > > > > > - Beach Access Software > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > Dear List: > > > > > > > > I have a query which is the record source for a report > > > which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables which > > > > > each have over 2 million records. > > > > > > > > Is there a limit to how big a query result Access can > > > generate? Is > > > > there a setting to increase the limit? > > > > > > > > I think I may have reached the limit of Access and am > > > looking now > > > > for other ways to give the user what they want. Short of going to > > > > MSDE. > > > > > > > > TIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > << File: ATT7209042.txt >> > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From lyle.hannum at co.wake.nc.us Thu Sep 4 13:07:58 2003 From: lyle.hannum at co.wake.nc.us (lyle.hannum at co.wake.nc.us) Date: Thu, 4 Sep 2003 14:07:58 -0400 Subject: [AccessD] Automating excel Message-ID: John Our shop has also used Erwin's approach, with a twist perhaps. From Access we open Excel and import the text file. As with you, the problem of changing datatypes arises here. However, as a last step before importing from Excel to Access, we insert at row 2 some text that we can recognize as not belonging (ie: we fill all the columns with "Delete Me"). This will force all data to be imported to Access (into a temp table) as text, utilizing the TransferSpreadsheet command. From here we can change datatypes (cdate etc) in an append querry to our final table. This may be the long way around the pond, but it has proved to user friendly and reliable. Just a note, this is all in Access/Excel 2000 with txt files that are delimited in a non standard way (there is a whole set of code in Excel VBA to handle that portion). Lyle "Erwin Craps" To: "Access Developers discussion and problem Sent by: solving" accessd-bounces at databasead cc: visors.com Subject: RE: [AccessD] Automating excel 09/04/03 01:38 PM Please respond to Access Developers discussion and problem solving John Don't export from Excel to afterwards import in Access. Write some code in your Access app to browse to the excel file, Create a object to excel Open the file Open a table in access Than you have the choice A) first read and verify all lines in Excel Add record by record in the table (this means twice reading all lines, but you can refuse to import before actualy updating. This give a faster user response in case of trouble. Or B) read line by line and add to table line by line. (once reading You can even give a error message to the user and pointing to the cell which contains the error. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 04, 2003 7:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Automating excel This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. >It was comma delimited text. Now it's a spreadsheet. Spreadsheets >SUCK for data import since it is possible that the data will change >datatypes down the spreadsheet and that causes the import to fail >without any warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype >change" issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mwp.Reid at Queens-Belfast.AC.UK Thu Sep 4 13:11:05 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu, 04 Sep 2003 19:11:05 +0100 (BST) Subject: [AccessD] Query Results Too Big? In-Reply-To: <025501c3730e$b0c8ec80$6801a8c0@HAL9002> References: <025501c3730e$b0c8ec80$6801a8c0@HAL9002> Message-ID: <1062699065.3f5780395bb8b@hosea.qub.ac.uk> Rocky Youcantry thisbutIhavenoideawhat happens(<: You'll need to turn off the "Enable Hibernate" by going to: Start->Settings->Control Panel->Power Options and then select the "Hibernate" Tab and De-Select the "Enable Hibernation" check box. After you do this WinXP will delete the hiberfil.sys file next time you re-boot. Martin Quoting Rocky Smolin - Beach Access Software : > Guess I'll just leave those two files alone. Actually wouldn't > performance > be enhanced the larger the swapping file is? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 10:31 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > The page file can be changed by going to the System applet in the > > control panel and selecting the Advanced tab. Click on Settings for > > Performance Options, then select the advanced tabin the dialog. The > > bottom section is Virtual Memory, and the Change button will allow > you > > to resize the paging file. If you have multiple drive, you can put > a > > small paging file (2MB) on C: and put a larger one on D:. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Bobby Heid [mailto:bheid at appdevgrp.com] > > Sent: Thursday, September 04, 2003 9:15 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > I don't think that you CAN delete the page file from within windows. > > Nor do you want to. It is a file that the OS uses during its > operation. > > I am not sure about the other file. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > > - Beach Access Software > > Sent: Thursday, September 04, 2003 12:59 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Do you know if they can they be deleted? > > > > Rocky > > > > ----- Original Message ----- > > From: "Bobby Heid" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Thursday, September 04, 2003 9:49 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > One is your paging file, the other must store system data when > > hibernating. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: Thursday, September 04, 2003 12:44 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > > I'm using WXP and I don't see a WINNT folder. But I do see two > files > > named > > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any > idea > > what > > > they are? They were updated this AM when I turned on the machine. > > > > > > TIA > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Erwin Craps" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, September 04, 2003 9:05 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > This could be an os problem to... > > > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > > c:\windows\temp and/or C:\Documents and > Settings\[USERNAME]\Local > > > > Settings\Temp) you have a lot of temp files. > > > > Delete everything in there (first close all apps). > > > > > > > > When using W9x you have a maximum of x files in a folder. It is > > > > posible that you have to much lost files. > > > > > > > > I can also be a disk corruption. Scandisk your drive after > deleting > > > > those temp files. > > > > > > > > And while we are on the road, do a defrag... > > > > > > > > Erwin > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, > > > > Lambert > > > > Sent: Thursday, September 04, 2003 5:54 PM > > > > To: 'Access Developers discussion and problem solving' > > > > Cc: 'bchacc at san.rr.com' > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > > > They all talk about the same problem, exceeding the > MaxLocksPerFile > > > > value and how to fix it. > > > > > > > > Lambert > > > > > > > > > -----Original Message----- > > > > > From: Rocky Smolin - Beach Access Software > > > > > [SMTP:bchacc at san.rr.com] > > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > > > Jim: > > > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB > Access > > > > > db limit is any indication. If the temp tables holding the > query > > > > > results > > > > > > > > > are inside the db then quite possibly is hitting the Access > limit > > > > > without using up all the hd space? It's a select query. > > > > > > > > > > Regards, > > > > > > > > > > Rocky Smolin > > > > > Beach Access Software > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: Jim Dettman > > > > > To: Access Developers discussion and problem solving > > > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > > > > Rocky, > > > > > > > > > > << > > > > > I have a query which is the record source for a report which > > > > > eventually craps out with the message 'Not enough space on > > > > > temporary disk' or some such. The query is joining 2 tables > which > > > > > > > each have over 2 million records. > > > > > >> > > > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > > data, > > > > > then you could easily run out of disk space. How much free > space > > > > > do you have on your drive? I've done queries with 1,500,000 > > > > > records without problems. > > > > > > > > > > << > > > > > Is there a limit to how big a query result Access can > generate? > > > > Is > > > > > there a setting to increase the limit? > > > > > >> > > > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > > and the > > > > > fact that it must "compile" (Microsoft's term not mine) into a > > > > > memory space slightly larger then 64K (they have never said > how > > > > > much larger). > > > > > > > > > > Jim Dettman > > > > > President, > > > > > Online Computer Services of WNY, Inc. > > > > > (315) 699-3443 > > > > > jimdettman at earthlink.net > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky > > > > > Smolin > > > > > > > > > - Beach Access Software > > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > I have a query which is the record source for a report > > > > which > > > > > eventually craps out with the message 'Not enough space on > > > > > temporary disk' or some such. The query is joining 2 tables > which > > > > > > > each have over 2 million records. > > > > > > > > > > Is there a limit to how big a query result Access can > > > > generate? Is > > > > > there a setting to increase the limit? > > > > > > > > > > I think I may have reached the limit of Access and am > > > > looking now > > > > > for other ways to give the user what they want. Short of going > to > > > > > MSDE. > > > > > > > > > > TIA > > > > > > > > > > Rocky Smolin > > > > > Beach Access Software > > > > > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > << File: ATT7209042.txt >> > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mwp.Reid at Queens-Belfast.AC.UK Thu Sep 4 13:12:06 2003 From: Mwp.Reid at Queens-Belfast.AC.UK (Mwp.Reid at Queens-Belfast.AC.UK) Date: Thu, 04 Sep 2003 19:12:06 +0100 (BST) Subject: [AccessD] Query Results Too Big? In-Reply-To: <025501c3730e$b0c8ec80$6801a8c0@HAL9002> References: <025501c3730e$b0c8ec80$6801a8c0@HAL9002> Message-ID: <1062699126.3f5780768f18c@hosea.qub.ac.uk> Yes my space bar is playing up (<: Martin Quoting Rocky Smolin - Beach Access Software : > Guess I'll just leave those two files alone. Actually wouldn't > performance > be enhanced the larger the swapping file is? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 04, 2003 10:31 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > The page file can be changed by going to the System applet in the > > control panel and selecting the Advanced tab. Click on Settings for > > Performance Options, then select the advanced tabin the dialog. The > > bottom section is Virtual Memory, and the Change button will allow > you > > to resize the paging file. If you have multiple drive, you can put > a > > small paging file (2MB) on C: and put a larger one on D:. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Bobby Heid [mailto:bheid at appdevgrp.com] > > Sent: Thursday, September 04, 2003 9:15 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > I don't think that you CAN delete the page file from within windows. > > Nor do you want to. It is a file that the OS uses during its > operation. > > I am not sure about the other file. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > > - Beach Access Software > > Sent: Thursday, September 04, 2003 12:59 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > Do you know if they can they be deleted? > > > > Rocky > > > > ----- Original Message ----- > > From: "Bobby Heid" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Thursday, September 04, 2003 9:49 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > One is your paging file, the other must store system data when > > hibernating. > > > > > > Bobby > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: Thursday, September 04, 2003 12:44 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > > I'm using WXP and I don't see a WINNT folder. But I do see two > files > > named > > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any > idea > > what > > > they are? They were updated this AM when I turned on the machine. > > > > > > TIA > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Erwin Craps" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, September 04, 2003 9:05 AM > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > This could be an os problem to... > > > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > > c:\windows\temp and/or C:\Documents and > Settings\[USERNAME]\Local > > > > Settings\Temp) you have a lot of temp files. > > > > Delete everything in there (first close all apps). > > > > > > > > When using W9x you have a maximum of x files in a folder. It is > > > > posible that you have to much lost files. > > > > > > > > I can also be a disk corruption. Scandisk your drive after > deleting > > > > those temp files. > > > > > > > > And while we are on the road, do a defrag... > > > > > > > > Erwin > > > > > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, > > > > Lambert > > > > Sent: Thursday, September 04, 2003 5:54 PM > > > > To: 'Access Developers discussion and problem solving' > > > > Cc: 'bchacc at san.rr.com' > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > > > They all talk about the same problem, exceeding the > MaxLocksPerFile > > > > value and how to fix it. > > > > > > > > Lambert > > > > > > > > > -----Original Message----- > > > > > From: Rocky Smolin - Beach Access Software > > > > > [SMTP:bchacc at san.rr.com] > > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > > > Jim: > > > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB > Access > > > > > db limit is any indication. If the temp tables holding the > query > > > > > results > > > > > > > > > are inside the db then quite possibly is hitting the Access > limit > > > > > without using up all the hd space? It's a select query. > > > > > > > > > > Regards, > > > > > > > > > > Rocky Smolin > > > > > Beach Access Software > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: Jim Dettman > > > > > To: Access Developers discussion and problem solving > > > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > > > > Rocky, > > > > > > > > > > << > > > > > I have a query which is the record source for a report which > > > > > eventually craps out with the message 'Not enough space on > > > > > temporary disk' or some such. The query is joining 2 tables > which > > > > > > > each have over 2 million records. > > > > > >> > > > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > > data, > > > > > then you could easily run out of disk space. How much free > space > > > > > do you have on your drive? I've done queries with 1,500,000 > > > > > records without problems. > > > > > > > > > > << > > > > > Is there a limit to how big a query result Access can > generate? > > > > Is > > > > > there a setting to increase the limit? > > > > > >> > > > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > > and the > > > > > fact that it must "compile" (Microsoft's term not mine) into a > > > > > memory space slightly larger then 64K (they have never said > how > > > > > much larger). > > > > > > > > > > Jim Dettman > > > > > President, > > > > > Online Computer Services of WNY, Inc. > > > > > (315) 699-3443 > > > > > jimdettman at earthlink.net > > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Rocky > > > > > Smolin > > > > > > > > > - Beach Access Software > > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > > To: AccessD at databaseadvisors.com > > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > I have a query which is the record source for a report > > > > which > > > > > eventually craps out with the message 'Not enough space on > > > > > temporary disk' or some such. The query is joining 2 tables > which > > > > > > > each have over 2 million records. > > > > > > > > > > Is there a limit to how big a query result Access can > > > > generate? Is > > > > > there a setting to increase the limit? > > > > > > > > > > I think I may have reached the limit of Access and am > > > > looking now > > > > > for other ways to give the user what they want. Short of going > to > > > > > MSDE. > > > > > > > > > > TIA > > > > > > > > > > Rocky Smolin > > > > > Beach Access Software > > > > > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > << File: ATT7209042.txt >> > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Thu Sep 4 13:31:03 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Sep 2003 11:31:03 -0700 Subject: [AccessD] Query Results Too Big? Message-ID: Not necessarily. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 04, 2003 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Guess I'll just leave those two files alone. Actually wouldn't performance be enhanced the larger the swapping file is? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 10:31 AM Subject: RE: [AccessD] Query Results Too Big? > The page file can be changed by going to the System applet in the > control panel and selecting the Advanced tab. Click on Settings for > Performance Options, then select the advanced tabin the dialog. The > bottom section is Virtual Memory, and the Change button will allow you > to resize the paging file. If you have multiple drive, you can put a > small paging file (2MB) on C: and put a larger one on D:. > > Charlotte Foust > > -----Original Message----- > From: Bobby Heid [mailto:bheid at appdevgrp.com] > Sent: Thursday, September 04, 2003 9:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Query Results Too Big? > > > I don't think that you CAN delete the page file from within windows. > Nor do you want to. It is a file that the OS uses during its > operation. I am not sure about the other file. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Thursday, September 04, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > Do you know if they can they be deleted? > > Rocky > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, September 04, 2003 9:49 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > One is your paging file, the other must store system data when > hibernating. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Thursday, September 04, 2003 12:44 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > I'm using WXP and I don't see a WINNT folder. But I do see two > > files > named > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any > > idea > what > > they are? They were updated this AM when I turned on the machine. > > > > TIA > > > > Rocky > > > > ----- Original Message ----- > > From: "Erwin Craps" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 04, 2003 9:05 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > This could be an os problem to... > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > > Settings\Temp) you have a lot of temp files. > > > Delete everything in there (first close all apps). > > > > > > When using W9x you have a maximum of x files in a folder. It is > > > posible that you have to much lost files. > > > > > > I can also be a disk corruption. Scandisk your drive after > > > deleting those temp files. > > > > > > And while we are on the road, do a defrag... > > > > > > Erwin > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > > Lambert > > > Sent: Thursday, September 04, 2003 5:54 PM > > > To: 'Access Developers discussion and problem solving' > > > Cc: 'bchacc at san.rr.com' > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > They all talk about the same problem, exceeding the > > > MaxLocksPerFile value and how to fix it. > > > > > > Lambert > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software > > > > [SMTP:bchacc at san.rr.com] > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > Jim: > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > > db limit is any indication. If the temp tables holding the > > > > query results > > > > > > > are inside the db then quite possibly is hitting the Access > > > > limit without using up all the hd space? It's a select query. > > > > > > > > Regards, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > ----- Original Message ----- > > > > From: Jim Dettman > > > > To: Access Developers discussion and problem solving > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Rocky, > > > > > > > > << > > > > I have a query which is the record source for a report which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables > > > > which > > > > > each have over 2 million records. > > > > >> > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > data, > > > > then you could easily run out of disk space. How much free > > > > space do you have on your drive? I've done queries with > > > > 1,500,000 records without problems. > > > > > > > > << > > > > Is there a limit to how big a query result Access can generate? > > > Is > > > > there a setting to increase the limit? > > > > >> > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > and the > > > > fact that it must "compile" (Microsoft's term not mine) into a > > > > memory space slightly larger then 64K (they have never said how > > > > much larger). > > > > > > > > Jim Dettman > > > > President, > > > > Online Computer Services of WNY, Inc. > > > > (315) 699-3443 > > > > jimdettman at earthlink.net > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > > Smolin > > > > > > > - Beach Access Software > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > Dear List: > > > > > > > > I have a query which is the record source for a report > > > which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables > > > > which > > > > > each have over 2 million records. > > > > > > > > Is there a limit to how big a query result Access can > > > generate? Is > > > > there a setting to increase the limit? > > > > > > > > I think I may have reached the limit of Access and am > > > looking now > > > > for other ways to give the user what they want. Short of going > > > > to MSDE. > > > > > > > > TIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > << File: ATT7209042.txt >> > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.be Thu Sep 4 13:44:17 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 20:44:17 +0200 Subject: [AccessD] Query Results Too Big? Message-ID: No, the bigger the file the slower the system is rather the definition... XP changes size page file automaticly, if you have a very big pagefile would mean that you do not have sufficiant RAM. A pagefile are pieces of RAM moved to file due to not enough RAM. But most of the time the page file has about the same size as your RAM or more. A page file between 400 and 800 MB is normal. Spreading the page file over multiple physical disks does improve performance (in case of IDE not on the same controller) Well infact it does not improve performance, but it does 'brake' less on the system. Enough RAM is not a (positive) performance improvement, its rather removing the break on your CPU. Insufficiant RAM is like putting your feat on the speed pedal of a car while pushing your break at the same time... Adding RAM removes your feat from the break... Same thing for spreading the page file over physical disks. A disk can only access one location at the time. If you have a database and a page file on the same disk it accesses one or the other but not both at the same time. Thats another reasons why SCSI is way better then IDE (ATA). IDE only permits one access at a time per controller. SCSI permits multiple access per controller. Erwin Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 8:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Query Results Too Big? Guess I'll just leave those two files alone. Actually wouldn't performance be enhanced the larger the swapping file is? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, September 04, 2003 10:31 AM Subject: RE: [AccessD] Query Results Too Big? > The page file can be changed by going to the System applet in the > control panel and selecting the Advanced tab. Click on Settings for > Performance Options, then select the advanced tabin the dialog. The > bottom section is Virtual Memory, and the Change button will allow you > to resize the paging file. If you have multiple drive, you can put a > small paging file (2MB) on C: and put a larger one on D:. > > Charlotte Foust > > -----Original Message----- > From: Bobby Heid [mailto:bheid at appdevgrp.com] > Sent: Thursday, September 04, 2003 9:15 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Query Results Too Big? > > > I don't think that you CAN delete the page file from within windows. > Nor do you want to. It is a file that the OS uses during its > operation. I am not sure about the other file. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > - Beach Access Software > Sent: Thursday, September 04, 2003 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Query Results Too Big? > > > Do you know if they can they be deleted? > > Rocky > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, September 04, 2003 9:49 AM > Subject: RE: [AccessD] Query Results Too Big? > > > > One is your paging file, the other must store system data when > hibernating. > > > > Bobby > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Thursday, September 04, 2003 12:44 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > I'm using WXP and I don't see a WINNT folder. But I do see two > > files > named > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any > > idea > what > > they are? They were updated this AM when I turned on the machine. > > > > TIA > > > > Rocky > > > > ----- Original Message ----- > > From: "Erwin Craps" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 04, 2003 9:05 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > This could be an os problem to... > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > > Settings\Temp) you have a lot of temp files. > > > Delete everything in there (first close all apps). > > > > > > When using W9x you have a maximum of x files in a folder. It is > > > posible that you have to much lost files. > > > > > > I can also be a disk corruption. Scandisk your drive after > > > deleting those temp files. > > > > > > And while we are on the road, do a defrag... > > > > > > Erwin > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > > Lambert > > > Sent: Thursday, September 04, 2003 5:54 PM > > > To: 'Access Developers discussion and problem solving' > > > Cc: 'bchacc at san.rr.com' > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > They all talk about the same problem, exceeding the > > > MaxLocksPerFile value and how to fix it. > > > > > > Lambert > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software > > > > [SMTP:bchacc at san.rr.com] > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > Jim: > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access > > > > db limit is any indication. If the temp tables holding the > > > > query results > > > > > > > are inside the db then quite possibly is hitting the Access > > > > limit without using up all the hd space? It's a select query. > > > > > > > > Regards, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > ----- Original Message ----- > > > > From: Jim Dettman > > > > To: Access Developers discussion and problem solving > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Rocky, > > > > > > > > << > > > > I have a query which is the record source for a report which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables > > > > which > > > > > each have over 2 million records. > > > > >> > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > data, > > > > then you could easily run out of disk space. How much free > > > > space do you have on your drive? I've done queries with > > > > 1,500,000 records without problems. > > > > > > > > << > > > > Is there a limit to how big a query result Access can generate? > > > Is > > > > there a setting to increase the limit? > > > > >> > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > and the > > > > fact that it must "compile" (Microsoft's term not mine) into a > > > > memory space slightly larger then 64K (they have never said how > > > > much larger). > > > > > > > > Jim Dettman > > > > President, > > > > Online Computer Services of WNY, Inc. > > > > (315) 699-3443 > > > > jimdettman at earthlink.net > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > > > Smolin > > > > > > > - Beach Access Software > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > Dear List: > > > > > > > > I have a query which is the record source for a report > > > which > > > > eventually craps out with the message 'Not enough space on > > > > temporary disk' or some such. The query is joining 2 tables > > > > which > > > > > each have over 2 million records. > > > > > > > > Is there a limit to how big a query result Access can > > > generate? Is > > > > there a setting to increase the limit? > > > > > > > > I think I may have reached the limit of Access and am > > > looking now > > > > for other ways to give the user what they want. Short of going > > > > to MSDE. > > > > > > > > TIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > << File: ATT7209042.txt >> > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.be Thu Sep 4 13:44:58 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 4 Sep 2003 20:44:58 +0200 Subject: [AccessD] Automating excel Message-ID: Smart trick.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of lyle.hannum at co.wake.nc.us Sent: Thursday, September 04, 2003 8:08 PM To: Access Developers discussion and problem solving Cc: Access Developers discussion and problem solving; accessd-bounces at databaseadvisors.com Subject: RE: [AccessD] Automating excel John Our shop has also used Erwin's approach, with a twist perhaps. From Access we open Excel and import the text file. As with you, the problem of changing datatypes arises here. However, as a last step before importing from Excel to Access, we insert at row 2 some text that we can recognize as not belonging (ie: we fill all the columns with "Delete Me"). This will force all data to be imported to Access (into a temp table) as text, utilizing the TransferSpreadsheet command. From here we can change datatypes (cdate etc) in an append querry to our final table. This may be the long way around the pond, but it has proved to user friendly and reliable. Just a note, this is all in Access/Excel 2000 with txt files that are delimited in a non standard way (there is a whole set of code in Excel VBA to handle that portion). Lyle "Erwin Craps" To: "Access Developers discussion and problem Sent by: solving" accessd-bounces at databasead cc: visors.com Subject: RE: [AccessD] Automating excel 09/04/03 01:38 PM Please respond to Access Developers discussion and problem solving John Don't export from Excel to afterwards import in Access. Write some code in your Access app to browse to the excel file, Create a object to excel Open the file Open a table in access Than you have the choice A) first read and verify all lines in Excel Add record by record in the table (this means twice reading all lines, but you can refuse to import before actualy updating. This give a faster user response in case of trouble. Or B) read line by line and add to table line by line. (once reading You can even give a error message to the user and pointing to the cell which contains the error. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 04, 2003 7:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Automating excel This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. It >was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK >for data import since it is possible that the data will change >datatypes down the spreadsheet and that causes the import to fail >without any warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype >change" issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RGeldart at detma.org Thu Sep 4 13:44:41 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Thu, 4 Sep 2003 14:44:41 -0400 Subject: [AccessD] Using MailTo: hyperlink in form; need carriage ret urns in body text Message-ID: Julie, Codes within html codes can be problematic. My html reference says to try something like: &#n; - where n is the base-10 number of the character. So something like (for cr) (for lf) I think you can string them together: Hope this helps, Bob Geldart Economic Research Department Massachusetts Department of Employment & Training -----Original Message----- From: Backroads Data [mailto:backroad at idir.net] Sent: Thursday, September 04, 2003 2:01 PM To: AccessD Subject: [AccessD] Using MailTo: hyperlink in form; need carriage returns in body text Hello group, Using Mailto: protocol in a hyperlink, I'm including the email address, subject line, and body text. Is there a way to include carriage returns in the text? Here's the situation: There's a textbox on a form that contains 4 lines of text; this text block is built through code and uses the vbNewLine variable after each line. The contents of the textbox look like this on the form: Name: John Doe Business: Backroads Farrier Service Shortterm Code: 7083-603-718-5836 Request Code: F003-B863-A003 After the textbox contents are built, it sets the hyperlink property of a command button on the form, like this (watch word wrap): Me!btnEmail.HyperlinkAddress = "mailto:info at backroadsdata.coml?subject=Lifetime License Request&body=" & Me!txtRequest When the button is clicked, an email is created, and the message body section contains the text from the form, but it looks like this: Name: John DoeBusiness: Backroads Farrier ServiceShortterm Code: 7083-603-718-5836Request Code: F003-B863-A003 Is there anyway to embed something the email will recognize as a carriage return, so that it appears in the message on 4 distinct lines? (I've tried Chr(13) & Chr(10) as well as vbNewLine when building the textbox.) Thanks! Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Thu Sep 4 13:59:01 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 04 Sep 2003 11:59:01 -0700 Subject: [AccessD] Query Results Too Big? In-Reply-To: References: Message-ID: <3F578B75.2010709@verizon.net> Erwin Craps wrote: > You always have a pagefile. > > The files are hidden system files. If you do't turn those options on in > explorer you dont see them. > why is XP better? ;o) just a friendly reminder that the list also has a dba-Tech list for posting threads such as this, it is accessible for all our list members via http://databaseadvisors.com/mailman/listinfo Thanks -- -Francisco You've got leaders who fake it. From dwaters at usinternet.com Thu Sep 4 15:00:17 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 4 Sep 2003 15:00:17 -0500 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB75@cntexchange.pgdp.usec.com> Message-ID: <006801c3731f$2cda72c0$de1811d8@DanWaters> Virgina, Oops! Use - 5 instead of +5 (or -4 or -6). Also, avoid using the Now() function unless you really need the time component, and I don't think you do here. However, I've seen the situation where Date() didn't work on some older computers but Now() always did. To fix that I you can paste this function into a standard module, and just use CurrentDate where ever you would have used Date() or Now(). Public Function CurrentDate() As Date On error GoTo EH CurrentDate = DatePart("m", Now()) & "/" & DatePart("d", Now()) & "/" & DatePart("yyyy", Now()) Exit Function EH: Application.Echo True 'Call GlobalErrors("", Err.Number, Err.Description, CurrentObjectName, "CurrentDate") End Function Now for Holidays - You need to create a table for Holidays that your client will add to once a year in December. The reason for this is that many companies don't use all the Federal holidays, and many have their own Holidays which they change every year (i.e., July 3 or July 5 or neither?). No way you as a developer will know what they're going to do in the coming years. Once this table is populated, your Holiday checking code can use it to skip the correct Holidays for that company. If they forget to add in the Holidays, it's their issue which they can quickly fix. I believe that the ADH has code (on the discs) which will skip Weekends. You'll need to modify that code and/or add to it to exclude Holidays listed in the Holiday table. Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Thursday, September 04, 2003 5:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Ok, I changed the query to the below code, is this the correct way to do this? PastDue: DateDiff("d",[DateEntered],Now())-5 Oh! Get this, I just got an email from mgmt, they want the days past due to count "Buisness Days only". So it does not count weekends & holidays!! I can't figure out how to make it count to 5 let alone skip weekends. :-( Va. -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Thursday, September 04, 2003 6:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period No, that did not work. For a project that was entered 8/27/03, it shows 12.522 days. The old code shows it 8 days past due, but I need it to show 3 days past due. I hope someone can help me with this because I had a user complain to upper mgmt about this, and it is causing me problems. Va. -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Wednesday, September 03, 2003 3:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Virginia, I added some code into your example. Would this work? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - Grace Period A project review must be completed within 5 days. If a project review is over 5 days past due and the status is Pending, a label shows "Past Due & the number of days it is past due". The Past Due date is based on the date the record was entered into the system. Problem: I need the past due label to show not the days past due from the DateEntered, but count the days Over 5. For example, the project was entered 8/28/2003, once the project is >= 5 days past 8/28/2003 or on 9/4/2003 the label shows this project is past due 6 days. What I really need is the label to show it is past due 1 day, because they do have a 5 day grace period. I use this on forms & the reports. Virginia *************** Used in the query to determine the number of days past due: PastDue: DateDiff("d",[DateEntered],Now()) OnCurrent of the form: If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then 'Status is pending and review is 5 days past due. Me!DateEntered.ForeColor = lngRed 'Date entered is red Me!LateDate.Visible = True ' Show the sad face Me.DaysPastDue.Visible = True 'Show past due label '-- Show number of days over 5 that the project review is late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 Else Me!DateEntered.ForeColor = lngBlack 'Review is not past due, Date Entered is black Me!LateDate.Visible = False 'No sad face Me.DaysPastDue.Visible = False 'No past due label. End If -------------- next part -------------- An HTML attachment was scrubbed... URL: From shait at mindspring.com Thu Sep 4 16:24:42 2003 From: shait at mindspring.com (Stephen Hait) Date: Thu, 4 Sep 2003 16:24:42 -0500 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFB9B@cntexchange.pgdp.usec.com> Message-ID: <3F57674A.32062.6D2AB7@localhost> > What do I have to do to make this work from the form &/or report? > > Va. The function work_days accepts two arguments, BegDate and EndDate, and returns the number of weekdays between them. In your case, you're interested in the number of weekdays between a due date and today and if it's higher than 5, you want to take some action. I have no idea what your form or report looks like but if you have the due date of a particular item where the status is Pending, you would pass that as the BegDate and pass Date() as the end date to the function. The value returned would be the number of workdays between these two dates and you could proceed accordingly. HTH, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 9:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Here's a function to calculate number of weekdays between 2 > dates: > http://www.mvps.org/access/datetime/date0006.htm > > HTH, > Stephen > > > Ok, I changed the query to the below code, is this the correct way > > to do this? > > > > PastDue: DateDiff("d",[DateEntered],Now())-5 > > > > Oh! Get this, I just got an email from mgmt, they want the days > > past due to count "Buisness Days only". So it does not count > > weekends & holidays!! I can't figure out how to make it count to 5 > > let alone skip weekends. :-( > > > > Va. > > > > -----Original Message----- > > From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] > > Sent: Thursday, September 04, 2003 6:15 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > No, that did not work. For a project that was entered 8/27/03, it > > shows 12.522 days. The old code shows it 8 days past due, but I > > need it to show 3 days past due. > > > > I hope someone can help me with this because I had a user complain > > to upper mgmt about this, and it is causing me problems. > > > > Va. > > > > -----Original Message----- > > From: Dan Waters [mailto:dwaters at usinternet.com] > > Sent: Wednesday, September 03, 2003 3:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Virginia, I added some code into your example. Would this work? > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Hollis,Virginia Sent: Wednesday, September 03, 2003 1:25 PM To: > > 'accessD at databaseadvisors.com' Subject: [AccessD] Days Past Due - > > Grace Period > > > > > > A project review must be completed within 5 days. If a project > > review is over 5 days past due and the status is Pending, a label > > shows "Past Due & the number of days it is past due". The Past Due > > date is based on the date the record was entered into the system. > > > > Problem: I need the past due label to show not the days past due > > from the DateEntered, but count the days Over 5. For example, the > > project was entered 8/28/2003, once the project is >= 5 days past > > 8/28/2003 or on 9/4/2003 the label shows this project is past due > > 6 days. What I really need is the label to show it is past due 1 > > day, because they do have a 5 day grace period. I use this on > > forms & the reports. > > > > Virginia > > > > *************** > > Used in the query to determine the number of days past due: > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > OnCurrent of the form: > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > 'Status is pending and review is 5 days past due. > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > Me!LateDate.Visible = True ' Show the sad face > > Me.DaysPastDue.Visible = True 'Show past due label '-- Show > > number of days over 5 that the project review is late > > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > Else > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > due, Date > > Entered is black > > Me!LateDate.Visible = False 'No sad face > > Me.DaysPastDue.Visible = False 'No past due label. > > End If > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Sep 4 16:46:25 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 4 Sep 2003 16:46:25 -0500 Subject: [AccessD] Error 3011 Message-ID: <02dc01c3732e$28e0b210$2e02d018@W2k> Dear Group, I have used Database Creations' ezSmartSearch dialog box successfully in the past. Beats the tar out of having to code it myself. Anyway, I now have an application that we're developing in Access 2000. The app will run under Access XP and XP Runtime. I do development on both my office A2K w/s and on the client's AXP w/s. I'm having trouble with the ezSearch dialog box in AXP. When a Find button is clicked on the main data entry form, the ezSearch dialog box is opened and a Combo Box on the form (called BySearchType) is filled with the records in the table behind the main form. During the setup of the ezSearch form there's a line of code that says: Me!BySearchType.SetFocus followed by a .DropDown. Running this in AXP caused an error to the effect of "cannot find field '|' on form." That's a vertical-bar character in the single quotes. After clicking OK on the error the ezSearch dialog box opens and everything is as it should be EXCEPT the BySearchType combo box hasn't dropped down. If I close ezSearch immediately and try clicking the main form's Find button again, I get this error in AXP only: The Microsoft Jet database engine could not find the object '~sp_cezs_SmartSearch~sq_cFindSearchID'. Make sure the object exists...blah-blah-blah. At first I thought I'd try different ways to express the .SetFocus method...same error sequence. Then I looked in the MSysObjects table and found and object Named ~sp_cezs_SmartSearchPro~sq_cFindSearchID Note the "Pro" part. I thought that maybe the MSysObjects table had gotten out of sync somehow...I wasn't really aware that Access used that table while executing methods until now. Anyway, I couldn't figure out any other way to change the name in the MSysObjects table than to delete the object from the ezSearch form, save the form, and then re-create the object on the form again. No go. I get the same series of two errors. Again, this is just in AXP. Right now, on my A2K w/s at my home office, ezSearch works just fine...and the MSysObjects table shows that goofy object with "Pro" in the name. Any guidance you can give me? This is holding up the finish of a project and I'm stumped. Thanks, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From jim.hale at fleetpride.com Thu Sep 4 16:39:55 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 4 Sep 2003 16:39:55 -0500 Subject: [AccessD] Automating excel Message-ID: <869379ABF177D4118D3100508B5EF873063950EB@corp-es00> John, Generally I shoot my users who mix data. Pretty soon the ones who are left know better than to mess up the spreadsheet. Failing this you might try functions T,TEXT,ISNUMBER,ISTEXT, VALUE or some combination in a "validation" column that references the actual data. This "scrubbed" data becomes the column you import. Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 04, 2003 12:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Automating excel This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte Sent: Thursday, September 04, 2003 10:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Automating excel John, Could you create an "Import Specification" in Access where you could control what datatype was brought into each field? Mark >From: "Erwin Craps" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Automating excel >Date: Thu, 4 Sep 2003 07:53:40 +0200 > >You could open the file in excel from Access and read/evaluate line by >line from Access. >Saving to CSV will not help your datatype property. >Erwin > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust >Verzonden: woensdag 3 september 2003 22:09 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Automating excel > > >I'm not even sure you can do that, John. Excel has a nasty habit of >changing datatypes no matter what you want it to do. > >Charlotte Foust > >-----Original Message----- >From: John Colby [mailto:jcolby at colbyconsulting.com] >Sent: Wednesday, September 03, 2003 11:56 AM >To: AccessD >Subject: [AccessD] Automating excel > > >Has anyone ever automated Excel to save a spreadsheet as TRUE comma >delimited text? My issue is that a client's client sends them data. It >was comma delimited text. Now it's a spreadsheet. Spreadsheets SUCK >for data import since it is possible that the data will change datatypes >down the spreadsheet and that causes the import to fail without any >warning. > >If I can automate excel to export that same spreadsheet, I suspect that >the result would just be text in all cases and so that "datatype change" >issue would disappear. > >Has anyone ever done this? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Sep 4 18:05:40 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 4 Sep 2003 19:05:40 -0400 Subject: [AccessD] Automating excel In-Reply-To: <869379ABF177D4118D3100508B5EF873063950EB@corp-es00> Message-ID: RE: [AccessD] Automating excelGenerally I shoot the users too. In this case it is data provided to my client (an company that assists retirees with any problems they have with their medical insurance ) by the various companies they interface with - the pension offices, insurance carriers etc. So it would likely get me in trouble if I tried to track down the culprit and shoot them. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, September 04, 2003 5:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Automating excel John, Generally I shoot my users who mix data. Pretty soon the ones who are left know better than to mess up the spreadsheet. Failing this you might try functions T,TEXT,ISNUMBER,ISTEXT, VALUE or some combination in a "validation" column that references the actual data. This "scrubbed" data becomes the column you import. Jim Hale -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 04, 2003 12:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Automating excel This is precisely the problem. does not create an import spec in the same way that you can do with comma delimited files. You are expected to "link" to the spreadsheet. That works, but when you do that, Access looks at the first row (or few rows) of data to decide what the data is. If the data type in a given column is (for example) date, and then 10 rows down changes to text - EVEN IF THE TEXT STRING IS A DATE - Access gives "error" in the cell (or something like that). Even Excel itself, up until XP, did not allow you to SEE what the data type is. You could place your cursor in the top cell and start moving down the spreadsheet - you would have no clue by looking in the cell that the underlying datatype of the cell was no longer a date, but rather a string. In XP there is now a visual cue (a little red triangle in the corner or the cell) that the datatype changed. Anyway, for this reason, Excel spreadsheets can really suck to use as a data exchange method. IF the spreadsheet is created programmatically such that all the cells in a given column are the same data type you will never have a problem. However if a user cuts and pastes the data in, that process for one reason or another may cause these data type changes at which point the linked spreadsheet will be useless. For this reason, my idea was to use Excel itself to export the data to a true comma delimited file. The reason is that as we all know, a comma delimited file does not have associated with the data what the datatype was. It is ALL just a string of characters with commas between them. Thus a data would be converted to a string that looks like a date. A string that contains that same date would end up looking EXACTLY the same as the DATE itself. Is that as clear as mud? It's all just text to a CSV. Dates are text, strings are text, real numbers are text, currency is text. NOW, with a pure text comma delimited file, a real import specification can be created that imports that pure text file back in to a table and there is no possibility of misunderstanding that date. John W. Colby www.colbyconsulting.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Thu Sep 4 18:26:07 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Thu, 4 Sep 2003 18:26:07 -0500 Subject: [AccessD] Query Results Too Big? Message-ID: <869379ABF177D4118D3100508B5EF873063950EC@corp-es00> Are you trying to run a list of the people running for governor? Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 04, 2003 9:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Thu Sep 4 19:02:34 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 4 Sep 2003 20:02:34 -0400 Subject: [AccessD] Query Results Too Big? References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD768E@xlivmbx12.aig.com> Message-ID: <000601c37341$0279a1a0$6001a8c0@dejpolsys> ...the page file itself can become corrupted and is relatively easy to delete and regenerate ...been awhile but there are a number of KB articles on doing this from within Windows ...HTH :) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Cc: Sent: Thursday, September 04, 2003 1:49 PM Subject: RE: [AccessD] Query Results Too Big? > hiberfil.sys is used by the system when you hibernate you machine (I love > hibernation, saves a bunch of time in restarting and all the proggies you > had running are back in place in one step). > > pagefil.sys is the systems virtual memory file. > > Do not mess with either of these files. You need them, but you don't ever > need to touch them. > > Lambert > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 04, 2003 12:44 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Query Results Too Big? > > > > I'm using WXP and I don't see a WINNT folder. But I do see two files > > named > > hiberfil.sys and pagefil.sys which, together are almost 1GB. Any idea > > what > > they are? They were updated this AM when I turned on the machine. > > > > TIA > > > > Rocky > > > > ----- Original Message ----- > > From: "Erwin Craps" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 04, 2003 9:05 AM > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > This could be an os problem to... > > > > > > Check if in you temp folder (usualy c:\temp or c:\winnt\temp or > > > c:\windows\temp and/or C:\Documents and Settings\[USERNAME]\Local > > > Settings\Temp) you have a lot of temp files. > > > Delete everything in there (first close all apps). > > > > > > When using W9x you have a maximum of x files in a folder. It is posible > > > that you have to much lost files. > > > > > > I can also be a disk corruption. Scandisk your drive after deleting > > > those temp files. > > > > > > And while we are on the road, do a defrag... > > > > > > Erwin > > > > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > > > Lambert > > > Sent: Thursday, September 04, 2003 5:54 PM > > > To: 'Access Developers discussion and problem solving' > > > Cc: 'bchacc at san.rr.com' > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > Check these kBase articles. They might address your problem > > > > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;209940 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;286153 > > > http://support.microsoft.com/default.aspx?scid=kb;en-us;161329 > > > > > > They all talk about the same problem, exceeding the MaxLocksPerFile > > > value and how to fix it. > > > > > > Lambert > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > > > Sent: Thursday, September 04, 2003 11:23 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Query Results Too Big? > > > > > > > > Jim: > > > > > > > > I've got 3 1/2 GB free. That enough? Must be if the 2GB Access db > > > > limit is any indication. If the temp tables holding the query results > > > > > > > are inside the db then quite possibly is hitting the Access limit > > > > without using up all the hd space? It's a select query. > > > > > > > > Regards, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > ----- Original Message ----- > > > > From: Jim Dettman > > > > To: Access Developers discussion and problem solving > > > > > > > > Sent: Thursday, September 04, 2003 7:51 AM > > > > Subject: RE: [AccessD] Query Results Too Big? > > > > > > > > > > > > Rocky, > > > > > > > > << > > > > I have a query which is the record source for a report which > > > > eventually craps out with the message 'Not enough space on temporary > > > > disk' or some such. The query is joining 2 tables which each have > > > > over 2 million records. > > > > >> > > > > > > > > What type of query is it? If it's creating a snapshot of the > > > data, > > > > then you could easily run out of disk space. How much free space do > > > > you have on your drive? I've done queries with 1,500,000 records > > > > without problems. > > > > > > > > << > > > > Is there a limit to how big a query result Access can generate? > > > Is > > > > there a setting to increase the limit? > > > > >> > > > > > > > > The only one I'm aware of is the 2048 table reference limit > > > and the > > > > fact that it must "compile" (Microsoft's term not mine) into a memory > > > > space slightly larger then 64K (they have never said how much larger). > > > > > > > > Jim Dettman > > > > President, > > > > Online Computer Services of WNY, Inc. > > > > (315) 699-3443 > > > > jimdettman at earthlink.net > > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin > > > > > > > - Beach Access Software > > > > Sent: Thursday, September 04, 2003 10:39 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Query Results Too Big? > > > > > > > > > > > > Dear List: > > > > > > > > I have a query which is the record source for a report > > > which > > > > eventually craps out with the message 'Not enough space on temporary > > > > disk' or some such. The query is joining 2 tables which each have > > > > over 2 million records. > > > > > > > > Is there a limit to how big a query result Access can > > > generate? Is > > > > there a setting to increase the limit? > > > > > > > > I think I may have reached the limit of Access and am > > > looking now > > > > for other ways to give the user what they want. Short of going to > > > > MSDE. > > > > > > > > TIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > > > > > > > > > > > > > _____ > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > << File: ATT7209042.txt >> > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Sep 4 20:00:20 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 04 Sep 2003 18:00:20 -0700 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> Message-ID: <3F57E024.5010500@shaw.ca> Haven't used those ezsmart forms in awhile but I remember finding a couple of bugs on boundary conditions. I tracked them down turning off "on error" conditions in form library. Steven W. Erbach wrote: >Dear Group, > >I have used Database Creations' ezSmartSearch dialog box successfully in the >past. Beats the tar out of having to code it myself. > >Anyway, I now have an application that we're developing in Access 2000. The >app will run under Access XP and XP Runtime. I do development on both my >office A2K w/s and on the client's AXP w/s. > >I'm having trouble with the ezSearch dialog box in AXP. When a Find button >is clicked on the main data entry form, the ezSearch dialog box is opened >and a Combo Box on the form (called BySearchType) is filled with the records >in the table behind the main form. During the setup of the ezSearch form >there's a line of code that says: > > Me!BySearchType.SetFocus > >followed by a .DropDown. Running this in AXP caused an error to the effect >of "cannot find field '|' on form." That's a vertical-bar character in the >single quotes. After clicking OK on the error the ezSearch dialog box opens >and everything is as it should be EXCEPT the BySearchType combo box hasn't >dropped down. > >If I close ezSearch immediately and try clicking the main form's Find button >again, I get this error in AXP only: > >The Microsoft Jet database engine could not find the object >'~sp_cezs_SmartSearch~sq_cFindSearchID'. Make sure the object >exists...blah-blah-blah. > >At first I thought I'd try different ways to express the .SetFocus >method...same error sequence. > >Then I looked in the MSysObjects table and found and object Named > > ~sp_cezs_SmartSearchPro~sq_cFindSearchID > >Note the "Pro" part. I thought that maybe the MSysObjects table had gotten >out of sync somehow...I wasn't really aware that Access used that table >while executing methods until now. Anyway, I couldn't figure out any other >way to change the name in the MSysObjects table than to delete the object >from the ezSearch form, save the form, and then re-create the object on the >form again. No go. I get the same series of two errors. > >Again, this is just in AXP. Right now, on my A2K w/s at my home office, >ezSearch works just fine...and the MSysObjects table shows that goofy object >with "Pro" in the name. > >Any guidance you can give me? This is holding up the finish of a project and >I'm stumped. > >Thanks, > >Steve Erbach >Scientific Marketing >Neenah, WI > >If architects built buildings the way programmers built applications, the >first woodpecker to come along would cause the end of civilization. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bchacc at san.rr.com Thu Sep 4 21:09:16 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 19:09:16 -0700 Subject: [AccessD] Query Results Too Big? References: <869379ABF177D4118D3100508B5EF873063950EC@corp-es00> Message-ID: <036301c37352$b5bb7660$6801a8c0@HAL9002> No. Using SQL Server for the list. May move to Oracle. Rocky ----- Original Message ----- From: Hale, Jim To: 'Access Developers discussion and problem solving' Sent: Thursday, September 04, 2003 4:26 PM Subject: RE: [AccessD] Query Results Too Big? Are you trying to run a list of the people running for governor? Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 04, 2003 9:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Query Results Too Big? Dear List: I have a query which is the record source for a report which eventually craps out with the message 'Not enough space on temporary disk' or some such. The query is joining 2 tables which each have over 2 million records. Is there a limit to how big a query result Access can generate? Is there a setting to increase the limit? I think I may have reached the limit of Access and am looking now for other ways to give the user what they want. Short of going to MSDE. TIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From d.dick at uws.edu.au Thu Sep 4 22:34:50 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 5 Sep 2003 13:34:50 +1000 Subject: [AccessD] A2K Reference the dot column property in a query Message-ID: <00fc01c3735e$a9731f00$3c619a89@DDICK> Hello all In VBA the code to reference certain columns in a combo box on a form is... Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works But when I use the same syntax in a query I get errors - namely Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression What should I type to reference a particular column of a combo in a query? Many thanks in advance Darren From bchacc at san.rr.com Thu Sep 4 22:50:56 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 20:50:56 -0700 Subject: [AccessD] A2K Reference the dot column property in a query References: <00fc01c3735e$a9731f00$3c619a89@DDICK> Message-ID: <03c701c37360$e9fccf60$6801a8c0@HAL9002> I know there must be a solution to this problem but I've never figured it out. Whenever I run into the problem of referencing a form value in a query I always make a public function like: Public Function GetComboValue GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) End Function Then in the query you can put GetComboValue() and it will return the value. Seems there should be a better way though. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, September 04, 2003 8:34 PM Subject: [AccessD] A2K Reference the dot column property in a query > Hello all > In VBA the code to reference certain columns in a combo box on a form is... > Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > But when I use the same syntax in a query I get errors - namely > Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > > What should I type to reference a particular column of a combo in a query? > > Many thanks in advance > > Darren > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Thu Sep 4 23:19:11 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 5 Sep 2003 14:19:11 +1000 Subject: [AccessD] A2K: Go to end of field and add a Hard Return Message-ID: <011d01c37364$dc3090c0$3c619a89@DDICK> Hello all I have a control on a form (based on a memo field in a table) When it gets the focus I want the users cursor to go to the end of whatever text is there then add a vbcrlf then that's here I want the user to start typing Is this do-able? Many thanks in advance Darren From lists at jbsolutions.com.au Thu Sep 4 23:29:17 2003 From: lists at jbsolutions.com.au (Joshua B) Date: Fri, 5 Sep 2003 14:29:17 +1000 Subject: [AccessD] A2K Reference the dot column property in a query Message-ID: <200309050428.h854SLp19451@databaseadvisors.com> Rockys way will work just as well as mine, what I have done is to put a hidden text box on the form and make its controlsource = Forms!frmMyForm!cmbMyCombo.Column(2). Then, in the query, instead of referencing the combo, reference the hidden text box... ======= At 2003-09-04, 20:50:00 you wrote: ======= >I know there must be a solution to this problem but I've never figured it >out. Whenever I run into the problem of referencing a form value in a query >I always make a public function like: > >Public Function GetComboValue > GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) >End Function > >Then in the query you can put GetComboValue() and it will return the value. > >Seems there should be a better way though. > >Rocky > >----- Original Message ----- >From: "Darren DICK" >To: "AccessD List" >Sent: Thursday, September 04, 2003 8:34 PM >Subject: [AccessD] A2K Reference the dot column property in a query > > >> Hello all >> In VBA the code to reference certain columns in a combo box on a form >is... >> Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works >> But when I use the same syntax in a query I get errors - namely >> Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression >> >> What should I type to reference a particular column of a combo in a query? >> >> 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 = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-05 From d.dick at uws.edu.au Thu Sep 4 23:35:30 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 5 Sep 2003 14:35:30 +1000 Subject: [AccessD] A2K Reference the dot column property in a query References: <200309050428.h854SLp19451@databaseadvisors.com> Message-ID: <012301c37367$235f26d0$3c619a89@DDICK> Thanks Rocky and Joshua Yes That's what I have done - Put a hidden control on the form and referenced that. Even though your/my way works, I just thought there must be a 'real' way to do it. Thanks heaps for responding guys Darren ----- Original Message ----- From: "Joshua B" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 2:29 PM Subject: Re: [AccessD] A2K Reference the dot column property in a query > > Rockys way will work just as well as mine, what I have done is to put a hidden text box on the form and make its controlsource = Forms!frmMyForm!cmbMyCombo.Column(2). Then, in the query, instead of referencing the combo, reference the hidden text box... > > > > ======= At 2003-09-04, 20:50:00 you wrote: ======= > > >I know there must be a solution to this problem but I've never figured it > >out. Whenever I run into the problem of referencing a form value in a query > >I always make a public function like: > > > >Public Function GetComboValue > > GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) > >End Function > > > >Then in the query you can put GetComboValue() and it will return the value. > > > >Seems there should be a better way though. > > > >Rocky > > > >----- Original Message ----- > >From: "Darren DICK" > >To: "AccessD List" > >Sent: Thursday, September 04, 2003 8:34 PM > >Subject: [AccessD] A2K Reference the dot column property in a query > > > > > >> Hello all > >> In VBA the code to reference certain columns in a combo box on a form > >is... > >> Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > >> But when I use the same syntax in a query I get errors - namely > >> Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > >> > >> What should I type to reference a particular column of a combo in a query? > >> > >> 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 > > = = = = = = = = = = = = = = = = = = = = > > > Best regards. > Joshua B > lists at jbsolutions.com.au > www.jbsolutions.com.au > 2003-09-05 > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From my.lists at verizon.net Thu Sep 4 23:46:25 2003 From: my.lists at verizon.net (Francisco Tapia) Date: Thu, 04 Sep 2003 21:46:25 -0700 Subject: [AccessD] Query Results Too Big? In-Reply-To: <036301c37352$b5bb7660$6801a8c0@HAL9002> References: <869379ABF177D4118D3100508B5EF873063950EC@corp-es00> <036301c37352$b5bb7660$6801a8c0@HAL9002> Message-ID: <3F581521.5010005@verizon.net> Which list this list?... I've heard of firebird SQL, has anyone here acctually used it? (wondering).... http://firebird.sourceforge.net/ -- -Francisco Rocky Smolin - Beach Access Software wrote: > No. Using SQL Server for the list. May move to Oracle. > > Rocky > > > ----- Original Message ----- > *From:* Hale, Jim > *To:* 'Access Developers discussion and problem solving' > > *Sent:* Thursday, September 04, 2003 4:26 PM > *Subject:* RE: [AccessD] Query Results Too Big? > > Are you trying to run a list of the people running for governor? > > Jim Hale > > -----Original Message----- > *From:* Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > *Sent:* Thursday, September 04, 2003 9:39 AM > *To:* AccessD at databaseadvisors.com > > *Subject:* [AccessD] Query Results Too Big? > > Dear List: > > I have a query which is the record source for a report which > eventually craps out with the message 'Not enough space on > temporary disk' or some such. The query is joining 2 tables > which each have over 2 million records. > > Is there a limit to how big a query result Access can > generate? Is there a setting to increase the limit? > > I think I may have reached the limit of Access and am looking > now for other ways to give the user what they want. Short of > going to MSDE. > > TIA > > From bchacc at san.rr.com Fri Sep 5 00:22:47 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 4 Sep 2003 22:22:47 -0700 Subject: [AccessD] A2K: Go to end of field and add a Hard Return References: <011d01c37364$dc3090c0$3c619a89@DDICK> Message-ID: <03f801c3736d$be6fbfd0$6801a8c0@HAL9002> Maybe this will work? In the Got Focus Event of the text box txtBox = txtBox & vbCRLF txtBox.SelStart=len(txtBox) HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, September 04, 2003 9:19 PM Subject: [AccessD] A2K: Go to end of field and add a Hard Return > Hello all > I have a control on a form (based on a memo field in a table) > When it gets the focus I want the users cursor to go to the end of whatever text is there > then add a vbcrlf then that's here I want the user to start typing > > Is this do-able? > > Many thanks in advance > > Darren > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From d.dick at uws.edu.au Fri Sep 5 00:50:49 2003 From: d.dick at uws.edu.au (Darren DICK) Date: Fri, 5 Sep 2003 15:50:49 +1000 Subject: [AccessD] A2K: Go to end of field and add a Hard Return References: <011d01c37364$dc3090c0$3c619a89@DDICK> <03f801c3736d$be6fbfd0$6801a8c0@HAL9002> Message-ID: <014101c37371$a8f541d0$3c619a89@DDICK> Thanks rocky That was enough Have a great week end Darren ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 3:22 PM Subject: Re: [AccessD] A2K: Go to end of field and add a Hard Return > Maybe this will work? > > In the Got Focus Event of the text box > > txtBox = txtBox & vbCRLF > txtBox.SelStart=len(txtBox) > > HTH > > Rocky Smolin > Beach Access Software > > ----- Original Message ----- > From: "Darren DICK" > To: "AccessD List" > Sent: Thursday, September 04, 2003 9:19 PM > Subject: [AccessD] A2K: Go to end of field and add a Hard Return > > > > Hello all > > I have a control on a form (based on a memo field in a table) > > When it gets the focus I want the users cursor to go to the end of > whatever text is there > > then add a vbcrlf then that's here I want the user to start typing > > > > Is this do-able? > > > > 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 wdhindman at bellsouth.net Fri Sep 5 00:57:52 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 01:57:52 -0400 Subject: [AccessD] A2K Reference the dot column property in a query References: <200309050428.h854SLp19451@databaseadvisors.com> <012301c37367$235f26d0$3c619a89@DDICK> Message-ID: <001201c37372$a50e2720$6001a8c0@dejpolsys> Darren ...you don't need a separate text box or function ...just wrap it with an Eval as in: Eval("[Forms]![frmMyForm]![cmbMyCombo].[Column](2)") ...that should keep Access from parsing it as a user function and throwing an error when it finds none ...HTH :) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Darren DICK" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 12:35 AM Subject: Re: [AccessD] A2K Reference the dot column property in a query > Thanks Rocky and Joshua > Yes That's what I have done - Put a hidden control on the form and referenced that. > Even though your/my way works, I just thought there must be a 'real' way to do it. > > Thanks heaps for responding guys > > Darren > > ----- Original Message ----- > From: "Joshua B" > To: "Access Developers discussion and problem solving" > Sent: Friday, September 05, 2003 2:29 PM > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > > > > Rockys way will work just as well as mine, what I have done is to put a hidden text box on the form and make its controlsource = > Forms!frmMyForm!cmbMyCombo.Column(2). Then, in the query, instead of referencing the combo, reference the hidden text box... > > > > > > > > ======= At 2003-09-04, 20:50:00 you wrote: ======= > > > > >I know there must be a solution to this problem but I've never figured it > > >out. Whenever I run into the problem of referencing a form value in a query > > >I always make a public function like: > > > > > >Public Function GetComboValue > > > GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) > > >End Function > > > > > >Then in the query you can put GetComboValue() and it will return the value. > > > > > >Seems there should be a better way though. > > > > > >Rocky > > > > > >----- Original Message ----- > > >From: "Darren DICK" > > >To: "AccessD List" > > >Sent: Thursday, September 04, 2003 8:34 PM > > >Subject: [AccessD] A2K Reference the dot column property in a query > > > > > > > > >> Hello all > > >> In VBA the code to reference certain columns in a combo box on a form > > >is... > > >> Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > > >> But when I use the same syntax in a query I get errors - namely > > >> Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > > >> > > >> What should I type to reference a particular column of a combo in a query? > > >> > > >> 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 > > > > = = = = = = = = = = = = = = = = = = = = > > > > > > Best regards. > > Joshua B > > lists at jbsolutions.com.au > > www.jbsolutions.com.au > > 2003-09-05 > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Fri Sep 5 01:30:33 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 5 Sep 2003 07:30:33 +0100 Subject: [AccessD] OT Friday Humour Message-ID: <000001c37377$36321460$b274d0d5@minster33c3r25> > > All too rarely, Australian airline attendants make an effort to make >the > > in-flight "safety lecture" and their other announcements a bit more > > entertaining. Here are some real examples that have been heard or > > reported: > > > > On an Air NZ Flight with a very "senior" flight attendant crew, the > > pilot said, "Ladies and gentlemen, we've reached cruising altitude >and > > will be turning down the cabin lights. This is for your comfort and >to > > enhance the appearance of your flight attendants." > > > > -------------- > > On landing the hostess said, "Please be sure to take all your > > belongings. If you're going to leave anything, please make sure >it's > > something > > we'd like to have." > > > > -------------- > > "There may be 50 ways to leave your lover, but there are only 4 ways > > > to leave the aircraft." > > -------------- > > As the plane landed and was coming to a stop at Auckland, a lone > > voice came over the loudspeaker: "Whoa, big fella. WHOA!" > > -------------- > > After a particularly rough landing during thunderstorms in Adelaide, > > > a flight attendant on a Qantas flight announced, "Please take care > > > when opening the overhead compartments because, after a landing like > > > that, sure as f*** everything has shifted." > > > > -------------- > > From a Qantas employee: "Welcome aboard Qantas Flight XXX to YYY. To > > > operate your seat belt, insert the metal tab into the buckle, and >pull > > tight. It works just > > like every other seat belt; and, if you don't know how to operate >one, > > you > > probably shouldn't be out in public > > unsupervised." > > > > -------------- > > "In the event of a sudden loss of cabin pressure, masks will descend > > > from the ceiling. Stop screaming, grab the mask, and pull it over >your > > face. If you have a small child travelling with you, secure your >mask > > before > > assisting with theirs. If you are travelling with more than one small > > > child, pick your favourite. > > > > ------------- > > "Weather at our destination is 32 degrees with some broken clouds, > > but we'll try to have them fixed before we arrive. Thank you, and > > remember, > > nobody loves you, or your money, more than Qantas Airlines." > > > > -------------- > > "Your seat cushions can be used for flotation; and in the event of > > an emergency water landing, please paddle to shore and take them >with > > our compliments." > > -------------- > > "Should the cabin lose pressure, oxygen masks will drop from the > > overhead area. Please place the bag over your own mouth and nose >before > > assisting children ... or other adults acting like children." > > > > -------------- > > Heard on Qantas Airlines just after a very hard landing in Hobart: > > > The flight attendant came on the intercom and said, "That was quite >a > > bump, and I know what you are all thinking. I'm here to tell you it > > wasn't > > the airline's fault, it wasn't the pilot's fault, it wasn't the >flight > > attendant's fault ... it was the asphalt!" > > -------------- > > Another flight attendant's comment on a less than perfect landing: > > "We ask you to please remain seated as Captain Kangaroo bounces us >to the > > > > terminal." > > -------------- > > An airline pilot wrote that on this particular flight he had > > hammered his plane into the runway really hard. The airline had a >policy > > which > > required the first officer to stand at the door while the >passengers > > exited, > > smile, and give them a "Thanks for flying United." > > He said that, in light of his bad landing, he had a hard time > > looking the passengers in the eye, thinking that someone would have >a > > smart > > comment. > > Finally everyone had got off except for an old lady walking with a > > cane. She said, "Sonny, mind if I ask you a question?" > > "Why no Ma'am," said the pilot. "What is it?" > > The little old lady said, "Did we land or were we shot down?" > > > > -------------- > > After a real crusher of a landing in Sydney, the Flight Attendant > > came on with, "Ladies and Gentlemen, please remain in your seats >until > > Captain Crash and the Crew have brought the aircraft to a screeching >halt > > against the gate. And, once the tire smoke has cleared and the >warning > > bells are > > silenced, we'll open the door and you can pick your way through the > > wreckage to the terminal." > > -------------- > > Part of a flight attendant's arrival announcement: "We'd like to > > thank you folks for flying with us today. And, the next time you get >the > > insane urge to go blasting through the skies in a pressurized metal >tube, > > we > > hope you'll think of Qantas." > > -------------- > > A plane was taking off from Mascot Airport. After it reached a > > comfortable cruising altitude, the captain made an announcement over >the > > intercom, "Ladies and gentlemen, this is your captain speaking. >Welcome > > to > > Flight Number XYZ, non-stop from Sydney to Auckland. The weather >ahead is > > good and, therefore, we should have smooth and uneventful flight. >Now sit > > > > back and relax - SH*T! ARGHHH! OH, MY GOD!" > > > > Silence followed and after a few minutes, the captain came back on > > the intercom and said, "Ladies and Gentlemen, I am so sorry if I >scared > > you earlier, but, while I was talking, the flight attendant brought >me a > > cup of coffee and spilled the hot coffee in my lap. You should see >the > > front of my pants!" > > A passenger in Economy said, "That's nothing. He should see the back > > > of mine!" > > > Andy Lacey http://www.minstersystems.co.uk From harkins at iglou.com Fri Sep 5 02:51:22 2003 From: harkins at iglou.com (Susan Harkins) Date: Fri, 5 Sep 2003 03:51:22 -0400 Subject: [AccessD] OT -- For all you tree view guys... Message-ID: <003701c37382$8180f200$c9e6ffcc@SusanOne> http://www.15seconds.com/Issue/010921.htm Susan H. From gustav at cactus.dk Fri Sep 5 04:44:26 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 5 Sep 2003 11:44:26 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBA4@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBA4@cntexchange.pgdp.usec.com> Message-ID: <1919723030.20030905114426@cactus.dk> Hi Virginia > Alright! Got it. I see why you knew about it in the archives, you wrote it > :-) Yes, and have posted it many times, so I try not to clutter the list with my wonderful code. But it would certainly be nice with a searchable archive! > How do I make it work from my form & reports? Does it have to have an input > field for the dates? Or will it work from the table field dates - > DateEntered & Now() Yes. By now you've probably seen Stephen's explanation which is very good. /gustav From HollisVJ at pgdp.usec.com Fri Sep 5 07:28:46 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 05 Sep 2003 07:28:46 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBBB@cntexchange.pgdp.usec.com> I am not sure what you mean by 'pass' the dates. How do I tell the function to look at the DateEntered as the BegDate? The table has a field DateEntered. The form has a text box with the ControlSource(="Review is " & [PastDue] & " days past due") PastDue comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 'Pending) the text box shows the number of days it is past due. Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Thursday, September 04, 2003 4:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Days Past Due - Grace Period > What do I have to do to make this work from the form &/or report? > > Va. The function work_days accepts two arguments, BegDate and EndDate, and returns the number of weekdays between them. In your case, you're interested in the number of weekdays between a due date and today and if it's higher than 5, you want to take some action. I have no idea what your form or report looks like but if you have the due date of a particular item where the status is Pending, you would pass that as the BegDate and pass Date() as the end date to the function. The value returned would be the number of workdays between these two dates and you could proceed accordingly. HTH, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 9:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Here's a function to calculate number of weekdays between 2 > dates: > http://www.mvps.org/access/datetime/date0006.htm > > HTH, Stephen > > > *************** > > Used in the query to determine the number of days past due: > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > OnCurrent of the form: > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > 'Status is pending and review is 5 days past due. > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > Me!LateDate.Visible = True ' Show the sad face > > Me.DaysPastDue.Visible = True 'Show past due label '-- Show > > number of days over 5 that the project review is late > > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > Else > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > due, Date > > Entered is black > > Me!LateDate.Visible = False 'No sad face > > Me.DaysPastDue.Visible = False 'No past due label. > > End If > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Fri Sep 5 07:33:37 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 5 Sep 2003 07:33:37 -0500 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> <3F57E024.5010500@shaw.ca> Message-ID: <004701c373a9$f338d080$2e02d018@W2k> Marty, >> I remember finding a couple of bugs on boundary conditions. I tracked them down turning off "on error" conditions in form library. << I've found a bug or two myself, but I don't know what you mean by "boundary conditions." The 3011 error refers to an object on a completely different tab control page than the one for which I'm trying to set the focus. I figured it was some odd incompatibility between A2K and AXP with respect to the MSysObjects table. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From artful at rogers.com Fri Sep 5 10:36:13 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 5 Sep 2003 08:36:13 -0700 Subject: [AccessD] A2K Reference the dot column property in a query In-Reply-To: <03c701c37360$e9fccf60$6801a8c0@HAL9002> Message-ID: Here I go with static functions again, Rocky :-) IMO it is insane to refer to forms in queries. It ties your hands and makes your queries soooo un-reusable. You're on the right track with your public function but a static is way better, IMO. You can set it from anywhere, including the debug window, and check your query before running it in the real app world. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K Reference the dot column property in a query I know there must be a solution to this problem but I've never figured it out. Whenever I run into the problem of referencing a form value in a query I always make a public function like: Public Function GetComboValue GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) End Function Then in the query you can put GetComboValue() and it will return the value. Seems there should be a better way though. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, September 04, 2003 8:34 PM Subject: [AccessD] A2K Reference the dot column property in a query > Hello all > In VBA the code to reference certain columns in a combo box on a form is... > Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > But when I use the same syntax in a query I get errors - namely > Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > > What should I type to reference a particular column of a combo in a query? > > 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From dkalsow at yahoo.com Fri Sep 5 07:40:45 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Fri, 5 Sep 2003 05:40:45 -0700 (PDT) Subject: [AccessD] listbox question Message-ID: <20030905124045.88780.qmail@web9803.mail.yahoo.com> Ok, I know this should be easy but I am still having a problem with it. Does any know how to select all of the items in a listbox? Thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From scapistrant at symphonyinfo.com Fri Sep 5 08:03:57 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 5 Sep 2003 08:03:57 -0500 Subject: [AccessD] listbox question In-Reply-To: <20030905124045.88780.qmail@web9803.mail.yahoo.com> Message-ID: Call this public function from any form that has a list box. It can be used to SELECT ALL or UNSELECT ALL items. ---------------- Public Function FillClearListBox(ctlList As Control, bytAction As Byte) As Boolean 'Selects or Deselects all items in list box Arguments: 'ctlList: the fully articulated name of the listbox (e.g. Forms!frmMyForm!lstMyList) 'bytAction: The type of action desired; 1=Select All, 2=Unselect All On Error GoTo eh Dim intItem As Integer 'Loop through each item on list and either select or deselect it. For intItem = 0 To ctlList.ListCount - 1 Select Case bytAction Case 1: ctlList.Selected(intItem) = True Case 2: ctlList.Selected(intItem) = False End Select Next ex: Set ctlList = Nothing Exit Function eh: MsgBox Err.Description GoTo ex End Function -------------------------- Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow Sent: Friday, September 05, 2003 7:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] listbox question Ok, I know this should be easy but I am still having a problem with it. Does any know how to select all of the items in a listbox? Thanks! Dale ---------------------------------------------------------------------------- ---- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From dkalsow at yahoo.com Fri Sep 5 08:20:16 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Fri, 5 Sep 2003 06:20:16 -0700 (PDT) Subject: [AccessD] listbox question In-Reply-To: Message-ID: <20030905132016.81623.qmail@web9804.mail.yahoo.com> works great! - Thanks! Steve Capistrant wrote:Call this public function from any form that has a list box. It can be used to SELECT ALL or UNSELECT ALL items. ---------------- Public Function FillClearListBox(ctlList As Control, bytAction As Byte) As Boolean 'Selects or Deselects all items in list box Arguments: 'ctlList: the fully articulated name of the listbox (e.g. Forms!frmMyForm!lstMyList) 'bytAction: The type of action desired; 1=Select All, 2=Unselect All On Error GoTo eh Dim intItem As Integer 'Loop through each item on list and either select or deselect it. For intItem = 0 To ctlList.ListCount - 1 Select Case bytAction Case 1: ctlList.Selected(intItem) = True Case 2: ctlList.Selected(intItem) = False End Select Next ex: Set ctlList = Nothing Exit Function eh: MsgBox Err.Description GoTo ex End Function -------------------------- Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow Sent: Friday, September 05, 2003 7:41 AM To: accessd at databaseadvisors.com Subject: [AccessD] listbox question Ok, I know this should be easy but I am still having a problem with it. Does any know how to select all of the items in a listbox? Thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Griffiths at bury.gov.uk Fri Sep 5 08:39:43 2003 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 5 Sep 2003 14:39:43 +0100 Subject: [AccessD] listbox question Message-ID: <52339DF8DCA2A544AF660C8217EB7DCD0227F253@MAILGATE.bury.gov.uk> Hi a slightly faster version (if you have many items) would be to do away with the select case statement and pass into the function true or false so you would get : for.. ctlList.Selected(intItem) = boolParameter loop or even for.. if ctlList.Selected(intItem) <> boolParameter then ctlList.Selected(intItem) = boolParameter endif loop on the premise that testing an property is quicker than updating a property. (No doubt the are even more efficient methods that these) Richard > -----Original Message----- > From: Dale Kalsow [SMTP:dkalsow at yahoo.com] > Sent: 05 September 2003 14:20 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] listbox question > > works great! - Thanks! > > Steve Capistrant wrote: > > Call this public function from any form that has a list box. It can > be used to SELECT ALL or UNSELECT ALL items. > ---------------- > > Public Function FillClearListBox(ctlList As Control, bytAction As > Byte) As Boolean > 'Selects or Deselects all items in list box > Arguments: > 'ctlList: the fully articulated name of the listbox (e.g. > Forms!frmMyForm!lstMyList) > 'bytAction: The type of action desired; 1=Select All, 2=Unselect > All > > On Error GoTo eh > > Dim intItem As Integer > > 'Loop through each item on list and either select or deselect it. > For intItem = 0 To ctlList.ListCount - 1 > Select Case bytAction > Case 1: ctlList.Selected(intItem) = True > Case 2: ctlList.Selected(intItem) = False > End Select > Next > > ex: > Set ctlList = Nothing > Exit Function > eh: > MsgBox Err.Description > GoTo ex > End Function > -------------------------- > > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > Phone: 612-333-1311 > www.symphonyinfo.com > 212 3rd Ave N, Ste 404 > Minneapolis, MN 55401 > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow > Sent: Friday, September 05, 2003 7:41 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] listbox question > > > Ok, I know this should be easy but I am still having a problem with > it. Does any know how to select all of the items in a listbox? > > Thanks! > > Dale > > > _____ > > Do you Yahoo!? > Yahoo! SiteBuilder > - Free, > easy-to-use web site design software > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > _____ > > Do you Yahoo!? > Yahoo! SiteBuilder > - Free, > easy-to-use web site design software << File: ATT60966.txt >> From jim.hale at fleetpride.com Fri Sep 5 09:17:07 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 5 Sep 2003 09:17:07 -0500 Subject: [AccessD] A2K Reference the dot column property in a query Message-ID: <869379ABF177D4118D3100508B5EF873063950ED@corp-es00> The last time Arthur posted the code for a static function I got religion. It is a very elegant way to do things. Thanks Arthur! Jim Hale -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Friday, September 05, 2003 10:36 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K Reference the dot column property in a query Here I go with static functions again, Rocky :-) IMO it is insane to refer to forms in queries. It ties your hands and makes your queries soooo un-reusable. You're on the right track with your public function but a static is way better, IMO. You can set it from anywhere, including the debug window, and check your query before running it in the real app world. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 04, 2003 8:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K Reference the dot column property in a query I know there must be a solution to this problem but I've never figured it out. Whenever I run into the problem of referencing a form value in a query I always make a public function like: Public Function GetComboValue GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) End Function Then in the query you can put GetComboValue() and it will return the value. Seems there should be a better way though. Rocky ----- Original Message ----- From: "Darren DICK" To: "AccessD List" Sent: Thursday, September 04, 2003 8:34 PM Subject: [AccessD] A2K Reference the dot column property in a query > Hello all > In VBA the code to reference certain columns in a combo box on a form is... > Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > But when I use the same syntax in a query I get errors - namely > Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > > What should I type to reference a particular column of a combo in a query? > > 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.hale at fleetpride.com Fri Sep 5 09:33:28 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 5 Sep 2003 09:33:28 -0500 Subject: [AccessD] Speed up DAO processing Message-ID: <869379ABF177D4118D3100508B5EF873063950EE@corp-es00> Seek can be made to work with linked tables. the secret is in pointing the database object to the backend with the following function: (I believe this is from a M$ article if I remeber correctly) Function WhichDB(strTableName As String) As Database Dim dbpath$, SourceTable$, dbTest As Database On Error GoTo whichDB_ERR Set dbTest = DBEngine(0)(0) dbpath = Mid(dbTest(strTableName).Connect, InStr(1, dbTest(strTableName).Connect, "=") + 1) If dbpath = "" Then Set dbTest = CurrentDb() Else Set dbTest = DBEngine(0).OpenDatabase(dbpath) End If Set WhichDB = dbTest whichDB_EXIT: Exit Function whichDB_ERR: MsgBox Err.Description Resume whichDB_EXIT End Function Now seek will work properly with the backend. I often use seek on small tables to retrieve parameters such as path names. Function Pathnamefile(catcodekey As String) As String Dim pathnme As String, rstbase As Recordset, dbs As Database, strTable As String ' Comments : Retrieves pathname of record where catcode1=catcodekey ' -------------------------------------------------------- On Error GoTo PROC_ERR strTable = "Paths" Set dbs = WhichDB(strTable) 'opens the paths table Set rstbase = dbs.OpenRecordset(strTable, dbOpenTable) rstbase.Index = "catcode1" 'sets pointer to record where catcode1 field is set to Process rstbase.Seek "=", catcodekey 'retrieves path where catcode1 field is set to chosen case Pathnamefile = rstbase.Fields("path") Exit Function PROC_ERR: MsgBox "The following error occured: " & Error$ Resume Next End Function -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Thursday, September 04, 2003 1:46 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Speed up DAO processing OK see the prob... I had some speed issues to when comparing 10 or even 100 thousand records. There is a thing with findfirst that I believe is a bug in A2K, don't know for A97 or AXP. SEEK is not usaeable with linked tables. SEEK u can use only one field. SEEK is at my knowledge not faster than findfirst, this was only true in Access v2. The problem with findfirst lies in the AND criteria. For some reasons findfirst is terribly slow when using more than one field parameter. Even when having indexes on both fields or a joint field index. I believe this is a bug. so don't use multiple citeria in findfirst. Use SQL strings in a loop with criteria and use only one in findfirst. This is the fastest you will get if you really need line-by-line processing. If you can avoid using the ORDER BY parameter in your SQL string this will speed thing even more. (you gonna have a lot of SQL queries in this loop) Rethink if you cannot do your thing only with queries. this is always faster. I see however the prob with this compare and sometimes queries are not updateable depending on the data. Please put some indexes or the criteria fields. Another remark thats important when reading/editting large quantities of records. rsP!AMOUNT=123 is slower than rsP(AMOUNT)=123 rsp.fields(AMOUNT)=123 is same speed as rsP(AMOUNT)=123 stop using the ! parameter, it is outdated and slows down. There is only one situation ! is still need and I believe in a form or report referencing somewhere... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Dettman Verzonden: woensdag 3 september 2003 20:09 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Speed up DAO processing Lonnie, Seek is the fastest way to go. Outside of that, it sounds like you should be able to do this just with bulk SQL Inserts/updates, which would be even faster. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Wednesday, September 03, 2003 2:02 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Speed up DAO processing I have four tables. Table1 is where all the records end up. It starts out empty. 1. I take all transactions from Table2 and append them into Table1. 2. I then check each record in Table3 and see if there is a corresponding record in Table1 based on two fields. If so, then I edit the existing record in Table1. If not, I add it. 3. I the do the same as in step 2 for Table4. I am using DAO recordset processing and use the RS.FindFirst method to see if records from Table3 or 4 are in Table1. It appears that this FindFirst method is greatly slowing my process. Is there a faster way. I pasted my code below if anyone wants to see it. Option Compare Database Dim dbCurr As DAO.Database Dim rsD As DAO.Recordset Dim rsF As DAO.Recordset Dim rsP As DAO.Recordset Dim rsR As DAO.Recordset Dim fldName As String Public Sub TestRun() Call uTData("t") End Sub Public Sub uTData(objType As String) Dim passVar As String Set dbCurr = CurrentDb 'Clear the old values DoCmd.SetWarnings False DoCmd.RunSQL "DELETE * FROM t_DATA" DoCmd.SetWarnings True If objType = "t" Then passVar = "T_Data_Files" Else passVar = "Q_Data_Files" -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Fri Sep 5 09:48:39 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 5 Sep 2003 07:48:39 -0700 Subject: [AccessD] A2K Reference the dot column property in a query References: Message-ID: <00cf01c373bc$cb577c20$6801a8c0@HAL9002> Must have missed that thread Arthur. What are static functions? Rocky ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 8:36 AM Subject: RE: [AccessD] A2K Reference the dot column property in a query > Here I go with static functions again, Rocky :-) > > IMO it is insane to refer to forms in queries. It ties your hands and makes > your queries soooo un-reusable. You're on the right track with your public > function but a static is way better, IMO. You can set it from anywhere, > including the debug window, and check your query before running it in the > real app world. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Thursday, September 04, 2003 8:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > I know there must be a solution to this problem but I've never figured it > out. Whenever I run into the problem of referencing a form value in a query > I always make a public function like: > > Public Function GetComboValue > GetComboValue=Forms!frmMyForm!cmbMyCombo.Column(2) > End Function > > Then in the query you can put GetComboValue() and it will return the value. > > Seems there should be a better way though. > > Rocky > > ----- Original Message ----- > From: "Darren DICK" > To: "AccessD List" > Sent: Thursday, September 04, 2003 8:34 PM > Subject: [AccessD] A2K Reference the dot column property in a query > > > > Hello all > > In VBA the code to reference certain columns in a combo box on a form > is... > > Forms!frmMyForm!cmbMyCombo.Colum(2) - Cool it all works > > But when I use the same syntax in a query I get errors - namely > > Undefined function '[Forms]!frmMyForm!cmbMyCombo.Column' in expression > > > > What should I type to reference a particular column of a combo in a query? > > > > 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 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ranthony at wrsystems.com Fri Sep 5 09:49:00 2003 From: ranthony at wrsystems.com (Randall Anthony) Date: Fri, 5 Sep 2003 10:49:00 -0400 Subject: [AccessD] Alter Table Message-ID: <5F21A4E8B8DD734992EF9E70AC9D30641287B5@mail2.wrsystems.com> Thanks for pointing me in the right direction Michael and Susan. I was able to simplify what I needed with the following: Private Function CreatePk(objDB As DAO.Database, tdfname As String, pk1 As String, pk2 As String, pk3 As String) Dim tdf As DAO.TableDef Dim idx As DAO.Index Dim fld As DAO.Field Set tdf = objDB.TableDefs(tdfname) Set idx = tdf.CreateIndex("primarykey") idx.Primary = True idx.Required = True idx.IgnoreNulls = False 'this method uses DAO to create primary keys for an existing table and existing 'fields within that table 'case statements are used to pass the primary key parameters 'multiple primary keys can be assigned Set fld = idx.CreateField(pk1) idx.Fields.Append fld Set fld = idx.CreateField(pk2) idx.Fields.Append fld If pk3 <> "" Then Set fld = idx.CreateField(pk3) idx.Fields.Append fld End If tdf.Indexes.Append idx End Function -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Tuesday, September 02, 2003 4:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Alter Table Hi Anthony, I usually use DAO for this: Usage: Call CreatePKAutoIncr(CurrentDB, "Table","Field",True) Private Function CreatePKAutoIncr(objDB As DAO.Database, _ tdfName As String, fldName As String, PK As Boolean) Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim idx As DAO.Index objDB.TableDefs.Refresh Set tdf = objDB.TableDefs(tdfName) Set fld = tdf.CreateField(fldName, dbLong) With fld .OrdinalPosition = 0 .Attributes = dbAutoIncrField End With tdf.Fields.Append fld If PK = True Then Set idx = tdf.CreateIndex("PrimaryKey") With idx .Primary = True .Required = True .Unique = True End With Set fld = idx.CreateField(fldName) idx.Fields.Append fld tdf.Indexes.Append idx End If RefreshDatabaseWindow Exit_CreatePKAutoIncr: On Error Resume Next Set idx = Nothing Set fld = Nothing Set tdf = Nothing Exit Function Err_CreatePKAutoIncr: MsgBox Err.Description, , "Error in Function mTbl.CreatePKAutoIncr" Resume Exit_CreatePKAutoIncr End Function Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Randall Anthony" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, September 02, 2003 4:18 PM Subject: RE: [AccessD] Alter Table > Thanks for that Susan, but I should have been more specific. I've got a > table that is already populated with data, and three of the 6 fields need to > be turned into a PK. I used to do this manually, but I'm automating this > feature so users can do it themselves. Basically, a remote dbase > imports/links tables from sql, a make table query creates a new table, the > link table is deleted, and the PK needs to be set for the new table. > > -----Original Message----- > From: Susan Harkins [mailto:harkins at iglou.com] > Sent: Tuesday, September 02, 2003 3:57 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Alter Table > > More than one way to do it -- > > SQL: > ALTER TABLE tbl > ADD COLUMN fld AUTOINCREMENT > CONSTRAINT pk PRIMARY KEY > > ADOX: > Function AddAutoNumberField(fldname As String, seedvalue As Long, _ > incvalue As Long, tblname As String) > Dim cat As New ADOX.Catalog > Dim col As New ADOX.Column > cat.ActiveConnection = CurrentProject.Connection > With col > .Name = fldname > .Type = adInteger > Set .ParentCatalog = cat > .Properties("AutoIncrement") = True > .Properties("Seed") = CLng(seedvalue) > .Properties("Increment") = CLng(incvalue) > End With > cat.Tables(tblname).Columns.Append col > Set cat = Nothing > Set col = Nothing > End Function > > > > > > > ----- Original Message ----- > From: "Randall Anthony" > To: > Sent: Tuesday, September 02, 2003 3:23 PM > Subject: [AccessD] Alter Table > > > > Hi all, > > I know this has got to be an easy one, but help in XP and 2K is driving me > > nuts!! I just want to alter an A2K table with code and create a primary > key > > in it. Any suggestions? Thanks a bunch. > > > > Randy @ ext. 473 > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 5 09:47:34 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 5 Sep 2003 09:47:34 -0500 Subject: [AccessD] Sidebar navigation Message-ID: <869379ABF177D4118D3100508B5EF873063950EF@corp-es00> Database creations has the type of menu system you are looking for. I have used it and have never had any problems. http://www.databasecreations.com/prod_ezappmgr.htm Jim Hale -----Original Message----- From: Joshua B [mailto:lists at jbsolutions.com.au] Sent: Monday, September 01, 2003 12:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sidebar navigation Hi William, Thanks for that. I had a quick look at this, but it seems to rely on an ocx, which I would prefer to steer clear of if possible. It did however give me the idea of using a subform as a sidebar. If I code it correctly, I should be able to place the subform on each main form, and use that as my navigation tool. I must admit, I'm not a big fan of this style of navigation either. I'd prefer to force the user to finish the screen they are on, then go back to the main menu to select their next task. Less room for error. But, the customers always right... Thanks again. ======= At 2003-08-31, 23:39:00 you wrote: ======= >....take a look at www.aadconsulting.com ...they have an outlook style menu >that uses your normal switchboard table ...$15 for source and it does work >though I've not used it in any client app ...not a fan of outlook type >sidebars myself ...HTH :) > >William Hindman > - Do you want liberty in your lifetime? = = = = = = = = = = = = = = = = = = = = Best regards. Joshua B lists at jbsolutions.com.au www.jbsolutions.com.au 2003-09-01 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Sep 5 09:56:02 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 09:56:02 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF802227176@main2.marlow.com> Just out of curiousity, what does 'But it would certainly be nice with a searchable archive!' mean? We have a searchable archive. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 05, 2003 4:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Virginia > Alright! Got it. I see why you knew about it in the archives, you wrote it > :-) Yes, and have posted it many times, so I try not to clutter the list with my wonderful code. But it would certainly be nice with a searchable archive! > How do I make it work from my form & reports? Does it have to have an input > field for the dates? Or will it work from the table field dates - > DateEntered & Now() Yes. By now you've probably seen Stephen's explanation which is very good. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 5 10:08:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 5 Sep 2003 17:08:12 +0200 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227176@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802227176@main2.marlow.com> Message-ID: <18529149364.20030905170812@cactus.dk> Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. From DWUTKA at marlow.com Fri Sep 5 10:18:59 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 10:18:59 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227178@main2.marlow.com> Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 05, 2003 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Sep 5 10:20:39 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 11:20:39 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: There is a search box on the main dba page (http://www.databaseadvisors.com in the upper right corner) which searches Drew's Archive, which is a second archive of the AccessD list only, IIRC The arcives, for all the DBA lists, at http://databaseadvisors.com doesn't have a search function. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> gustav at cactus.dk 05-Sep-03 11:08:12 AM >>> Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Sep 5 10:22:55 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 11:22:55 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: I think it does work sometimes Drew. I used it this morning and the search worked, but I just tried it again and it didn't. Hmmm. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? From Bryan_Carbonnell at cbc.ca Fri Sep 5 10:27:45 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 11:27:45 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: I just found the difference. Why it works sometimes and not other times!! If you use the search box at the top of the www.databaseadvisors.com page, then you have to re-enter the search terms when you hit Drew's archive. If you click the Archive link, in the left menu form the main page and use the search box in the IFrame (the body of the page), then the search will actually search. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> I think it does work sometimes Drew. I used it this morning and the search worked, but I just tried it again and it didn't. Hmmm. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? From wdhindman at bellsouth.net Fri Sep 5 10:34:47 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 11:34:47 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) References: Message-ID: <011501c373c3$3ce82690$6001a8c0@dejpolsys> ...help!!!!! :))))))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, September 05, 2003 11:27 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > I just found the difference. Why it works sometimes and not other > times!! > > If you use the search box at the top of the www.databaseadvisors.com > page, then you have to re-enter the search terms when you hit Drew's > archive. > > If you click the Archive link, in the left menu form the main page and > use the search box in the IFrame (the body of the page), then the search > will actually search. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > I think it does work sometimes Drew. > > I used it this morning and the search worked, but I just tried it > again > and it didn't. > > Hmmm. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > Nope....and let's not mention archives and burning in the same post > from now > on. I have sprinklers at my new place, but I'd rather not chance it! > > > http://wolfwares.com/AccessD > > Also, if you use the search box on www.databaseadvisors.com, it will > take > you to the archives I'm running, but it doesn't actually 'search'. > You > have > to redo your search once you're at my site. Jim, if you get this, can > you > fix that? Also if you read this Jim, I did give you access to my site > to > get the archives to 'look' like the dba site, right? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Fri Sep 5 10:44:31 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 10:44:31 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222717C@main2.marlow.com> With what? Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 05, 2003 10:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...help!!!!! :))))))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, September 05, 2003 11:27 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > I just found the difference. Why it works sometimes and not other > times!! > > If you use the search box at the top of the www.databaseadvisors.com > page, then you have to re-enter the search terms when you hit Drew's > archive. > > If you click the Archive link, in the left menu form the main page and > use the search box in the IFrame (the body of the page), then the search > will actually search. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > I think it does work sometimes Drew. > > I used it this morning and the search worked, but I just tried it > again > and it didn't. > > Hmmm. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > Nope....and let's not mention archives and burning in the same post > from now > on. I have sprinklers at my new place, but I'd rather not chance it! > > > http://wolfwares.com/AccessD > > Also, if you use the search box on www.databaseadvisors.com, it will > take > you to the archives I'm running, but it doesn't actually 'search'. > You > have > to redo your search once you're at my site. Jim, if you get this, can > you > fix that? Also if you read this Jim, I did give you access to my site > to > get the archives to 'look' like the dba site, right? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Fri Sep 5 11:02:13 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 12:02:13 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) References: <2F8793082E00D4119A1700B0D0216BF80222717C@main2.marlow.com> Message-ID: <015101c373c7$12364ae0$6001a8c0@dejpolsys> ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 11:44 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > With what? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 10:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...help!!!!! :))))))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, September 05, 2003 11:27 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > I just found the difference. Why it works sometimes and not other > > times!! > > > > If you use the search box at the top of the www.databaseadvisors.com > > page, then you have to re-enter the search terms when you hit Drew's > > archive. > > > > If you click the Archive link, in the left menu form the main page and > > use the search box in the IFrame (the body of the page), then the search > > will actually search. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > I think it does work sometimes Drew. > > > > I used it this morning and the search worked, but I just tried it > > again > > and it didn't. > > > > Hmmm. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > Nope....and let's not mention archives and burning in the same post > > from now > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > http://wolfwares.com/AccessD > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > take > > you to the archives I'm running, but it doesn't actually 'search'. > > You > > have > > to redo your search once you're at my site. Jim, if you get this, can > > you > > fix that? Also if you read this Jim, I did give you access to my site > > to > > get the archives to 'look' like the dba site, right? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 5 11:11:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 5 Sep 2003 18:11:04 +0200 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: <015101c373c7$12364ae0$6001a8c0@dejpolsys> References: <2F8793082E00D4119A1700B0D0216BF80222717C@main2.marlow.com> <015101c373c7$12364ae0$6001a8c0@dejpolsys> Message-ID: <17332920807.20030905181104@cactus.dk> Hi William Yea, I got that. But Bryan forgot the little detail that you have to press Enter while in the Search box (just found out) - clicking the small button doesn't work for me. /gustav > ...search ...deciphering Bryan's instructions ...figuring out why its so > hard to search our own archives ...etc ...etc :))) > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, September 05, 2003 11:44 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) >> With what? >> >> Drew >> >> >> ...help!!!!! :))))))) >> > I just found the difference. Why it works sometimes and not other >> > times!! >> > >> > If you use the search box at the top of the www.databaseadvisors.com >> > page, then you have to re-enter the search terms when you hit Drew's >> > archive. >> > >> > If you click the Archive link, in the left menu form the main page and >> > use the search box in the IFrame (the body of the page), then the search >> > will actually search. >> > >> > Bryan Carbonnell >> > bryan_carbonnell at cbc.ca From DWUTKA at marlow.com Fri Sep 5 11:21:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 11:21:01 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222717F@main2.marlow.com> It's not hard William, just go to my website. Sometimes I wonder if your Web Challenged William! Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 05, 2003 11:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 11:44 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > With what? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 10:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...help!!!!! :))))))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, September 05, 2003 11:27 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > I just found the difference. Why it works sometimes and not other > > times!! > > > > If you use the search box at the top of the www.databaseadvisors.com > > page, then you have to re-enter the search terms when you hit Drew's > > archive. > > > > If you click the Archive link, in the left menu form the main page and > > use the search box in the IFrame (the body of the page), then the search > > will actually search. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > I think it does work sometimes Drew. > > > > I used it this morning and the search worked, but I just tried it > > again > > and it didn't. > > > > Hmmm. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > Nope....and let's not mention archives and burning in the same post > > from now > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > http://wolfwares.com/AccessD > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > take > > you to the archives I'm running, but it doesn't actually 'search'. > > You > > have > > to redo your search once you're at my site. Jim, if you get this, can > > you > > fix that? Also if you read this Jim, I did give you access to my site > > to > > get the archives to 'look' like the dba site, right? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Sep 5 11:23:19 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 12:23:19 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: Yea. Sorry 'bout that. Trying to do 12 things at once, not doing any of them well and not proofreading e-mails Let's try this again in english :-) To search the AccessD archives: 1) Goto http://www.databaseadvisors.com 2) Click the Archives link in the left navigation menu. This will take you to a "new" page. 3) In the search box in the body of the page, NOT the one at the top of the page, enter your search term(s) 4) Hit enter or click the Go button beside it. If you hit Enter, a new browser window will open. If you click the go button, then the search will open in the frame in the middle of the page. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> wdhindman at bellsouth.net 05-Sep-03 12:02:13 PM >>> ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman From Bryan_Carbonnell at cbc.ca Fri Sep 5 11:25:11 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 12:25:11 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: Both Enter and the Go button work for me. They just display the results differently. See my "english" post of how to search the archives. :) Bryan Carbonnell bryan_carbonnell at cbc.ca >>> gustav at cactus.dk 05-Sep-03 12:11:04 PM >>> Hi William Yea, I got that. But Bryan forgot the little detail that you have to press Enter while in the Search box (just found out) - clicking the small button doesn't work for me. /gustav > ...search ...deciphering Bryan's instructions ...figuring out why its so > hard to search our own archives ...etc ...etc :))) > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, September 05, 2003 11:44 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) >> With what? >> >> Drew >> >> >> ...help!!!!! :))))))) >> > I just found the difference. Why it works sometimes and not other >> > times!! >> > >> > If you use the search box at the top of the www.databaseadvisors.com >> > page, then you have to re-enter the search terms when you hit Drew's >> > archive. >> > >> > If you click the Archive link, in the left menu form the main page and >> > use the search box in the IFrame (the body of the page), then the search >> > will actually search. >> > >> > Bryan Carbonnell >> > bryan_carbonnell at cbc.ca _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Sep 5 11:39:03 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 12:39:03 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) References: <2F8793082E00D4119A1700B0D0216BF80222717F@main2.marlow.com> Message-ID: <018c01c373cc$375ab540$6001a8c0@dejpolsys> ...and pray tell why do we have to go to wolfwares.com first to search dba's archives? ...talk about challenged! :))))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 12:21 PM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > It's not hard William, just go to my website. Sometimes I wonder if your > Web Challenged William! > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 11:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...search ...deciphering Bryan's instructions ...figuring out why its so > hard to search our own archives ...etc ...etc :))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, September 05, 2003 11:44 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > With what? > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Friday, September 05, 2003 10:35 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > ...help!!!!! :))))))) > > > > William Hindman > > "the world is full of trickery. But let this not blind you to what virtue > > there is; many persons strive for high ideals, and everywhere life is > > full of heroism." ...from Desiderata > > > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, September 05, 2003 11:27 AM > > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > > I just found the difference. Why it works sometimes and not other > > > times!! > > > > > > If you use the search box at the top of the www.databaseadvisors.com > > > page, then you have to re-enter the search terms when you hit Drew's > > > archive. > > > > > > If you click the Archive link, in the left menu form the main page and > > > use the search box in the IFrame (the body of the page), then the search > > > will actually search. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > > I think it does work sometimes Drew. > > > > > > I used it this morning and the search worked, but I just tried it > > > again > > > and it didn't. > > > > > > Hmmm. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > > Nope....and let's not mention archives and burning in the same post > > > from now > > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > > > > http://wolfwares.com/AccessD > > > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > > take > > > you to the archives I'm running, but it doesn't actually 'search'. > > > You > > > have > > > to redo your search once you're at my site. Jim, if you get this, can > > > you > > > fix that? Also if you read this Jim, I did give you access to my site > > > to > > > get the archives to 'look' like the dba site, right? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Fri Sep 5 11:41:51 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 12:41:51 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) References: Message-ID: <019501c373cc$9b7785d0$6001a8c0@dejpolsys> ...methinks the page needs to be redesigned eh? ...but now I'll have Lembit or Donna nagging me about why "I" don't do it :(((((( William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, September 05, 2003 12:23 PM Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > Yea. Sorry 'bout that. Trying to do 12 things at once, not doing any of > them well and not proofreading e-mails > > Let's try this again in english :-) > > To search the AccessD archives: > > 1) Goto http://www.databaseadvisors.com > > 2) Click the Archives link in the left navigation menu. This will take > you to a "new" page. > > 3) In the search box in the body of the page, NOT the one at the top of > the page, enter your search term(s) > > 4) Hit enter or click the Go button beside it. > > If you hit Enter, a new browser window will open. If you click the go > button, then the search will open in the frame in the middle of the > page. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> wdhindman at bellsouth.net 05-Sep-03 12:02:13 PM >>> > ...search ...deciphering Bryan's instructions ...figuring out why its > so > hard to search our own archives ...etc ...etc :))) > > William Hindman > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Fri Sep 5 11:56:03 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 05 Sep 2003 10:56:03 -0600 Subject: [AccessD] listbox question Message-ID: Just another comment on the comments pertaining to the parameters and the parameters themselves. First, the function definition accepts a parameter of type 'Control' which, although acceptable, is not as narrow as it could be for the intended purpose. It would be more accurate to define that parameter as type 'ListBox' and that permits intellisense and autocomplete. In a sense, the converse is true of the other parameter; although a byte is the most limited variable one can use to pass one of eight choices and it only uses 8 bits whereas a boolean requires 16. But long gone are the days where the extra 24 bits of a 32 bit long will run an application out of memory. Although an application may benefit in terms of storage and LAN traffic from using a smaller datatype when many records reside in large tables, there is a small overhead when converting the smaller datatype for use by a 32 bit operating system that results in superior performance with a long datatype. As the parameter being passed is a single value, it is more efficient to use a long. The iteration variable is typed as an Integer which is all that is required as the scroll bar of list boxes constrains the number of elements in a list box to exactly the number addressble by an integer but it too is more efficient as a Long. For a mere 16 bits of RAM, a loop that may run up to 64K times is a bit faster and that is a worthwhile tradeoff. The comment suggests that it is a fully 'articulated' (qualified?) name and spells out what appears to be misconstrued as a string name. What is actually being passed is an object variable by reference which amounts to no more than a long pointer directly to the object in situ. I always add an 'invert' option for those cases where you want to select all items except one or two. That way it is easy to click on the exceptions and invert the selections. For this purpose it is useful to declare three Long constants to pass. The third Case (invert) might look like this (if one changes the iteration variable to a Long for the reasons mentioned above, named lngI): Case 3 For lngI = 0 To ctlList.ListCount - 1 ctlList.Selected(lngI) = cltList.Selected(lngI) + 1 Next Hen >From: "Steve Capistrant" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox question >Date: Fri, 5 Sep 2003 08:03:57 -0500 > >Call this public function from any form that has a list box. It can be >used >to SELECT ALL or UNSELECT ALL items. >---------------- > >Public Function FillClearListBox(ctlList As Control, bytAction As Byte) As >Boolean >'Selects or Deselects all items in list box >Arguments: > 'ctlList: the fully articulated name of the listbox (e.g. >Forms!frmMyForm!lstMyList) > 'bytAction: The type of action desired; 1=Select All, 2=Unselect All > >On Error GoTo eh > > Dim intItem As Integer > >'Loop through each item on list and either select or deselect it. > For intItem = 0 To ctlList.ListCount - 1 > Select Case bytAction > Case 1: ctlList.Selected(intItem) = True > Case 2: ctlList.Selected(intItem) = False > End Select > Next > >ex: > Set ctlList = Nothing > Exit Function >eh: > MsgBox Err.Description > GoTo ex >End Function >-------------------------- > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >Phone: 612-333-1311 >www.symphonyinfo.com >212 3rd Ave N, Ste 404 >Minneapolis, MN 55401 > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow >Sent: Friday, September 05, 2003 7:41 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] listbox question > > >Ok, I know this should be easy but I am still having a problem with it. >Does any know how to select all of the items in a listbox? > >Thanks! > >Dale _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Fri Sep 5 12:03:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 5 Sep 2003 13:03:49 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: <015101c373c7$12364ae0$6001a8c0@dejpolsys> Message-ID: The reason is that they aren't "our" archives. They are DBA Archives on Drew's server. Drew has agreed to host the archives so that DBA can avoid the cost of gigabytes of storage. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, September 05, 2003 12:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 11:44 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > With what? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 10:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...help!!!!! :))))))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, September 05, 2003 11:27 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > I just found the difference. Why it works sometimes and not other > > times!! > > > > If you use the search box at the top of the www.databaseadvisors.com > > page, then you have to re-enter the search terms when you hit Drew's > > archive. > > > > If you click the Archive link, in the left menu form the main page and > > use the search box in the IFrame (the body of the page), then the search > > will actually search. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > I think it does work sometimes Drew. > > > > I used it this morning and the search worked, but I just tried it > > again > > and it didn't. > > > > Hmmm. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > Nope....and let's not mention archives and burning in the same post > > from now > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > http://wolfwares.com/AccessD > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > take > > you to the archives I'm running, but it doesn't actually 'search'. > > You > > have > > to redo your search once you're at my site. Jim, if you get this, can > > you > > fix that? Also if you read this Jim, I did give you access to my site > > to > > get the archives to 'look' like the dba site, right? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bryan_Carbonnell at cbc.ca Fri Sep 5 12:10:26 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Fri, 05 Sep 2003 13:10:26 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: Small correction John, They are DBA's AccessD archives. I don't think Drew archives all the lists. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 05-Sep-03 1:03:49 PM >>> The reason is that they aren't "our" archives. They are DBA Archives on Drew's server. Drew has agreed to host the archives so that DBA can avoid the cost of gigabytes of storage. From wdhindman at bellsouth.net Fri Sep 5 12:20:17 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 5 Sep 2003 13:20:17 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) References: Message-ID: <000601c373d1$fa1a42d0$6001a8c0@dejpolsys> ...I'm aware of that JC ...but it doesn't answer the question :) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "John Colby" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 1:03 PM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > The reason is that they aren't "our" archives. They are DBA Archives on > Drew's server. Drew has agreed to host the archives so that DBA can avoid > the cost of gigabytes of storage. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Friday, September 05, 2003 12:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...search ...deciphering Bryan's instructions ...figuring out why its so > hard to search our own archives ...etc ...etc :))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, September 05, 2003 11:44 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > With what? > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Friday, September 05, 2003 10:35 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > ...help!!!!! :))))))) > > > > William Hindman > > "the world is full of trickery. But let this not blind you to what virtue > > there is; many persons strive for high ideals, and everywhere life is > > full of heroism." ...from Desiderata > > > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, September 05, 2003 11:27 AM > > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > > I just found the difference. Why it works sometimes and not other > > > times!! > > > > > > If you use the search box at the top of the www.databaseadvisors.com > > > page, then you have to re-enter the search terms when you hit Drew's > > > archive. > > > > > > If you click the Archive link, in the left menu form the main page and > > > use the search box in the IFrame (the body of the page), then the search > > > will actually search. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > > I think it does work sometimes Drew. > > > > > > I used it this morning and the search worked, but I just tried it > > > again > > > and it didn't. > > > > > > Hmmm. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > > Nope....and let's not mention archives and burning in the same post > > > from now > > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > > > > http://wolfwares.com/AccessD > > > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > > take > > > you to the archives I'm running, but it doesn't actually 'search'. > > > You > > > have > > > to redo your search once you're at my site. Jim, if you get this, can > > > you > > > fix that? Also if you read this Jim, I did give you access to my site > > > to > > > get the archives to 'look' like the dba site, right? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Fri Sep 5 13:06:55 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 5 Sep 2003 14:06:55 -0400 Subject: [AccessD] Record deleted by user Message-ID: I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com From mikedorism at ntelos.net Fri Sep 5 14:20:25 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 5 Sep 2003 15:20:25 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: <000901c373e2$c66ea910$013d0cd8@hargrove.internal> So why not have the FORM requery itself after the delete check box code finishes processing? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Sep 5 14:42:44 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 05 Sep 2003 14:42:44 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBFB@cntexchange.pgdp.usec.com> In all the discussions about the archives because of this post - I thought maybe my post got lost. I would appreciate any ideas on what I should do. Thanks bunches. Va. -----Original Message----- From: Hollis,Virginia Sent: Friday, September 05, 2003 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period I am not sure what you mean by 'pass' the dates. How do I tell the function to look at the DateEntered as the BegDate? The table has a field DateEntered. The form has a text box with the ControlSource(="Review is " & [PastDue] & " days past due") PastDue comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 'Pending) the text box shows the number of days it is past due. Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Thursday, September 04, 2003 4:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Days Past Due - Grace Period > What do I have to do to make this work from the form &/or report? > > Va. The function work_days accepts two arguments, BegDate and EndDate, and returns the number of weekdays between them. In your case, you're interested in the number of weekdays between a due date and today and if it's higher than 5, you want to take some action. I have no idea what your form or report looks like but if you have the due date of a particular item where the status is Pending, you would pass that as the BegDate and pass Date() as the end date to the function. The value returned would be the number of workdays between these two dates and you could proceed accordingly. HTH, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 9:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Here's a function to calculate number of weekdays between 2 > dates: > http://www.mvps.org/access/datetime/date0006.htm > > HTH, Stephen > > > *************** > > Used in the query to determine the number of days past due: > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > OnCurrent of the form: > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > 'Status is pending and review is 5 days past due. > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > Me!LateDate.Visible = True ' Show the sad face > > Me.DaysPastDue.Visible = True 'Show past due label '-- Show > > number of days over 5 that the project review is late > > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > Else > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > due, Date > > Entered is black > > Me!LateDate.Visible = False 'No sad face > > Me.DaysPastDue.Visible = False 'No past due label. > > End If > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at mindspring.com Fri Sep 5 15:15:57 2003 From: shait at mindspring.com (Stephen Hait) Date: Fri, 5 Sep 2003 16:15:57 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFBBB@cntexchange.pgdp.usec.com> Message-ID: <3F58B6BD.3114.58B83C0@localhost> > I am not sure what you mean by 'pass' the dates. How do I tell the > function to look at the DateEntered as the BegDate? > > The table has a field DateEntered. The form has a text box with the > ControlSource(="Review is " & [PastDue] & " days past due") PastDue > comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) > Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) > And StatusID = 1 'Pending) the text box shows the number of days it > is past due. In this case, here is a generalized approach. You want your text box to contain a message indicating if the review is past due and, if so, by how many days. Since it appears you want to dynamically set the value of the text box message, you might do the following to set your control text in the OnCurrent event of your form: If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then display past due notice here Else display not past due notice here End If HTH, Stephen > Va. > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 4:25 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > What do I have to do to make this work from the form &/or report? > > > > Va. > > The function work_days accepts two arguments, BegDate and > EndDate, and returns the number of weekdays between them. In > your case, you're interested in the number of weekdays between a due > date and today and if it's higher than 5, you want to take some > action. > > I have no idea what your form or report looks like but if you have > the due date of a particular item where the status is Pending, you > would pass that as the BegDate and pass Date() as the end date to > the function. The value returned would be the number of workdays > between these two dates and you could proceed accordingly. > > HTH, > Stephen > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Thursday, September 04, 2003 9:12 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Here's a function to calculate number of weekdays between 2 > > dates: > > http://www.mvps.org/access/datetime/date0006.htm > > > > HTH, > Stephen > > > > > > *************** > > > Used in the query to determine the number of days past due: > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > OnCurrent of the form: > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > > 'Status is pending and review is 5 days past due. > > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > > Me!LateDate.Visible = True ' Show the sad face > > > Me.DaysPastDue.Visible = True 'Show past due label '-- > > > Show number of days over 5 that the project review is > > > late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > > Else > > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > > due, Date > > > Entered is black > > > Me!LateDate.Visible = False 'No sad face > > > Me.DaysPastDue.Visible = False 'No past due label. > > > End If > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Fri Sep 5 15:49:06 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 05 Sep 2003 15:49:06 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC00@cntexchange.pgdp.usec.com> Thanks for the help. It is still counting the weekends. For a project that has a DateEntered of 8/27/2003 - it shows 4 days past due. It should show 1 day past due. Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Friday, September 05, 2003 3:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > I am not sure what you mean by 'pass' the dates. How do I tell the > function to look at the DateEntered as the BegDate? > > The table has a field DateEntered. The form has a text box with the > ControlSource(="Review is " & [PastDue] & " days past due") PastDue > comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) > Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) > And StatusID = 1 'Pending) the text box shows the number of days it > is past due. In this case, here is a generalized approach. You want your text box to contain a message indicating if the review is past due and, if so, by how many days. Since it appears you want to dynamically set the value of the text box message, you might do the following to set your control text in the OnCurrent event of your form: If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then display past due notice here Else display not past due notice here End If HTH, Stephen > Va. > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 4:25 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > What do I have to do to make this work from the form &/or report? > > > > Va. > > The function work_days accepts two arguments, BegDate and > EndDate, and returns the number of weekdays between them. In > your case, you're interested in the number of weekdays between a due > date and today and if it's higher than 5, you want to take some > action. > > I have no idea what your form or report looks like but if you have > the due date of a particular item where the status is Pending, you > would pass that as the BegDate and pass Date() as the end date to > the function. The value returned would be the number of workdays > between these two dates and you could proceed accordingly. > > HTH, > Stephen > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Thursday, September 04, 2003 9:12 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Here's a function to calculate number of weekdays between 2 > > dates: > > http://www.mvps.org/access/datetime/date0006.htm > > > > HTH, > Stephen > > > > > > *************** > > > Used in the query to determine the number of days past due: > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > OnCurrent of the form: > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > > 'Status is pending and review is 5 days past due. > > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > > Me!LateDate.Visible = True ' Show the sad face > > > Me.DaysPastDue.Visible = True 'Show past due label '-- > > > Show number of days over 5 that the project review is > > > late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > > Else > > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > > due, Date > > > Entered is black > > > Me!LateDate.Visible = False 'No sad face > > > Me.DaysPastDue.Visible = False 'No past due label. > > > End If > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Fri Sep 5 15:48:28 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Fri, 5 Sep 2003 15:48:28 -0500 Subject: [AccessD] listbox question In-Reply-To: Message-ID: Henry, you make my head hurt. But seriously, thanks for the comments; we've got hundreds of functions in which we consciously chose the smaller data type in an effort to be more efficient, and it sounds like that is just an example of good intentions with opposite results. Regarding this comment.... ------snip begin------- The comment suggests that it is a fully 'articulated' (qualified?) name and spells out what appears to be misconstrued as a string name. What is actually being passed is an object variable by reference which amounts to no more than a long pointer directly to the object in situ --------snip end ------- ...Yes, I meant "qualified". But I don't understand what is wrong with the parameter being sent, and how it might be done differently. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Friday, September 05, 2003 11:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] listbox question Just another comment on the comments pertaining to the parameters and the parameters themselves. First, the function definition accepts a parameter of type 'Control' which, although acceptable, is not as narrow as it could be for the intended purpose. It would be more accurate to define that parameter as type 'ListBox' and that permits intellisense and autocomplete. In a sense, the converse is true of the other parameter; although a byte is the most limited variable one can use to pass one of eight choices and it only uses 8 bits whereas a boolean requires 16. But long gone are the days where the extra 24 bits of a 32 bit long will run an application out of memory. Although an application may benefit in terms of storage and LAN traffic from using a smaller datatype when many records reside in large tables, there is a small overhead when converting the smaller datatype for use by a 32 bit operating system that results in superior performance with a long datatype. As the parameter being passed is a single value, it is more efficient to use a long. The iteration variable is typed as an Integer which is all that is required as the scroll bar of list boxes constrains the number of elements in a list box to exactly the number addressble by an integer but it too is more efficient as a Long. For a mere 16 bits of RAM, a loop that may run up to 64K times is a bit faster and that is a worthwhile tradeoff. The comment suggests that it is a fully 'articulated' (qualified?) name and spells out what appears to be misconstrued as a string name. What is actually being passed is an object variable by reference which amounts to no more than a long pointer directly to the object in situ. I always add an 'invert' option for those cases where you want to select all items except one or two. That way it is easy to click on the exceptions and invert the selections. For this purpose it is useful to declare three Long constants to pass. The third Case (invert) might look like this (if one changes the iteration variable to a Long for the reasons mentioned above, named lngI): Case 3 For lngI = 0 To ctlList.ListCount - 1 ctlList.Selected(lngI) = cltList.Selected(lngI) + 1 Next Hen >From: "Steve Capistrant" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox question >Date: Fri, 5 Sep 2003 08:03:57 -0500 > >Call this public function from any form that has a list box. It can be >used >to SELECT ALL or UNSELECT ALL items. >---------------- > >Public Function FillClearListBox(ctlList As Control, bytAction As Byte) As >Boolean >'Selects or Deselects all items in list box >Arguments: > 'ctlList: the fully articulated name of the listbox (e.g. >Forms!frmMyForm!lstMyList) > 'bytAction: The type of action desired; 1=Select All, 2=Unselect All > >On Error GoTo eh > > Dim intItem As Integer > >'Loop through each item on list and either select or deselect it. > For intItem = 0 To ctlList.ListCount - 1 > Select Case bytAction > Case 1: ctlList.Selected(intItem) = True > Case 2: ctlList.Selected(intItem) = False > End Select > Next > >ex: > Set ctlList = Nothing > Exit Function >eh: > MsgBox Err.Description > GoTo ex >End Function >-------------------------- > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >Phone: 612-333-1311 >www.symphonyinfo.com >212 3rd Ave N, Ste 404 >Minneapolis, MN 55401 > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow >Sent: Friday, September 05, 2003 7:41 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] listbox question > > >Ok, I know this should be easy but I am still having a problem with it. >Does any know how to select all of the items in a listbox? > >Thanks! > >Dale _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Fri Sep 5 16:24:31 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Fri, 5 Sep 2003 17:24:31 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC00@cntexchange.pgdp.usec.com> Message-ID: <000301c373f4$1bfebe40$d9320cd8@hargrove.internal> Here is the pseudo-code for the calculation I use... Step 1: Count the number of days between the two dates Step 2: Count the number of weeks between the two dates and multiply the result by 2 (make sure to set FirstDayOfWeek to Monday) Step 3: Count the number of holidays between the two periods Step 4: Calculate the result (DaysResult = Step 1 - Step 2 - Step 3 + 1) Step 5: Figure out if the result meets your "past due" criteria Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Friday, September 05, 2003 4:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Thanks for the help. It is still counting the weekends. For a project that has a DateEntered of 8/27/2003 - it shows 4 days past due. It should show 1 day past due. Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Friday, September 05, 2003 3:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > I am not sure what you mean by 'pass' the dates. How do I tell the > function to look at the DateEntered as the BegDate? > > The table has a field DateEntered. The form has a text box with the > ControlSource(="Review is " & [PastDue] & " days past due") PastDue > comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) > Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) > And StatusID = 1 'Pending) the text box shows the number of days it is > past due. In this case, here is a generalized approach. You want your text box to contain a message indicating if the review is past due and, if so, by how many days. Since it appears you want to dynamically set the value of the text box message, you might do the following to set your control text in the OnCurrent event of your form: If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then display past due notice here Else display not past due notice here End If HTH, Stephen > Va. > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 4:25 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > What do I have to do to make this work from the form &/or report? > > > > Va. > > The function work_days accepts two arguments, BegDate and > EndDate, and returns the number of weekdays between them. In > your case, you're interested in the number of weekdays between a due > date and today and if it's higher than 5, you want to take some > action. > > I have no idea what your form or report looks like but if you have the > due date of a particular item where the status is Pending, you would > pass that as the BegDate and pass Date() as the end date to the > function. The value returned would be the number of workdays between > these two dates and you could proceed accordingly. > > HTH, > Stephen > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Thursday, September 04, 2003 9:12 AM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Here's a function to calculate number of weekdays between 2 > > dates: > > http://www.mvps.org/access/datetime/date0006.htm > > > > HTH, > Stephen > > > > > > *************** > > > Used in the query to determine the number of days past due: > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > OnCurrent of the form: > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > > 'Status is pending and review is 5 days past due. > > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > > Me!LateDate.Visible = True ' Show the sad face > > > Me.DaysPastDue.Visible = True 'Show past due label '-- > > > Show number of days over 5 that the project review is > > > late Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > > Else > > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > > due, Date > > > Entered is black > > > Me!LateDate.Visible = False 'No sad face > > > Me.DaysPastDue.Visible = False 'No past due label. > > > End If > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Fri Sep 5 16:33:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 5 Sep 2003 17:33:36 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: <000901c373e2$c66ea910$013d0cd8@hargrove.internal> Message-ID: because the form goes back to the first record. :-( John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris Manning Sent: Friday, September 05, 2003 3:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Record deleted by user So why not have the FORM requery itself after the delete check box code finishes processing? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From anna at apespools.com Fri Sep 5 16:52:12 2003 From: anna at apespools.com (Anna Hopkins) Date: Fri, 05 Sep 2003 16:52:12 -0500 Subject: [AccessD] Calendar Control THANKS! Message-ID: <200309052153.RAA00782@illustrious.cnchost.com> I just wanted to thank everyone who sent code, suggestions, and sample calendar controls earlier in the week. I appreciate each and every reply. My forms are "up and running" GREAT thanks to you. You people are the GREATEST! Thanks! Anna From DWUTKA at marlow.com Fri Sep 5 17:02:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:02:46 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227188@main2.marlow.com> Okay William, how about this. Set your second DNS server to 65.65.125.209. Then add wolfwares.local to the dns suffixes to append. Then this link will work for you: http://AccessD/Archives Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 05, 2003 11:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...and pray tell why do we have to go to wolfwares.com first to search dba's archives? ...talk about challenged! :))))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 12:21 PM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > It's not hard William, just go to my website. Sometimes I wonder if your > Web Challenged William! > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 11:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...search ...deciphering Bryan's instructions ...figuring out why its so > hard to search our own archives ...etc ...etc :))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Drew Wutka" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, September 05, 2003 11:44 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > With what? > > > > Drew > > > > -----Original Message----- > > From: William Hindman [mailto:wdhindman at bellsouth.net] > > Sent: Friday, September 05, 2003 10:35 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > ...help!!!!! :))))))) > > > > William Hindman > > "the world is full of trickery. But let this not blind you to what virtue > > there is; many persons strive for high ideals, and everywhere life is > > full of heroism." ...from Desiderata > > > > > > ----- Original Message ----- > > From: "Bryan Carbonnell" > > To: > > Sent: Friday, September 05, 2003 11:27 AM > > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > > > > I just found the difference. Why it works sometimes and not other > > > times!! > > > > > > If you use the search box at the top of the www.databaseadvisors.com > > > page, then you have to re-enter the search terms when you hit Drew's > > > archive. > > > > > > If you click the Archive link, in the left menu form the main page and > > > use the search box in the IFrame (the body of the page), then the search > > > will actually search. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > > I think it does work sometimes Drew. > > > > > > I used it this morning and the search worked, but I just tried it > > > again > > > and it didn't. > > > > > > Hmmm. > > > > > > Bryan Carbonnell > > > bryan_carbonnell at cbc.ca > > > > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > > Nope....and let's not mention archives and burning in the same post > > > from now > > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > > > > http://wolfwares.com/AccessD > > > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > > take > > > you to the archives I'm running, but it doesn't actually 'search'. > > > You > > > have > > > to redo your search once you're at my site. Jim, if you get this, can > > > you > > > fix that? Also if you read this Jim, I did give you access to my site > > > to > > > get the archives to 'look' like the dba site, right? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Sep 5 17:03:39 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:03:39 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227189@main2.marlow.com> Which page, the one on the DBA site, or the own on my site. The one on my site needs to be changed to 'match' the DBA site. But I don't know what happened with that. Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 05, 2003 11:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...methinks the page needs to be redesigned eh? ...but now I'll have Lembit or Donna nagging me about why "I" don't do it :(((((( William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Bryan Carbonnell" To: Sent: Friday, September 05, 2003 12:23 PM Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > Yea. Sorry 'bout that. Trying to do 12 things at once, not doing any of > them well and not proofreading e-mails > > Let's try this again in english :-) > > To search the AccessD archives: > > 1) Goto http://www.databaseadvisors.com > > 2) Click the Archives link in the left navigation menu. This will take > you to a "new" page. > > 3) In the search box in the body of the page, NOT the one at the top of > the page, enter your search term(s) > > 4) Hit enter or click the Go button beside it. > > If you hit Enter, a new browser window will open. If you click the go > button, then the search will open in the frame in the middle of the > page. > > Bryan Carbonnell > bryan_carbonnell at cbc.ca > > >>> wdhindman at bellsouth.net 05-Sep-03 12:02:13 PM >>> > ...search ...deciphering Bryan's instructions ...figuring out why its > so > hard to search our own archives ...etc ...etc :))) > > William Hindman > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Sep 5 17:05:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:05:26 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222718A@main2.marlow.com> I agreed because I wanted a challenge to host the AccessD archives with an Access .mdb ! make that Drew (By the way, I think I'm supposed to showcase our Archives in Januaries MAD meeting (Metroplex Access Developers). Go figure). -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 05, 2003 12:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) The reason is that they aren't "our" archives. They are DBA Archives on Drew's server. Drew has agreed to host the archives so that DBA can avoid the cost of gigabytes of storage. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, September 05, 2003 12:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 11:44 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > With what? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 10:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...help!!!!! :))))))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, September 05, 2003 11:27 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > I just found the difference. Why it works sometimes and not other > > times!! > > > > If you use the search box at the top of the www.databaseadvisors.com > > page, then you have to re-enter the search terms when you hit Drew's > > archive. > > > > If you click the Archive link, in the left menu form the main page and > > use the search box in the IFrame (the body of the page), then the search > > will actually search. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > I think it does work sometimes Drew. > > > > I used it this morning and the search worked, but I just tried it > > again > > and it didn't. > > > > Hmmm. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > Nope....and let's not mention archives and burning in the same post > > from now > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > http://wolfwares.com/AccessD > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > take > > you to the archives I'm running, but it doesn't actually 'search'. > > You > > have > > to redo your search once you're at my site. Jim, if you get this, can > > you > > fix that? Also if you read this Jim, I did give you access to my site > > to > > get the archives to 'look' like the dba site, right? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Sep 5 17:06:00 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:06:00 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222718B@main2.marlow.com> Nope, I don't. I actually wouldn't mind, if we really wanted too. Drew -----Original Message----- From: Bryan Carbonnell [mailto:Bryan_Carbonnell at cbc.ca] Sent: Friday, September 05, 2003 12:10 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Small correction John, They are DBA's AccessD archives. I don't think Drew archives all the lists. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> jcolby at colbyconsulting.com 05-Sep-03 1:03:49 PM >>> The reason is that they aren't "our" archives. They are DBA Archives on Drew's server. Drew has agreed to host the archives so that DBA can avoid the cost of gigabytes of storage. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 5 17:12:03 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:12:03 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF80222718C@main2.marlow.com> Sorry Virginia for hijacking the thread. I've read your posts, and I'm not entirely sure what you are having a problem with. Would you mind sending me a sample offline (dwutka at marlow.com)? (Sorry partially brain dead today! (I can already hear the comments on that one!)) Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Friday, September 05, 2003 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period In all the discussions about the archives because of this post - I thought maybe my post got lost. I would appreciate any ideas on what I should do. Thanks bunches. Va. -----Original Message----- From: Hollis,Virginia Sent: Friday, September 05, 2003 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period I am not sure what you mean by 'pass' the dates. How do I tell the function to look at the DateEntered as the BegDate? The table has a field DateEntered. The form has a text box with the ControlSource(="Review is " & [PastDue] & " days past due") PastDue comes from the query (PastDue: DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 'Pending) the text box shows the number of days it is past due. Va. -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Thursday, September 04, 2003 4:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Days Past Due - Grace Period > What do I have to do to make this work from the form &/or report? > > Va. The function work_days accepts two arguments, BegDate and EndDate, and returns the number of weekdays between them. In your case, you're interested in the number of weekdays between a due date and today and if it's higher than 5, you want to take some action. I have no idea what your form or report looks like but if you have the due date of a particular item where the status is Pending, you would pass that as the BegDate and pass Date() as the end date to the function. The value returned would be the number of workdays between these two dates and you could proceed accordingly. HTH, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Thursday, September 04, 2003 9:12 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Here's a function to calculate number of weekdays between 2 > dates: > http://www.mvps.org/access/datetime/date0006.htm > > HTH, Stephen > > > *************** > > Used in the query to determine the number of days past due: > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > OnCurrent of the form: > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > 'Status is pending and review is 5 days past due. > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > Me!LateDate.Visible = True ' Show the sad face > > Me.DaysPastDue.Visible = True 'Show past due label '-- Show > > number of days over 5 that the project review is late > > Me.DaysPastDue.Caption = (Date() - DateEntered) + 5 > > Else > > Me!DateEntered.ForeColor = lngBlack 'Review is not past > > due, Date > > Entered is black > > Me!LateDate.Visible = False 'No sad face > > Me.DaysPastDue.Visible = False 'No past due label. > > End If > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 5 17:14:17 2003 From: jim.hale at fleetpride.com (Hale, Jim) Date: Fri, 5 Sep 2003 17:14:17 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <869379ABF177D4118D3100508B5EF87306395106@corp-es00> Because it uses unbound forms? Jim Hale -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 05, 2003 11:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) ...search ...deciphering Bryan's instructions ...figuring out why its so hard to search our own archives ...etc ...etc :))) William Hindman "the world is full of trickery. But let this not blind you to what virtue there is; many persons strive for high ideals, and everywhere life is full of heroism." ...from Desiderata ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 05, 2003 11:44 AM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > With what? > > Drew > > -----Original Message----- > From: William Hindman [mailto:wdhindman at bellsouth.net] > Sent: Friday, September 05, 2003 10:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) > > > ...help!!!!! :))))))) > > William Hindman > "the world is full of trickery. But let this not blind you to what virtue > there is; many persons strive for high ideals, and everywhere life is > full of heroism." ...from Desiderata > > > ----- Original Message ----- > From: "Bryan Carbonnell" > To: > Sent: Friday, September 05, 2003 11:27 AM > Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) > > > > I just found the difference. Why it works sometimes and not other > > times!! > > > > If you use the search box at the top of the www.databaseadvisors.com > > page, then you have to re-enter the search terms when you hit Drew's > > archive. > > > > If you click the Archive link, in the left menu form the main page and > > use the search box in the IFrame (the body of the page), then the search > > will actually search. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > >>> Bryan_Carbonnell at cbc.ca 05-Sep-03 11:22:55 AM >>> > > I think it does work sometimes Drew. > > > > I used it this morning and the search worked, but I just tried it > > again > > and it didn't. > > > > Hmmm. > > > > Bryan Carbonnell > > bryan_carbonnell at cbc.ca > > > > > > >>> DWUTKA at marlow.com 05-Sep-03 11:18:59 AM >>> > > Nope....and let's not mention archives and burning in the same post > > from now > > on. I have sprinklers at my new place, but I'd rather not chance it! > > > > > > http://wolfwares.com/AccessD > > > > Also, if you use the search box on www.databaseadvisors.com, it will > > take > > you to the archives I'm running, but it doesn't actually 'search'. > > You > > have > > to redo your search once you're at my site. Jim, if you get this, can > > you > > fix that? Also if you read this Jim, I did give you access to my site > > to > > get the archives to 'look' like the dba site, right? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Sep 5 17:27:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 5 Sep 2003 17:27:15 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF80222718F@main2.marlow.com> Oh, let's not start that up again! It doesn't use any Access forms at all! Drew -----Original Message----- From: Hale, Jim [mailto:jim.hale at fleetpride.com] Sent: Friday, September 05, 2003 5:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Because it uses unbound forms? Jim Hale -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Fri Sep 5 17:41:34 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 05 Sep 2003 15:41:34 -0700 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> <3F57E024.5010500@shaw.ca> <004701c373a9$f338d080$2e02d018@W2k> Message-ID: <3F59111E.1070804@shaw.ca> It has been a couple of months but it was something like no queries existing in mdb and calling aadInitialiseSmartForm(frm As Form) .There was an assumption that at least one query existed and doing a delete of a temp query or something like that. In other words the boundary of the number of queries ( the case of zero queries) Steven W. Erbach wrote: >Marty, > > > >>>I remember finding a >>> >>> >couple of bugs on boundary conditions. I tracked them down turning off >"on error" conditions in form library. << > >I've found a bug or two myself, but I don't know what you mean by "boundary >conditions." > >The 3011 error refers to an object on a completely different tab control >page than the one for which I'm trying to set the focus. I figured it was >some odd incompatibility between A2K and AXP with respect to the MSysObjects >table. > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >If architects built buildings the way programmers built applications, the >first woodpecker to come along would cause the end of civilization. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jimdettman at earthlink.net Fri Sep 5 18:26:15 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 5 Sep 2003 19:26:15 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Sep 5 19:08:17 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 05 Sep 2003 18:08:17 -0600 Subject: [AccessD] listbox question Message-ID: Steve: Good intentions I'm sure. I used to do exactly the same thing until I read otherwise in the 97 version of the Access Developer's handbook. Quite frankly, I doubt you'd see even a few milliseconds in a full 64K item listbox. It is still worthwhile keeping table data types small as the time to transfer bytes over a LAN or even from a local disk is greater than the time taken to convert to a processor friendly long. Not to be obtuse, but what the code does and what the comment says it does are not in concurrence. What the code does is pass an object variable and that is, in my opinion, the best possible way to implement a procedure of this nature. Dimensioning a 'ListBox' variable rather than a 'Control' variable was merely a suggestion but is not by any means necessary. What is not correct is that it is not the name of the control you are passing, qualified or otherwise, but an object variable. The object variable points to the object but the NAME itself is not passed as suggested in the comment. Although you have not explicitly stated so in the comment, the comment implies that the parameter is a string variable. Given that the comment is supposed to clarify the meaning of the parameters, it may be confusing to people who wonder how one ought to pass a fully qualified name. This can be misleading to consumers of your function and in my opinion, the usage of your function would have been clearer had you not included the comment. I have always written this procedure as a sub rather than a function and generally use an 'On Error Resume Next' in the error handler for the improbable evenuality that the object variable is destroyed within the routine as it cannot be set to nothing if it doesn't exist. Although the function's parameter type checking should prevent nearly every possible misadventure relating to an invalid object, I've found it never hurts to use an abundance of caution. For this reason also my preference is to explictly pass a variable of ListBox type. I can imagine one or two situations where one might need the return value from such a function though I have yet to experience the need and I note that your function doesn't set the return value in your posted routine. You can probably save both a few bytes of memory and a few processor cycles if you don't need a return value and just define the routine as a sub procedure. Here I am being unnecessarily particular again. Sorry. I think your example is a pretty darn good and useful procedure that responded well to a need and went beyond as an example of using a general reusable procedure. Credit to you and I'll just shut up again for a while. Hen >From: "Steve Capistrant" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox question >Date: Fri, 5 Sep 2003 15:48:28 -0500 > >Henry, you make my head hurt. > >But seriously, thanks for the comments; we've got hundreds of functions in >which we consciously chose the smaller data type in an effort to be more >efficient, and it sounds like that is just an example of good intentions >with opposite results. > >Regarding this comment.... > >------snip begin------- >The comment suggests that it is a fully 'articulated' (qualified?) name and >spells out what appears to be misconstrued as a string name. What is >actually being passed is an object variable by reference which amounts to >no >more than a long pointer directly to the object in situ >--------snip end ------- > >...Yes, I meant "qualified". But I don't understand what is wrong with the >parameter being sent, and how it might be done differently. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >Phone: 612-333-1311 >www.symphonyinfo.com >212 3rd Ave N, Ste 404 >Minneapolis, MN 55401 > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson >Sent: Friday, September 05, 2003 11:56 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] listbox question > > >Just another comment on the comments pertaining to the parameters and the >parameters themselves. First, the function definition accepts a parameter >of type 'Control' which, although acceptable, is not as narrow as it could >be for the intended purpose. It would be more accurate to define that >parameter as type 'ListBox' and that permits intellisense and autocomplete. >In a sense, the converse is true of the other parameter; although a byte is >the most limited variable one can use to pass one of eight choices and it >only uses 8 bits whereas a boolean requires 16. But long gone are the days >where the extra 24 bits of a 32 bit long will run an application out of >memory. Although an application may benefit in terms of storage and LAN >traffic from using a smaller datatype when many records reside in large >tables, there is a small overhead when converting the smaller datatype for >use by a 32 bit operating system that results in superior performance with >a >long datatype. As the parameter being passed is a single value, it is more >efficient to use a long. The iteration variable is typed as an Integer >which is all that is required as the scroll bar of list boxes constrains >the >number of elements in a list box to exactly the number addressble by an >integer but it too is more efficient as a Long. For a mere 16 bits of RAM, >a loop that may run up to 64K times is a bit faster and that is a >worthwhile >tradeoff. > >The comment suggests that it is a fully 'articulated' (qualified?) name and >spells out what appears to be misconstrued as a string name. What is >actually being passed is an object variable by reference which amounts to >no >more than a long pointer directly to the object in situ. I always add an >'invert' option for those cases where you want to select all items except >one or two. That way it is easy to click on the exceptions and invert the >selections. For this purpose it is useful to declare three Long constants >to pass. The third Case (invert) might look like this (if one changes the >iteration variable to a Long for the reasons mentioned above, named lngI): > > > Case 3 > For lngI = 0 To ctlList.ListCount - 1 > ctlList.Selected(lngI) = cltList.Selected(lngI) + 1 > Next > > >Hen > > >From: "Steve Capistrant" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] listbox question > >Date: Fri, 5 Sep 2003 08:03:57 -0500 > > > >Call this public function from any form that has a list box. It can be > >used > >to SELECT ALL or UNSELECT ALL items. > >---------------- > > > >Public Function FillClearListBox(ctlList As Control, bytAction As Byte) >As > >Boolean > >'Selects or Deselects all items in list box > >Arguments: > > 'ctlList: the fully articulated name of the listbox (e.g. > >Forms!frmMyForm!lstMyList) > > 'bytAction: The type of action desired; 1=Select All, 2=Unselect All > > > >On Error GoTo eh > > > > Dim intItem As Integer > > > >'Loop through each item on list and either select or deselect it. > > For intItem = 0 To ctlList.ListCount - 1 > > Select Case bytAction > > Case 1: ctlList.Selected(intItem) = True > > Case 2: ctlList.Selected(intItem) = False > > End Select > > Next > > > >ex: > > Set ctlList = Nothing > > Exit Function > >eh: > > MsgBox Err.Description > > GoTo ex > >End Function > >-------------------------- > > > >Steve Capistrant > >Symphony Information Services > >scapistrant at symphonyinfo.com > >Phone: 612-333-1311 > >www.symphonyinfo.com > >212 3rd Ave N, Ste 404 > >Minneapolis, MN 55401 > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dale Kalsow > >Sent: Friday, September 05, 2003 7:41 AM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] listbox question > > > > > >Ok, I know this should be easy but I am still having a problem with it. > >Does any know how to select all of the items in a listbox? > > > >Thanks! > > > >Dale _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From accessd at shaw.ca Fri Sep 5 19:35:52 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 05 Sep 2003 17:35:52 -0700 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227178@main2.marlow.com> Message-ID: Hi Drew: You are right it doesn't search at the DBA site....It use to, but what happened? (There has been no change at the DBA site.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 05, 2003 8:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 05, 2003 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 5 19:40:04 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 06 Sep 2003 10:40:04 +1000 Subject: [AccessD] A2K Reference the dot column property in a query In-Reply-To: <00cf01c373bc$cb577c20$6801a8c0@HAL9002> Message-ID: <3F59B984.31211.22ED73@localhost> On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > Must have missed that thread Arthur. What are static functions? > Functions which retain the value of their variables between calls. Something like: STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date Local dteStore as Date IF NOT ISNULLl(dteStartDate) Then dteStore = dteStartDate END IF StartDate = dteStore End FUNCTION Every time you call the function with a date parameter, it sets its value. Every time you call it without a parameter, it returns the last value set. You can now you user select a start date on a "pick form" somewhere. When they have picked it, set the value of Startdate() with something like dteTemp = StartDate(txtStartDate) Now you can use "=StartDate()" in reports, queries, form filters etc anywhere you like. It will return the selected value until the user goes back to the pick form and changes it. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stephen at bondsoftware.co.nz Fri Sep 5 20:45:33 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 06 Sep 2003 13:45:33 +1200 Subject: [AccessD] Flattening the results of a query Message-ID: <70F3D727890C784291D8433E9C418F29088430@server.bondsoftware.co.nz> I have a query (Query1) that outputs as follows: Cust1 Product1 Cust1 Product3 Cust2 Product9 Cust3 Product1 Cust3 Product2 Cust3 Product3 Cust3 Product4 Cust4 Product1 Cust4 Product2 And I want to flatten the results for output to a form so each line on the screen looks like this: Cust1 Product1, Product3 Cust2 Product9 Cust3 Product1, Product2, Product3, Product4 Cust4 Product1, Product2 I've done this by embedding a call to a VB function from the next query in the nest, but even at this early stage of development I can tell the speed (lack of) is going to be an issue. Is there a clever way to flatten as shown above, using just the Jet engine? BTW, the 2 tables underlying Query1 are fully normalised and joined one-to-many - I am asking for a quick method to denormalise. Stephen Bond Otatara, NZ From jcolby at colbyconsulting.com Fri Sep 5 21:14:36 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 5 Sep 2003 22:14:36 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: > I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. The FE is downloaded every morning when they click a hotlink to a batch file on their desktop. > I would try prefilling the select table with one record for each of the main records and doing an inner join. I tried that. There are problems starting with when to build the records? There are thousands of these records so I really only wanted to generate records for the specific records they wanted to print, which is why I am doing it this way to start with. >The only time then you'd delete a selected record is if the main record gets deleted. Yea, I really ran into this because I was going into the table and manually deleting the select records. It PROBABLY won't be something that ever crops up but it's a nasty one if it does. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, September 05, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at mindspring.com Fri Sep 5 21:16:43 2003 From: shait at mindspring.com (Stephen Hait) Date: Fri, 5 Sep 2003 22:16:43 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC00@cntexchange.pgdp.usec.com> Message-ID: <3F590B4B.30957.6D5CCE9@localhost> > Thanks for the help. > > It is still counting the weekends. For a project that has a > DateEntered of 8/27/2003 - it shows 4 days past due. It should show > 1 day past due. This solution does not count weekends for me. Since it is Sep. 5 when you wrote this, the correct result if DateEntered was 8/27/2003 should probably be 7 days late (8/27/2003 is a Wednesday and today [9/5/2003] is a Friday). The number of week days late should be calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to accomplish something other than this then this is not the solution you should be using. Let me know if I am missing something here. Regards, Stephen > Va. > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 3:16 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell the > > function to look at the DateEntered as the BegDate? > > > > The table has a field DateEntered. The form has a text box with > > the ControlSource(="Review is " & [PastDue] & " days past due") > > PastDue comes from the query (PastDue: > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > 'Pending) the text box shows the number of days it is past due. > > In this case, here is a generalized approach. You want your text box > to contain a message indicating if the review is past due and, if > so, by how many days. Since it appears you want to dynamically set > the value of the text box message, you might do the following to set > your control text in the OnCurrent event of your form: > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > display past due notice here > Else > display not past due notice here > End If > > HTH, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Thursday, September 04, 2003 4:25 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > report? > > > > > > Va. > > > > The function work_days accepts two arguments, BegDate and > > EndDate, and returns the number of weekdays between them. In your > > case, you're interested in the number of weekdays between a due > > date and today and if it's higher than 5, you want to take some > > action. > > > > I have no idea what your form or report looks like but if you have > > the due date of a particular item where the status is Pending, you > > would pass that as the BegDate and pass Date() as the end date to > > the function. The value returned would be the number of workdays > > between these two dates and you could proceed accordingly. > > > > HTH, > > Stephen > > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 9:12 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > HTH, > > Stephen > > > > > > > > > *************** > > > > Used in the query to determine the number of days past due: > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > OnCurrent of the form: > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > > > 'Status is pending and review is 5 days past due. > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > > > Me!LateDate.Visible = True ' Show the sad face > > > > Me.DaysPastDue.Visible = True 'Show past due label '-- > > > > Show number of days over 5 that the project review is > > > > late Me.DaysPastDue.Caption = (Date() - DateEntered) + > > > > 5 > > > > Else > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > past due, Date > > > > Entered is black > > > > Me!LateDate.Visible = False 'No sad face > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > End If > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Sat Sep 6 00:42:27 2003 From: artful at rogers.com (Arthur Fuller) Date: Fri, 5 Sep 2003 22:42:27 -0700 Subject: [AccessD] Total Access Analyzer Message-ID: Is TAA capable of handling code such as: Dim strForm as String strForm = "frmMyForm" DoCmd.OpenForm strForm, bla, bla, bla That is, will it realize what form is being opened there? TIA, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From Erwin.Craps at ithelps.be Sat Sep 6 02:33:33 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 6 Sep 2003 09:33:33 +0200 Subject: [AccessD] Total Access Analyzer Message-ID: Why would you need that? I have both TAA 2K and XP. I supose a quick test can be done... Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Arthur Fuller Verzonden: zaterdag 6 september 2003 7:42 Aan: AccessD Onderwerp: [AccessD] Total Access Analyzer Is TAA capable of handling code such as: Dim strForm as String strForm = "frmMyForm" DoCmd.OpenForm strForm, bla, bla, bla That is, will it realize what form is being opened there? TIA, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Sep 6 02:40:42 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 6 Sep 2003 09:40:42 +0200 Subject: [AccessD] Flattening the results of a query Message-ID: -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stephen Bond Verzonden: zaterdag 6 september 2003 3:46 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Flattening the results of a query I have a query (Query1) that outputs as follows: Cust1 Product1 Cust1 Product3 Cust2 Product9 Cust3 Product1 Cust3 Product2 Cust3 Product3 Cust3 Product4 Cust4 Product1 Cust4 Product2 And I want to flatten the results for output to a form so each line on the screen looks like this: Cust1 Product1, Product3 Cust2 Product9 Cust3 Product1, Product2, Product3, Product4 Cust4 Product1, Product2 I've done this by embedding a call to a VB function from the next query in the nest, but even at this early stage of development I can tell the speed (lack of) is going to be an issue. Is there a clever way to flatten as shown above, using just the Jet engine? BTW, the 2 tables underlying Query1 are fully normalised and joined one-to-many - I am asking for a quick method to denormalise. Stephen Bond Otatara, NZ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Sep 6 02:43:03 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 6 Sep 2003 09:43:03 +0200 Subject: [AccessD] Flattening the results of a query Message-ID: You should use a cross tab query. This is the way to go. Two limits with crosstab. No more than 256 (or something) products. Only one value (product in you case) per query This is pretty easy, sorry for not giving you a sample. Create new query choose crosstab Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Stephen Bond Verzonden: zaterdag 6 september 2003 3:46 Aan: accessd at databaseadvisors.com Onderwerp: [AccessD] Flattening the results of a query I have a query (Query1) that outputs as follows: Cust1 Product1 Cust1 Product3 Cust2 Product9 Cust3 Product1 Cust3 Product2 Cust3 Product3 Cust3 Product4 Cust4 Product1 Cust4 Product2 And I want to flatten the results for output to a form so each line on the screen looks like this: Cust1 Product1, Product3 Cust2 Product9 Cust3 Product1, Product2, Product3, Product4 Cust4 Product1, Product2 I've done this by embedding a call to a VB function from the next query in the nest, but even at this early stage of development I can tell the speed (lack of) is going to be an issue. Is there a clever way to flatten as shown above, using just the Jet engine? BTW, the 2 tables underlying Query1 are fully normalised and joined one-to-many - I am asking for a quick method to denormalise. Stephen Bond Otatara, NZ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Sep 6 03:45:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 10:45:49 +0200 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: References: Message-ID: <479814282.20030906104549@cactus.dk> Hi Bryan > 3) In the search box in the body of the page, NOT the one at the top of > the page, enter your search term(s) > 4) Hit enter or click the Go button beside it. > If you hit Enter, a new browser window will open. If you click the go > button, then the search will open in the frame in the middle of the > page. Ahh, that explains. Enter works with my Opera 7.11 browser, clicking the Go button fires some code but nothing happens ... /gustav From gustav at cactus.dk Sat Sep 6 03:30:34 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 10:30:34 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <000301c373f4$1bfebe40$d9320cd8@hargrove.internal> References: <000301c373f4$1bfebe40$d9320cd8@hargrove.internal> Message-ID: <978898966.20030906103034@cactus.dk> Hi Doris It is slightly more difficult. Step 3 should read: Step 3: Count the number of holidays not falling in weekends between the two dates. And why "+ 1" in step 4? Say, Tuesday to Friday is 3 days not 4. Also, I cannot see how this will calculate intervals smaller than one week when weekend days are included? Tuesday to Sunday is 4 working days. Step 2 will give zero weeks, thus step 4 will return 6 days (or 5 without "+ 1"). /gustav > Here is the pseudo-code for the calculation I use... > Step 1: Count the number of days between the two dates > Step 2: Count the number of weeks between the two dates and multiply the > result by 2 (make sure to set FirstDayOfWeek to Monday) > Step 3: Count the number of holidays between the two periods > Step 4: Calculate the result (DaysResult = Step 1 - Step 2 - Step 3 + 1) > Step 5: Figure out if the result meets your "past due" criteria > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com From gustav at cactus.dk Sat Sep 6 03:34:25 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 10:34:25 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC00@cntexchange.pgdp.usec.com> References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC00@cntexchange.pgdp.usec.com> Message-ID: <1439129938.20030906103425@cactus.dk> Hi Virginia Like Stephen, neither can I figure out your arithmetics here even if you did incluce one or two public holidays. Could you please clarify? /gustav > It is still counting the weekends. For a project that has a DateEntered of > 8/27/2003 - it shows 4 days past due. It should show 1 day past due. From gustav at cactus.dk Sat Sep 6 03:54:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 10:54:30 +0200 Subject: [AccessD] Small data types (was: listbox question) In-Reply-To: References: Message-ID: <17310335030.20030906105430@cactus.dk> Hi Steve Byte values are nice when you wish to prevent negative or "large" integer values, say month and day values, passed to a function. However, one has to be careful when doing arithmetics with these as any interim calculated value which will result in a negative value will cause the function to fail. /gustav > Henry, you make my head hurt. > But seriously, thanks for the comments; we've got hundreds of functions in > which we consciously chose the smaller data type in an effort to be more > efficient, and it sounds like that is just an example of good intentions > with opposite results. From stephen at bondsoftware.co.nz Sat Sep 6 04:14:43 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 06 Sep 2003 21:14:43 +1200 Subject: [AccessD] Flattening the results of a query Message-ID: <70F3D727890C784291D8433E9C418F298F11@server.bondsoftware.co.nz> This has been a real 'duh' moment for me. As usual, the best answers are always the simplest. Many thanks Erwin Stephen Bond P.S. Quote on the dba-SQL Server thread in January: "I hereby withdraw any implied claims that I know my tools :-) " To which I add, me too. SB -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Saturday, 6 September 2003 7:43 p.m. To: Access Developers discussion and problem solving Subject: RE: [AccessD] Flattening the results of a query You should use a cross tab query. This is the way to go. Two limits with crosstab. No more than 256 (or something) products. Only one value (product in you case) per query This is pretty easy, sorry for not giving you a sample. Create new query choose crosstab Erwin From gustav at cactus.dk Sat Sep 6 04:25:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 11:25:49 +0200 Subject: [AccessD] Flattening the results of a query In-Reply-To: <70F3D727890C784291D8433E9C418F29088430@server.bondsoftware.co.nz> References: <70F3D727890C784291D8433E9C418F29088430@server.bondsoftware.co.nz> Message-ID: <18312214243.20030906112549@cactus.dk> Hi Stephen > I have a query (Query1) that outputs as follows: > Cust1 Product1 > Cust1 Product3 > Cust2 Product9 > Cust3 Product1 > Cust3 Product2 > Cust3 Product3 > Cust3 Product4 > Cust4 Product1 > Cust4 Product2 > And I want to flatten the results for output to a form so each line on the screen looks like this: > Cust1 Product1, Product3 > Cust2 Product9 > Cust3 Product1, Product2, Product3, Product4 > Cust4 Product1, Product2 > I've done this by embedding a call to a VB function from the next query in the nest, but even at this early stage of development I can tell the speed (lack of) is going to be an issue. > Is there a clever way to flatten as shown above, using just the Jet engine? > BTW, the 2 tables underlying Query1 are fully normalised and joined one-to-many - I am asking for a quick method to denormalise. I don't think there is except if the variety of products is very small and you can live with SQL strings with hard coded product IDs. However, you should be able to take advantage of Seek by (1) opening the backend database directly and (2) creating the recordset as Static. Look up the archive (here we go again) for "Tree shaped reports" from 2002-02-06 14:22:06. /gustav From gustav at cactus.dk Sat Sep 6 04:40:22 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 11:40:22 +0200 Subject: [AccessD] Record deleted by user In-Reply-To: References: Message-ID: <18913087829.20030906114022@cactus.dk> Hi John You could create the records as needed - as you do now - but instead of deleting them when finished, update Selected to False - this means, of course, that a selected record must have an entry in your select table and the field Selected in this must be True. Then, from time to time, delete those records in the select table where Selected is False. Or did you overwrite the FE every morning? Or, as suggested by Jim, use a temp table which you recreate at every launch. /gustav > I am trying to implement a "selected flag" system for a particular form. I > create a table local to the FE with two fields: > SelectedID Long > Selected Boolean > I modify the form's query to do an outer join between the pk of the original > table and SelectedID. > I add a check box to the form bound to the Selected field. > Whenever the user clicks the check box a record is created in the new table, > the SelectedID is set to the PK of the original table and the Selected field > is set true. All fine so far. Printing works fine - filter on records with > a join to this table and selected = true. > The odd behavior comes if I delete the records in the new Selected table. > If I build a query that displays the original table joined to the Selected > table, when I delete any records in the Selected table, the fields in the > query from the Selected table display the words "Deleted" and I can no > longer enter any data in that field because I get a JET error "record > deleted by user". I have to requery the query and then I can again create > new records. > This is an issue because the FORM's recordset works until I delete a record > in the selected table, then the checkbox FOR THAT RECORD ceases to work for > no apparent reason. The reason of course is this problem discussed above. > John W. Colby > www.colbyconsulting.com From bchacc at san.rr.com Sat Sep 6 10:22:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 6 Sep 2003 08:22:50 -0700 Subject: [AccessD] A2K Reference the dot column property in a query References: <3F59B984.31211.22ED73@localhost> Message-ID: <006501c3748a$bc1b23f0$6801a8c0@HAL9002> Oh. That's very cool. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 5:40 PM Subject: Re: [AccessD] A2K Reference the dot column property in a query > On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > > > Must have missed that thread Arthur. What are static functions? > > > > > Functions which retain the value of their variables between calls. > Something like: > > STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date > Local dteStore as Date > IF NOT ISNULLl(dteStartDate) Then > dteStore = dteStartDate > END IF > StartDate = dteStore > End FUNCTION > > Every time you call the function with a date parameter, it sets its > value. Every time you call it without a parameter, it returns the > last value set. > > You can now you user select a start date on a "pick form" somewhere. > When they have picked it, set the value of Startdate() with > something like dteTemp = StartDate(txtStartDate) > > Now you can use "=StartDate()" in reports, queries, form filters etc > anywhere you like. It will return the selected value until the user > goes back to the pick form and changes it. > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Sat Sep 6 10:24:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 17:24:29 +0200 Subject: [AccessD] Re: [dba-Tech] Recent MS Security Updates In-Reply-To: <007101c37486$ae0fb310$b274d0d5@minster33c3r25> References: <007101c37486$ae0fb310$b274d0d5@minster33c3r25> Message-ID: <12233734257.20030906172429@cactus.dk> Hi Andy > You'll no doubt have had the latest round of MS security bulletins last > week. Well has anyone tried to apply MS03-035 and 036 to an Office 97 > installation? Despite my best efforts the links for these 2 patches for > Office 97 lead nowhere except to a "contact MS" dead-end. I have clients > with Office 97 and can't believe I'm the only one. Has anyone found a > route to the necessary downloads? > Andy Lacey > http://www.minstersystems.co.uk I think you have hit same dead end as have Woody in paragraph 8 ... /gustav cc: AccessD list. ---- -------------- next part -------------- An embedded message was scrubbed... From: Woody's OFFICE Watch Subject: WOW #8.35 - New Office security patches explained Date: Thu, 04 Sep 2003 12:47:14 -0400 Size: 20053 URL: From john at winhaven.net Sat Sep 6 10:34:26 2003 From: john at winhaven.net (John Bartow) Date: Sat, 6 Sep 2003 10:34:26 -0500 Subject: [AccessD] Total Access Analyzer In-Reply-To: Message-ID: I ran into that a couple of years ago and asked on the FMS BB. FMS rep responded that the 97 version couldn't handle it. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller > Sent: Saturday, September 06, 2003 12:42 AM > To: AccessD > Subject: [AccessD] Total Access Analyzer > > > Is TAA capable of handling code such as: > > Dim strForm as String > strForm = "frmMyForm" > DoCmd.OpenForm strForm, bla, bla, bla > > That is, will it realize what form is being opened there? > > TIA, > Arthur > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Sat Sep 6 10:42:08 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 6 Sep 2003 17:42:08 +0200 Subject: [AccessD] Re: [dba-Tech] Recent MS Security Updates In-Reply-To: <12233734257.20030906172429@cactus.dk> References: <007101c37486$ae0fb310$b274d0d5@minster33c3r25> <12233734257.20030906172429@cactus.dk> Message-ID: <6534793049.20030906174208@cactus.dk> Oops, some cannot see the attachment. I can highly recommend this newsletter. /gustav > I think you have hit same dead end as have Woody in paragraph 8 ... --==>> WOW -- WOODY's OFFICE WATCH <<==-- Microsoft Office advice and news from Woody Leonhard 4 September 2003 Vol 8 No 35 Within the past 12 hours, Microsoft released four Security Bulletins for Office products. This is our "rapid response" WOW to the flurry of activity. There are good points, bad points, at least one gotcha, and a host of unanswered questions, but the bottom line is that I recommend you install all the patches, immediately. Please pass this edition of WOW along to your friends, family, co-workers - even that weird guy in the cubicle across from you. It's important. It's complicated, too, as you'll soon see. Anyone can join WOW, it's free and your email address is private. Hop to http://woodyswatch.com/wow/ or send a blank email to wow at woodyswatch.com 1. What Happened 2. MS03-035 / 824936 / 824934 3. MS03-036 / 824993 / 824938 4. MS03-037 / 822035 / 822036 5. MS03-038 / 826292 / 826293 6. If You Have Office XP 7. If You Have Office 2000 8. If You Have Office 97 and/or Visio 2000 9. The Good Point: One Kudos for Microsoft 10. Keep WOW Alive and Free 1. WHAT HAPPENED Microsoft has just released four security patches: three rated "Important" and one "Critical". I recommend that you install them all right away, but read the specific instructions below first. No matter which version of Office or which Office products you use (including Access), you need to patch your PC. You also need to patch your PC if you have FrontPage 2000 or 2002, Project 2000 or 2002, Publisher 2002, Visio 2000 or 2002, Works 2001, 2002, or 2003, or several of the "MS Business Solutions" products. VBA is a big part of this round of security fixes, and many, many applications run VBA. Folks who own any of the 300 products listed at http://msdn.microsoft.com/vba/companies/company.asp (including AutoCAD, CorelDRAW, WordPerfect, Peachtree, and many more) will undoubtedly be receiving instructions to patch their systems, too. It would be a good idea to wait until the manufacturer contacts you, or to keep an eye on the manufacturer's Web site. The patching instructions for each product may vary a bit. Good luck. In the headings below, I've identified each patch by security bulletin number (MS03-???), and also by the Knowledge Base article number which is used to identify and track the patch. Many of the references you'll see in the press relate to bulletin numbers. But when you go to install a patch, all you'll see is the KB article number. Worse, there's also a Knowledge Base article with a completely different number that gives technical details on the hole and the fix. I listed those KB article numbers at the bottom of each security hole's description. It's a real mess. I hope this kinda cuts through some of the obfuscation. 2. MS03-035 / 824936 / 824934 MS03-035: "Flaw in Microsoft Word Could Enable Macros to Run Automatically" Patch for Word 2000: http://woodyswatch.com/kb?824936 Patch for Word 2002 (Office XP): http://woodyswatch.com/kb?824934 The problem described in MS03-035 affects Word 97, 2000, and 2002 (the version of Word in Office XP). It also affects Works 2001, 2002 and 2003 because they all contain vulnerable versions of Word. At this point, I don't know if it affects Word 2003, but based on the way they handled the other patches (see below), I'll bet Microsoft built the fix into Office 2003 before it released the gold code. There are very few details online about this security hole, although it sounds like the "flipped macro bit" hole that I discussed more than two years ago in WOW 6.30 (http://www.woodyswatch.com/office/archtemplate.asp?v6-n30 ). In that earlier exploit, Steven McLeod discovered a way to flip a single bit in a Word document, and have Word bypass macro screening. It led to the first patch of Word 2002. According to MS's Web page, the particular problem in MS03-035 was discovered by Jim Bassett. Jim reports, "I just stumbled on the security hole by accident. A co-worker (non-developer) made a Word template in an unusual way. I noticed that new documents created from this template behaved strangely. I investigated and discovered that when you create a template in a particular manner, derived documents always get past macro security. It happened on all versions of Word including 2003 Beta." Jim reports that he first notified Microsoft in May, so it took four months for this patch to appear. http://www.microsoft.com/technet/security/bulletin/MS03-035.asp http://woodyswatch.com/kb?827653 3. MS03-036 / 824993 / 824938 MS03-036: Buffer Overrun in WordPerfect Converter Could Allow Code Execution Patch for Office 2000: http://woodyswatch.com/kb?824993 Patch for Office XP: http://woodyswatch.com/kb?824938 This is a gaping security hole in the program that Word uses to open WordPerfect-formatted documents. Because Internet Explorer cranks up Word whenever it tries to open a .doc, IE "inherits" the security hole from Word. (A bit ironic, actually, when you think about how many times Outlook has "inherited" security holes from IE and its HTML rendering engine.) It's a traditional buffer overflow problem: the WordPerfect converter doesn't check to make sure that data coming in fits inside the allocated area. As a result, a craftily concocted WordPerfect document can blow away the converter, take over, and start running any program the attacker likes. Microsoft lists the vulnerable programs as Office 97, 2000, and XP, FrontPage 2000 and 2002, Publisher 2000 and 2002, and Works 2001, 2002, and 2003. According to Microsoft, all of those programs automatically install the faulty converter (although I don't understand how the converter would be invoked if Word isn't installed - oh well). No official word on whether it affects Office 2003, but when you install Build 5604 of Office 2003 (the final Office 2003 Build is 5612), you get the same "good" Word Converter file mention in the Knowledge Base articles. Thus, it's highly likely that Microsoft caught the problem and fixed it before Office 2003 went gold. eEye Digital Security - the folks who have uncovered more than a dozen security holes in Internet Explorer - caught this one, too. They report that it's taken Microsoft four months to plug the hole. http://www.microsoft.com/technet/security/bulletin/MS03-036.asp http://woodyswatch.com/kb?827103 http://www.eeye.com/html/Research/Advisories/AD20030903-1.html 4. MS03-037 / 822035 / 822036 MS03-037: Flaw in Visual Basic for Applications Could Allow Arbitrary Code Execution Patch for Office 2000: http://woodyswatch.com/kb?822035 Patch for Office XP: http://woodyswatch.com/kb?822036 This is the biggie. It's rated "critical" because you can get infected by simply replying to or forwarding an infected email message - assuming you use Word as your Email editor. Don't get me started. There's a buffer overflow problem with the VBA Editor (er, the "Visual Basic Design Time Environment Library"). Yeah, you read that right. Here's how it works. Say you open a .doc file with Word. One early part of the process of opening a file involves Word plucking off a bit of the file and handing it to the VBA Editor (actually, handing it to the Visual Basic Design Time Environment Library, VBE.DLL). In effect, to a first approximation, Word asks the VBA Editor if VBA needs to be loaded in order to take care of the file. And Word asks VBE.DLL before it officially "opens" the file. That's when the problem occurs. If Word is tricked into plucking off too much data (which is remarkably easy to do), VBE.DLL gulps down the whole gob of data, chokes, and starts running the data that's passed to it, as if it were a program. If a bad guy jimmies a Word document so the plucked off part is too long, and sticks a malicious program at the point where VBE.DLL chokes and starts running the data as if it were a program, you have a classic buffer overflow attack. A lot of people are confused because they think their macro scanning anti-virus software should handle this sort of problem. In short, it can't (at least, not in the way you usually think of virus checkers working). Why? This initial plucking and feeding to VBE.DLL occurs long before Word even scans the document for macros, much less invokes the security levels you've set, or calls your anti-virus package. That's why WordMail can get clobbered. If you try to reply to or forward a message, WordMail plucks a string off the message and hands it to VBE.DLL, asking VBA if it needs to be loaded. If the string's too long, VBE.DLL can start running whatever program the bad guy stuck at the end of the string. Your anti-virus software will never even see the message. It's a helluva bad problem. As far as I can tell, anything and everything that uses Visual Basic for Applications is vulnerable. As mentioned earlier, that would include all of the 300-plus products made by companies that paid to have VBA included with their software. No doubt Corel and AutoCAD and a couple hundred other vendors are a bit, uh, peeved at this point. Remarkably, Microsoft does NOT list Outlook in the MS03-037 Security Bulletin lineup of afflicted products. That must be an oversight. Outlook certainly does use VBA. I bet MS fixes the KB article within minutes of reading this. Although there's no mention of Office 2003 in the Security Bulletin or KB articles, when you install Office 2003 Build 5604 (RTM is Build 5612), you get the "good" updated VBE6.DLL discussed in KB articles 822035 and 822036. Apparently MS fixed this hole before Office 2003 was released to manufacturing. eEye caught this one, too. It took Microsoft four months to patch this hole. http://www.microsoft.com/technet/security/bulletin/MS03-037.asp http://woodyswatch.com/kb?822715 http://www.eeye.com/html/Research/Advisories/AD20030903-2.html 5. MS03-038 / 826292 / 826293 MS03-038 - Unchecked Buffer in Microsoft Access Snapshot Viewer May Permit Code Execution Patch for Access 2000: http://woodyswatch.com/kb?826292 Patch for Access 2002 (Office XP): http://woodyswatch.com/kb?826293 This is another buffer overflow bug. (Somebody remind me. Didn't Microsoft perform a month-long security lockdown and code review, specifically aimed at buffer overflows and other common security holes, about a year ago? Hundreds of millions of dollars, if memory serves. Hmmmmm...) The Access Snapshot Viewer is a program that lets you look at a "snapshot" of an Access database. No, I've never used it, either. This particular security hole is susceptible to the same "kill bit" problem that the old Office Web Components bug encountered. I talked about the kill bit cat-and-mouse game in WOW 7.40, http://www.woodyswatch.com/OFFICE/archtemplate.asp?v7-n40 . Basically, even if you download and apply the fix, it's still possible for a really persistent cretin to undo your patch, remotely, operating from a Web site you visit. As far as I know, there aren't any good solutions to kill bit problems. You just have to wait for the next Internet Explorer patch, and apply it. And pray. Microsoft credits Oliver Lavery with finding this hole. I've written to Oliver, and will let you know if he wants to add anything. http://www.microsoft.com/technet/security/bulletin/MS03-038.asp http://woodyswatch.com/kb?827104 6. IF YOU HAVE OFFICE XP I hate to do it, but I'm going to recommend that you go to the Office Update site, http://www.office.microsoft.com/ProductUpdates/default.aspx , and apply whatever patches Microsoft may have for you. Why? Because there's working "exploit" code already posted on the Web for MS03-036 and MS03-037. It won't be long before somebody with a black hat figures out a way to use it. I've installed the patches on my own Office XP machines, and nothing has fallen over yet. I've combed the newsgroups and haven't heard any wailing or gnashing of teeth - although many folks are skeptical of Office Update. (No, you *can't* get these patches from Windows Update. You have to use Office Update.) If you want to download individual files, heaven help ya!, the Administrative Update page with links to all the Office XP update files is at http://www.microsoft.com/office/ork/xp/journ/oxpupdte.htm . You can also try following the instructions in the KB articles I noted at the end of the discussion for each security hole. 7. IF YOU HAVE OFFICE 2000 See the above recommendation for Office XP. The only good way I can figure to get all of the right patches (and there's a bunch of them, especially if you have FrontPage or Publisher) is via Office Update. Office 2000 (and 97) Administrative Updates (which is Microsoft speak for "downloadable patches") are listed at http://www.microsoft.com/office/ork/xp/journ/o2kupdte.htm 8. IF YOU HAVE OFFICE 97 AND/OR VISIO 2000 Sez Microsoft: "A supported fix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Apply it only to computers that are experiencing this specific problem." Of course, Microsoft doesn't provide you with enough information to determine whether or not a specific PC is experiencing the MS03-035 problem, in particular, but it appears to me as if all Office 97 computers are vulnerable to all four threats. Worse, if you wait until the 'specific problem' appears it means you probably have been attacked in some way. Here's "Trustworthy Computing" in action - Microsoft is recommending you do nothing until something bad happens. And people wonder why I don't take Microsoft a face value. For MS03-035: Start at http://woodyswatch.com/kb?827647 and follow the instructions to beg Microsoft for the patch. For MS03-036: Start at http://woodyswatch.com/kb?827656 and beg. For MS03-037: Start at http://woodyswatch.com/kb?822150 and download and apply the generic VBA update. For MS03-038: You need to download the new Access Snapshot Viewer at http://www.microsoft.com/accessdev/articles/snapshot.htm?&gssnb=1 WOODY's EMAIL ESSENTIALS - our new, free, newsletter, all about email. WEE will give you news and tips on Outlook Express - yes, finally a place for all those OE users to call home. There'll also be advice on email etiquette, spam prevention, email services and scams. Just click on this link to join using the same email address as this issue of WOW http://woodyswatch.com/email/subscribe.asp?cactus at cactus.dk Or send a blank email to wee at woodyswatch.com 9. THE GOOD POINT: ONE KUDOS FOR MICROSOFT Somebody in Redmond decided, once again, that Office 97 applications will be patched, even if Office 97 is, at least theoretically, orphaned. That's the right decision to make, and I want to thank the person or people who made it. It'd sure be nice if we didn't have to beg to get the updates. But at least they're available. Hopefully some sanity will prevail and the patches will be made available without going cap in hand to Microsoft. Well, maybe not sanity so much as self-preservation as waves of unhappy Office 97 / Visio 2000 user call Microsoft support. So far, the patches look stable. Let's all keep our fingers crossed. 10. KEEP WOW ALIVE AND FREE If you like the no-nonsense style you see in this newsletter - the straight scoop, whether Microsoft likes it or not, dished out in a way that won't put you to sleep - get one of my books! "Windows XP All-In-One Desk Reference For Dummies", Hungry Minds http://www.woodyswatch.com/l.asp?0764515489 "Special Edition Using Microsoft Office XP" with Ed Bott, Que http://www.woodyswatch.com/l.asp?0789725134 "Special Edition Using Microsoft Office 2000" with Ed Bott, Que http://www.woodyswatch.com/l.asp?0789718421 "Woody Leonhard Teaches Office 2000", Que http://www.woodyswatch.com/l.asp?0789718715 From artful at rogers.com Sat Sep 6 13:48:45 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 6 Sep 2003 11:48:45 -0700 Subject: [AccessD] A2K Reference the dot column property in a query In-Reply-To: <006501c3748a$bc1b23f0$6801a8c0@HAL9002> Message-ID: Thanks for the explication, Stuart! IMO the coolest thing about statics is that you can eliminate references to forms. In the AfterUpdate event of some control, you call the static function and pass the param. Anywhere else you need it, call the func without a param. I don't like being tied to particular forms being open. I want to be able to run a query etc. from the debug window anytime I want, and to set said static func from the debug window anytime I want. Statics give me this. That's why I love 'em. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, September 06, 2003 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K Reference the dot column property in a query Oh. That's very cool. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Friday, September 05, 2003 5:40 PM Subject: Re: [AccessD] A2K Reference the dot column property in a query > On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > > > Must have missed that thread Arthur. What are static functions? > > > > > Functions which retain the value of their variables between calls. > Something like: > > STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date > Local dteStore as Date > IF NOT ISNULLl(dteStartDate) Then > dteStore = dteStartDate > END IF > StartDate = dteStore > End FUNCTION > > Every time you call the function with a date parameter, it sets its > value. Every time you call it without a parameter, it returns the > last value set. > > You can now you user select a start date on a "pick form" somewhere. > When they have picked it, set the value of Startdate() with > something like dteTemp = StartDate(txtStartDate) > > Now you can use "=StartDate()" in reports, queries, form filters etc > anywhere you like. It will return the selected value until the user > goes back to the pick form and changes it. > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From serbach at new.rr.com Sat Sep 6 13:06:14 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sat, 6 Sep 2003 13:06:14 -0500 Subject: [AccessD] Total Access Analyzer References: Message-ID: <003401c374a1$9cf82290$aa06d018@W2k> Arthur, >> DoCmd.OpenForm strForm, bla, bla, bla >> That is, will it realize what form is being opened there? << Certainly not if the variable is a parameter passed to a function. My belief is that none of the variables are evaluated; they're just flagged as being defined, set to a value, or referenced. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From michael.mattys at adelphia.net Sat Sep 6 13:23:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Sat, 6 Sep 2003 14:23:01 -0400 Subject: [AccessD] A2K Reference the dot column property in a query References: Message-ID: <00c701c374a3$e872ba30$6401a8c0@default> Arthur, Where and when are you initializing these static variables? Do you write them to a table on the close of your database and retrieve them at the opening? (Like a registry hive) Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Saturday, September 06, 2003 2:48 PM Subject: RE: [AccessD] A2K Reference the dot column property in a query > Thanks for the explication, Stuart! > > IMO the coolest thing about statics is that you can eliminate references to > forms. In the AfterUpdate event of some control, you call the static > function and pass the param. Anywhere else you need it, call the func > without a param. I don't like being tied to particular forms being open. I > want to be able to run a query etc. from the debug window anytime I want, > and to set said static func from the debug window anytime I want. Statics > give me this. That's why I love 'em. > > A. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 06, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > Oh. That's very cool. > > Rocky > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 05, 2003 5:40 PM > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > > On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > > > > > Must have missed that thread Arthur. What are static functions? > > > > > > > > > Functions which retain the value of their variables between calls. > > Something like: > > > > STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date > > Local dteStore as Date > > IF NOT ISNULLl(dteStartDate) Then > > dteStore = dteStartDate > > END IF > > StartDate = dteStore > > End FUNCTION > > > > Every time you call the function with a date parameter, it sets its > > value. Every time you call it without a parameter, it returns the > > last value set. > > > > You can now you user select a start date on a "pick form" somewhere. > > When they have picked it, set the value of Startdate() with > > something like dteTemp = StartDate(txtStartDate) > > > > Now you can use "=StartDate()" in reports, queries, form filters etc > > anywhere you like. It will return the selected value until the user > > goes back to the pick form and changes it. > > > > > > > > -- > > Lexacorp Ltd > > http://www.lexacorp.com.pg > > Information Technology Consultancy, Software Development,System Support. > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rfv at entelix.com Sat Sep 6 13:23:28 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Sat, 6 Sep 2003 13:23:28 -0500 Subject: [AccessD] Bitmpap in MS Access Window Message-ID: <200309061823.h86INjp25821@databaseadvisors.com> Hi, Does anybody know how to place a bitmap in the Access Window? (the grey background) Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From StaRKeY at Wanadoo.nl Sat Sep 6 14:03:00 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sat, 6 Sep 2003 21:03:00 +0200 Subject: [AccessD] Bitmpap in MS Access Window In-Reply-To: <200309061823.h86INjp25821@databaseadvisors.com> Message-ID: Hi Rudolf, use a form, place your picture on it and make it borderless etc and centered. Open the form when the application opens et voila. To get rid of some borders still make the background the same color gray... Regards, Eric S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of rfv at entelix.com Sent: zaterdag 6 september 2003 20:23 To: AccessD at databaseadvisors.com Subject: [AccessD] Bitmpap in MS Access Window Hi, Does anybody know how to place a bitmap in the Access Window? (the grey background) Rudolf F. Vanek -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Sat Sep 6 14:13:44 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Sat, 6 Sep 2003 14:13:44 -0500 Subject: [AccessD] Bitmpap in MS Access Window Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C909@TAPPEEXCH01> It's a little tricky (requires subclassing the MDIClient form), but here goes: http://www.mvps.org/access/api/api0035.htm -----Original Message----- From: StaRKeY [mailto:StaRKeY at Wanadoo.nl] Sent: Saturday, September 06, 2003 2:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bitmpap in MS Access Window Hi Rudolf, use a form, place your picture on it and make it borderless etc and centered. Open the form when the application opens et voila. To get rid of some borders still make the background the same color gray... Regards, Eric S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of rfv at entelix.com Sent: zaterdag 6 september 2003 20:23 To: AccessD at databaseadvisors.com Subject: [AccessD] Bitmpap in MS Access Window Hi, Does anybody know how to place a bitmap in the Access Window? (the grey background) Rudolf F. Vanek -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Sat Sep 6 15:09:03 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sat, 06 Sep 2003 14:09:03 -0600 Subject: [AccessD] Small data types (was: listbox question) Message-ID: This is one of the reasons I suggested using user defined constants for the possible parameter values. I also believe that it is wise to include range checking in any procedure that accepts a restricted range of values in the parameters. The Select Case can then select against each constant and provide a Case Else for an out of range value. In the case of month and day values, it is generally wise to check with IsDate() because range checking requires too many rules with variable length months and leap years. If you look at the 16 bit API functions, they generally return 16 bit values and 32 bit API functions generally return 32 bit values and rely on enumerated constants for interpretation of return values no matter whether they are boolean, fall within byte, integer or long range. When it comes to object variables, it is best to be as precise as your binding permits because the type checking will ensure that the error is returned from the procedure that caused the error making any logging scheme return more useful information. In the example this thread referred to, there are many variables of type 'Control' that to not have a collection of selected items that may be accidentally passed. If anything but a ListBox is passed by reference, the error is raised in the example function. If the parameter were dimensioned as a ListBox, then the error would be invoked in the caller should an incorrect variable type be passed. When you have a general procedure that may be called from hundreds of different places, it is far more useful to identify the source of the error in the caller. If you have access to the call stack, it is easy enough to trace the origin of the error, but once you are dealing with a deployed MDE file, it is far more useful to have the error log point to the caller. Hen >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] Small data types (was: listbox question) >Date: Sat, 6 Sep 2003 10:54:30 +0200 > >Hi Steve > >Byte values are nice when you wish to prevent negative or "large" >integer values, say month and day values, passed to a function. > >However, one has to be careful when doing arithmetics with these as >any interim calculated value which will result in a negative value >will cause the function to fail. > >/gustav > > > > Henry, you make my head hurt. > > > But seriously, thanks for the comments; we've got hundreds of functions >in > > which we consciously chose the smaller data type in an effort to be more > > efficient, and it sounds like that is just an example of good intentions > > with opposite results. _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From ssharkins at bellsouth.net Sat Sep 6 16:26:15 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 6 Sep 2003 17:26:15 -0400 Subject: [AccessD] suppressing mail window using SendObject Message-ID: <00db01c374bd$82059230$220110ac@SusanOne> When using SendObject to email a report, can you suppress the mail client window and automate the Send action? I'm assuming you could solicit all the necessary information (To:, Subject:, and message) from right inside Access and pass it along to the mail client without ever displaying the mail window -- which would probably be preferable in most cases. Susan H. From john at winhaven.net Sat Sep 6 16:46:59 2003 From: john at winhaven.net (John Bartow) Date: Sat, 6 Sep 2003 16:46:59 -0500 Subject: [AccessD] Total Access Analyzer In-Reply-To: Message-ID: I found the reference to it in the FMS newsgroups: My Question posted 10-26-2001 12:42 PM: --------------------------------------------------------------------- I am attempting to find unused forms and reports in my Access 97 application database. I am considering any form or report not called by some procedure (either form, macro or module) as not used. Since forms and reports aren't considered unused in the TAA's list of suggestions, I am using the XREF to indicate this. Initially the Xref did not show any xrefs for forms that were called using the coding method: Dim stDocName As String stDocName = "frmMyForm" DoCmd.OpenForm stDocName In order to verify this is correct I added another command button next to the original using the coding method: DoCmd.OpenForm "frmMyForm" It did not detect the Xref using the first but did the second. Since MS wizard generated command buttons which open forms use the first method I find this hard to believe so I am writing and checking to make sure I didn't miss something. Also I am wondering if TA Analyzer 9 will work with the first coding method and also if it works with ADPs. If it does work with ADPs does it perform table structure/relationship analysis on SQL Server DBs? Thanks, John R Bartow WinHaven Consulting LLC PO Box 130 Winneconne, WI 54986-0130 920-582-7574 john at winhaven.net --------------------------------------------------------------------- The reason this is not found as a referenced object is because the Object is named in a variable. Basically, Total Access Analyzer 2000 can reference the Object if it is named directly, but cannot reference the Object if it is named in a variable. For example: This cannot be found: Dim stDocName As String stDocName = "MyObject" DoCmd.OpenQuery stDocName, acNormal, acEdit Here we find that the variable "stDocName" is referenced, but not the Object assigned to that variable. To see that the variable "stDocName" is referenced, review the Module XRef Report named "DoCmd, Sorted By Action". This will show that the DoCmd function is calling the .OpenQuery command and then the parameters. Note the parameters are listed as "stDocName" (or what your variable name is) for some of them. But this can be found: DoCmd.OpenQuery "MyObject", acNormal, acEdit There is an area in the manual that explains the documentation limitations more thoroughly. This is on pages 24-26 of the 8.0 manual. There are other XRef Reports you can see that name the Variables referenced. For instance, "Variable References, sorted by Variable name" will show you all of the Variables that are referenced throughout code and where they are referenced from. Additionally, future versions of the product will also not be able to cross reference this type of "variable = ObjectName". Total Access Analyzer 2000 and beyond work with ADPs, but DO NOT document complete XRef. We cannot currently document TSQL, which means we cannot find all references to all objects, fields, etc. However, we can and do document tables, columns, keys, triggers. HTH ------------------ Troy Troy Munford QA Manager FMS, INC Troy at fmsinc.com From jcolby at colbyconsulting.com Sat Sep 6 17:08:39 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 6 Sep 2003 18:08:39 -0400 Subject: [AccessD] Total Access Analyzer In-Reply-To: Message-ID: In the end though, the report is still referenced in the module so it can be seen that the report is used. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Saturday, September 06, 2003 5:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Total Access Analyzer I found the reference to it in the FMS newsgroups: My Question posted 10-26-2001 12:42 PM: --------------------------------------------------------------------- I am attempting to find unused forms and reports in my Access 97 application database. I am considering any form or report not called by some procedure (either form, macro or module) as not used. Since forms and reports aren't considered unused in the TAA's list of suggestions, I am using the XREF to indicate this. Initially the Xref did not show any xrefs for forms that were called using the coding method: Dim stDocName As String stDocName = "frmMyForm" DoCmd.OpenForm stDocName In order to verify this is correct I added another command button next to the original using the coding method: DoCmd.OpenForm "frmMyForm" It did not detect the Xref using the first but did the second. Since MS wizard generated command buttons which open forms use the first method I find this hard to believe so I am writing and checking to make sure I didn't miss something. Also I am wondering if TA Analyzer 9 will work with the first coding method and also if it works with ADPs. If it does work with ADPs does it perform table structure/relationship analysis on SQL Server DBs? Thanks, John R Bartow WinHaven Consulting LLC PO Box 130 Winneconne, WI 54986-0130 920-582-7574 john at winhaven.net --------------------------------------------------------------------- The reason this is not found as a referenced object is because the Object is named in a variable. Basically, Total Access Analyzer 2000 can reference the Object if it is named directly, but cannot reference the Object if it is named in a variable. For example: This cannot be found: Dim stDocName As String stDocName = "MyObject" DoCmd.OpenQuery stDocName, acNormal, acEdit Here we find that the variable "stDocName" is referenced, but not the Object assigned to that variable. To see that the variable "stDocName" is referenced, review the Module XRef Report named "DoCmd, Sorted By Action". This will show that the DoCmd function is calling the .OpenQuery command and then the parameters. Note the parameters are listed as "stDocName" (or what your variable name is) for some of them. But this can be found: DoCmd.OpenQuery "MyObject", acNormal, acEdit There is an area in the manual that explains the documentation limitations more thoroughly. This is on pages 24-26 of the 8.0 manual. There are other XRef Reports you can see that name the Variables referenced. For instance, "Variable References, sorted by Variable name" will show you all of the Variables that are referenced throughout code and where they are referenced from. Additionally, future versions of the product will also not be able to cross reference this type of "variable = ObjectName". Total Access Analyzer 2000 and beyond work with ADPs, but DO NOT document complete XRef. We cannot currently document TSQL, which means we cannot find all references to all objects, fields, etc. However, we can and do document tables, columns, keys, triggers. HTH ------------------ Troy Troy Munford QA Manager FMS, INC Troy at fmsinc.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Sep 6 17:19:15 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 06 Sep 2003 15:19:15 -0700 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: Hi John: What would be the best way to distribute an application that way? I have never used this way before but a set of circumstances seem to warrant this method. Any insight would be greatly appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 7:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user > I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. The FE is downloaded every morning when they click a hotlink to a batch file on their desktop. > I would try prefilling the select table with one record for each of the main records and doing an inner join. I tried that. There are problems starting with when to build the records? There are thousands of these records so I really only wanted to generate records for the specific records they wanted to print, which is why I am doing it this way to start with. >The only time then you'd delete a selected record is if the main record gets deleted. Yea, I really ran into this because I was going into the table and manually deleting the select records. It PROBABLY won't be something that ever crops up but it's a nasty one if it does. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, September 05, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat Sep 6 18:28:08 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 07 Sep 2003 09:28:08 +1000 Subject: [AccessD] suppressing mail window using SendObject In-Reply-To: <00db01c374bd$82059230$220110ac@SusanOne> Message-ID: <3F5AFA28.26211.1AA695@localhost> On 6 Sep 2003 at 17:26, Susan Harkins wrote: > When using SendObject to email a report, can you suppress the mail client > window and automate the Send action? I'm assuming you could solicit all the > necessary information (To:, Subject:, and message) from right inside Access > and pass it along to the mail client without ever displaying the mail > window -- which would probably be preferable in most cases. > > Susan H. > RTFM :-) Syntax DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile] .... editmessage Use True (?1) to open the electronic mail application immediately with the message loaded, so the message can be edited. Use False (0) to send the message without editing it. If you leave this argument blank, the default (True) is assumed. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From artful at rogers.com Sat Sep 6 22:20:03 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 6 Sep 2003 20:20:03 -0700 Subject: [AccessD] A2K Reference the dot column property in a query In-Reply-To: <00c701c374a3$e872ba30$6401a8c0@default> Message-ID: I suppose I could save them to a table, but so far I don't bother. My biggest concern is run-time evaluation, not preservation between runs. I developed this technique because I needed to "remember" a bunch of variables that are all set on different forms, and then use them elsewhere. To take a trivial example, if you select "Bruce Springsteen in Toronto", that must act as a filter on several other forms, which may or may not be open at the time you select. (Given that I rely heavily on JC's JIT tabs, said forms are often but not always not yet loaded.) Gradually this led me to a system in which I don't rely on any forms being open. Instead I call the statics in SET mode when the user selects something of interest, and then call them again in GET mode when I need them. Typically I call them in SET mode in an AfterUpdate of some control on some page or other. Occasionally it's in the OnCurrent method of a form. I just did one like that today, where there's an unbound form containing a datasheet subform, and on the master form's footer is a button for Delete. The subform's OnCurrent calls CurrentTicketAllocationID() and passes the PK to it. The button interrogates CurrentTicketAllocationID() without a param and obtains the just-set value, then passes it to a sproc that does a sort of cascade-delete but with smarts. It's one line of code to set it and one line of code to get it. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, September 06, 2003 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K Reference the dot column property in a query Arthur, Where and when are you initializing these static variables? Do you write them to a table on the close of your database and retrieve them at the opening? (Like a registry hive) Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Saturday, September 06, 2003 2:48 PM Subject: RE: [AccessD] A2K Reference the dot column property in a query > Thanks for the explication, Stuart! > > IMO the coolest thing about statics is that you can eliminate references to > forms. In the AfterUpdate event of some control, you call the static > function and pass the param. Anywhere else you need it, call the func > without a param. I don't like being tied to particular forms being open. I > want to be able to run a query etc. from the debug window anytime I want, > and to set said static func from the debug window anytime I want. Statics > give me this. That's why I love 'em. > > A. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 06, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > Oh. That's very cool. > > Rocky > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 05, 2003 5:40 PM > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > > On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > > > > > Must have missed that thread Arthur. What are static functions? > > > > > > > > > Functions which retain the value of their variables between calls. > > Something like: > > > > STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date > > Local dteStore as Date > > IF NOT ISNULLl(dteStartDate) Then > > dteStore = dteStartDate > > END IF > > StartDate = dteStore > > End FUNCTION > > > > Every time you call the function with a date parameter, it sets its > > value. Every time you call it without a parameter, it returns the > > last value set. > > > > You can now you user select a start date on a "pick form" somewhere. > > When they have picked it, set the value of Startdate() with > > something like dteTemp = StartDate(txtStartDate) > > > > Now you can use "=StartDate()" in reports, queries, form filters etc > > anywhere you like. It will return the selected value until the user > > goes back to the pick form and changes it. > > > > > > > > -- > > Lexacorp Ltd > > http://www.lexacorp.com.pg > > Information Technology Consultancy, Software Development,System Support. > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From jcolby at colbyconsulting.com Sat Sep 6 19:21:09 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 6 Sep 2003 20:21:09 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: Jim, Are you talking about the FE/BE with the FE downloaded daily? I create a shared directory on the server. This directory on the server will be mapped on the workstation to a given drive letter. I use X: where possible simply because over the years I have found most companies networks use the drive letters up from D:, and X: is usually available. Inside that directory I create a dir named for the client's app. I do that for my own convenience as a developer, more on that in a minute. I place both the FE and the BE in that named directory inside the shared directory on the server. Where possible I then map the shared directory as a drive to the local machine such as X: - that is the directory below where the FE/BE resides. This simplifies matters as I can link the FE to X:\MyApp\SomeBE.MDB and then all the workstations can download the FE without having to relink before use. I build a batch file that I place in that same directory that simply does an MD to make the directory, then an XCopy to copy the FE down. The MD makes a directory on the local hard drive, perhaps C:\ClientAppName. If the directory already exists fine, otherwise it gets built. The XCopy then copies the FE into that dir and then calls Access to open the FE. Go around to each machine that will use the db. Map the X: (or whatever) to the shared server directory. Create a shortcut to the batch file on the server. Run the batch file (shortcut) one time to create the directory, download the app and my framework and run it. This just ensures that everything works. That's pretty much all there is to it. Of course in my case I also have my framework to distribute, so the batch file also copies C2DbFramework.MDA to the Windows directory. Doing things this way makes distribution of a new version dead simple. Upload a new framework or FE (or both) to the server. The next time the user clicks on the shortcut on their desktop they get the latest. Remember up above I mentioned my convenience as a developer? Now on my dev machine at home I do the same thing. I create a mapped drive D:\Dev and share it. I then create a directory named for each CLIENT'S application. Thus I have on my dev machine d:\Dev:\DISNew, D:\Dev\BPDB, D:\Dev\LDA etc etc. I map Dev as X:\ and I now have X:\DISNew, X:\BPDB, X:\LDA etc where DISNEW is an app for Disability Insurance, LDA is an app for Learning Disability association, BPDB is an app for Beacon Financial Group etc. In essence my X drive is a directory on my D: drive mapped out over my network and back in to the same machine (I could put it on my server if I wished of course). Each dir inside of X: belongs to a different client. Assuming that I get to use the X: drive mapping at each client, things just work. I can link the FE to the BE and ship it to the client without relinking. If I have to use a different drive letter on the client workstations then I have to also map that drive letter on my machine (perhaps Y:), although it is still mapping the D:\Dev directory on my development machine. So far only a single client has already used the X: drive mapping and forced me to move to another drive letter. I think it might be possible to do this same thing using the substitute command from DOS. Someone mentioned that awhile back. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 06, 2003 6:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Hi John: What would be the best way to distribute an application that way? I have never used this way before but a set of circumstances seem to warrant this method. Any insight would be greatly appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 7:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user > I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. The FE is downloaded every morning when they click a hotlink to a batch file on their desktop. > I would try prefilling the select table with one record for each of the main records and doing an inner join. I tried that. There are problems starting with when to build the records? There are thousands of these records so I really only wanted to generate records for the specific records they wanted to print, which is why I am doing it this way to start with. >The only time then you'd delete a selected record is if the main record gets deleted. Yea, I really ran into this because I was going into the table and manually deleting the select records. It PROBABLY won't be something that ever crops up but it's a nasty one if it does. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, September 05, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Sat Sep 6 19:21:29 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 6 Sep 2003 20:21:29 -0400 Subject: [AccessD] suppressing mail window using SendObject References: <3F5AFA28.26211.1AA695@localhost> Message-ID: <015001c374d6$45f8c320$220110ac@SusanOne> How simple -- thanks so much. What's RTFM? SusanH. > On 6 Sep 2003 at 17:26, Susan Harkins wrote: > > > When using SendObject to email a report, can you suppress the mail client > > window and automate the Send action? I'm assuming you could solicit all the > > necessary information (To:, Subject:, and message) from right inside Access > > and pass it along to the mail client without ever displaying the mail > > window -- which would probably be preferable in most cases. > > > > Susan H. > > > RTFM :-) > Syntax > DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, > cc][, bcc][, subject][, messagetext][, editmessage][, templatefile] > .... > editmessage Use True (-1) to open the electronic mail application > immediately with the message loaded, so the message can be edited. > Use False (0) to send the message without editing it. If you leave > this argument blank, the default (True) is assumed. > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Sat Sep 6 19:30:53 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 06 Sep 2003 17:30:53 -0700 Subject: [AccessD] suppressing mail window using SendObject References: <3F5AFA28.26211.1AA695@localhost> <015001c374d6$45f8c320$220110ac@SusanOne> Message-ID: <3F5A7C3D.6080800@shaw.ca> Read The Friendly Manual ;) Susan Harkins wrote: >How simple -- thanks so much. What's RTFM? > >SusanH. > > > > >>On 6 Sep 2003 at 17:26, Susan Harkins wrote: >> >> >> >>>When using SendObject to email a report, can you suppress the mail >>> >>> >client > > >>>window and automate the Send action? I'm assuming you could solicit all >>> >>> >the > > >>>necessary information (To:, Subject:, and message) from right inside >>> >>> >Access > > >>>and pass it along to the mail client without ever displaying the mail >>>window -- which would probably be preferable in most cases. >>> >>>Susan H. >>> >>> >>> >>RTFM :-) >>Syntax >>DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, >>cc][, bcc][, subject][, messagetext][, editmessage][, templatefile] >>.... >>editmessage Use True (-1) to open the electronic mail application >>immediately with the message loaded, so the message can be edited. >>Use False (0) to send the message without editing it. If you leave >>this argument blank, the default (True) is assumed. >> >>-- >>Lexacorp Ltd >>http://www.lexacorp.com.pg >>Information Technology Consultancy, Software Development,System Support. >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>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 bellsouth.net Sat Sep 6 19:44:25 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 6 Sep 2003 20:44:25 -0400 Subject: [AccessD] suppressing mail window using SendObject References: <3F5AFA28.26211.1AA695@localhost> <015001c374d6$45f8c320$220110ac@SusanOne> <3F5A7C3D.6080800@shaw.ca> Message-ID: <016b01c374d9$313a1080$220110ac@SusanOne> Ya know, that's good advice, but FWIW, if I'd found it by reading I wouldn't have asked. Sorry I'm such an idiot I overlooked it. Anytime I ask a question someone thinks I ought to have found the answer on my lonesome, just free to just pass me by. Susan H. > Read The Friendly Manual ;) > > Susan Harkins wrote: > > >How simple -- thanks so much. What's RTFM? > > > >SusanH. > > > > > > > > > >>On 6 Sep 2003 at 17:26, Susan Harkins wrote: > >> > >> > >> > >>>When using SendObject to email a report, can you suppress the mail > >>> > >>> > >client > > > > > >>>window and automate the Send action? I'm assuming you could solicit all > >>> > >>> > >the > > > > > >>>necessary information (To:, Subject:, and message) from right inside > >>> > >>> > >Access > > > > > >>>and pass it along to the mail client without ever displaying the mail > >>>window -- which would probably be preferable in most cases. > >>> > >>>Susan H. > >>> > >>> > >>> > >>RTFM :-) > >>Syntax > >>DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, > >>cc][, bcc][, subject][, messagetext][, editmessage][, templatefile] > >>.... > >>editmessage Use True (-1) to open the electronic mail application > >>immediately with the message loaded, so the message can be edited. > >>Use False (0) to send the message without editing it. If you leave > >>this argument blank, the default (True) is assumed. > >> > >>-- > >>Lexacorp Ltd > >>http://www.lexacorp.com.pg > >>Information Technology Consultancy, Software Development,System Support. > >> > >> > >> > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Sep 6 20:16:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 6 Sep 2003 21:16:41 -0400 Subject: [AccessD] A2K Reference the dot column property in a query In-Reply-To: Message-ID: Given that it's static, you have to have one of these functions for each param (each query) correct? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Saturday, September 06, 2003 11:20 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K Reference the dot column property in a query I suppose I could save them to a table, but so far I don't bother. My biggest concern is run-time evaluation, not preservation between runs. I developed this technique because I needed to "remember" a bunch of variables that are all set on different forms, and then use them elsewhere. To take a trivial example, if you select "Bruce Springsteen in Toronto", that must act as a filter on several other forms, which may or may not be open at the time you select. (Given that I rely heavily on JC's JIT tabs, said forms are often but not always not yet loaded.) Gradually this led me to a system in which I don't rely on any forms being open. Instead I call the statics in SET mode when the user selects something of interest, and then call them again in GET mode when I need them. Typically I call them in SET mode in an AfterUpdate of some control on some page or other. Occasionally it's in the OnCurrent method of a form. I just did one like that today, where there's an unbound form containing a datasheet subform, and on the master form's footer is a button for Delete. The subform's OnCurrent calls CurrentTicketAllocationID() and passes the PK to it. The button interrogates CurrentTicketAllocationID() without a param and obtains the just-set value, then passes it to a sproc that does a sort of cascade-delete but with smarts. It's one line of code to set it and one line of code to get it. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Saturday, September 06, 2003 11:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K Reference the dot column property in a query Arthur, Where and when are you initializing these static variables? Do you write them to a table on the close of your database and retrieve them at the opening? (Like a registry hive) Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "Access Developers discussion and problem solving" Sent: Saturday, September 06, 2003 2:48 PM Subject: RE: [AccessD] A2K Reference the dot column property in a query > Thanks for the explication, Stuart! > > IMO the coolest thing about statics is that you can eliminate references to > forms. In the AfterUpdate event of some control, you call the static > function and pass the param. Anywhere else you need it, call the func > without a param. I don't like being tied to particular forms being open. I > want to be able to run a query etc. from the debug window anytime I want, > and to set said static func from the debug window anytime I want. Statics > give me this. That's why I love 'em. > > A. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, September 06, 2003 8:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > Oh. That's very cool. > > Rocky > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 05, 2003 5:40 PM > Subject: Re: [AccessD] A2K Reference the dot column property in a query > > > > On 5 Sep 2003 at 7:48, Rocky Smolin - Beach Access S wrote: > > > > > Must have missed that thread Arthur. What are static functions? > > > > > > > > > Functions which retain the value of their variables between calls. > > Something like: > > > > STATIC FUNCTION StartDate(OPTIONAL dteStartDate as Date) as Date > > Local dteStore as Date > > IF NOT ISNULLl(dteStartDate) Then > > dteStore = dteStartDate > > END IF > > StartDate = dteStore > > End FUNCTION > > > > Every time you call the function with a date parameter, it sets its > > value. Every time you call it without a parameter, it returns the > > last value set. > > > > You can now you user select a start date on a "pick form" somewhere. > > When they have picked it, set the value of Startdate() with > > something like dteTemp = StartDate(txtStartDate) > > > > Now you can use "=StartDate()" in reports, queries, form filters etc > > anywhere you like. It will return the selected value until the user > > goes back to the pick form and changes it. > > > > > > > > -- > > Lexacorp Ltd > > http://www.lexacorp.com.pg > > Information Technology Consultancy, Software Development,System Support. > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sat Sep 6 22:04:50 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sat, 6 Sep 2003 22:04:50 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227190@main2.marlow.com> There hasn't been a change on my site either. The one 'method' works, just make the others match that method. Drew -----Original Message----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: 9/5/03 7:35 PM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew: You are right it doesn't search at the DBA site....It use to, but what happened? (There has been no change at the DBA site.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 05, 2003 8:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 05, 2003 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Sep 6 23:25:52 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 07 Sep 2003 14:25:52 +1000 Subject: [AccessD] suppressing mail window using SendObject In-Reply-To: <016b01c374d9$313a1080$220110ac@SusanOne> Message-ID: <3F5B3FF0.23205.12B3983@localhost> On 6 Sep 2003 at 20:44, Susan Harkins wrote: > Ya know, that's good advice, but FWIW, if I'd found it by reading I wouldn't > have asked. Sorry I'm such an idiot I overlooked it. Anytime I ask a > question someone thinks I ought to have found the answer on my lonesome, > just free to just pass me by. > Nope! We're all here to help each other. If someone is stuck. we should help them. But at the same time, if it's fairly easy to locate in Help, I prefer to point that out as well and "RTFM" is a quick, easy and commonly accepted way to do so. If I feel it's a *really* basic question, you won't see a smiley after the RTFM! :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From ssharkins at bellsouth.net Sat Sep 6 23:36:28 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 7 Sep 2003 00:36:28 -0400 Subject: [AccessD] suppressing mail window using SendObject References: <3F5B3FF0.23205.12B3983@localhost> Message-ID: <029e01c374f9$a0325e00$220110ac@SusanOne> > > Nope! We're all here to help each other. If someone is stuck. we > should help them. But at the same time, if it's fairly easy to locate > in Help, I prefer to point that out as well and "RTFM" is a quick, > easy and commonly accepted way to do so. > > If I feel it's a *really* basic question, you won't see a smiley > after the RTFM! =============I'm just glad for quick answers when I need them. :) RTFM could be interpreted another way ya know -- even with the smiley face. :) I just spent over 30 minutes trying to sign in to yahoogroups to change my email address -- we just switched over to dsl -- everything has gone really well -- except yahoogroups -- now they've locked me out -- regardless of what the documentation says -- it isn't always all that easy to apply it. I haven't been able to get into yahoogroups to modify my account since the last time they revamped the site. Susan H. From accessd at shaw.ca Sun Sep 7 00:01:14 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 06 Sep 2003 22:01:14 -0700 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: Hi John: Thanks a lot for the info. I have a routine that creates a shortcut and puts in on the desktop now if I can add in the routines that will check for a more recent release and if so download it. I could use the Dos commands but it might be neater to use the a Windows based script.... This time I am actually working at the client's site, the BE is an Oracle DB (Access 2002 FE) and that should make some of the issues simpler. It would be nice to have an all-in-one routine that would one, when the setup is run, checks particulars such as space, Windows version, Access version, makes a FE directory, if required and if the local specifics are correct, adds a icon to the desktop. When the icon is select the routines first checks to see if a later version exists and if so, downloads it and then runs the application or even refreshes the version when ever the programmer feels it is appropriate. I have the first part completed, (built in VB) now all that is necessary is to marry the two sections.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, September 06, 2003 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Jim, Are you talking about the FE/BE with the FE downloaded daily? I create a shared directory on the server. This directory on the server will be mapped on the workstation to a given drive letter. I use X: where possible simply because over the years I have found most companies networks use the drive letters up from D:, and X: is usually available. Inside that directory I create a dir named for the client's app. I do that for my own convenience as a developer, more on that in a minute. I place both the FE and the BE in that named directory inside the shared directory on the server. Where possible I then map the shared directory as a drive to the local machine such as X: - that is the directory below where the FE/BE resides. This simplifies matters as I can link the FE to X:\MyApp\SomeBE.MDB and then all the workstations can download the FE without having to relink before use. I build a batch file that I place in that same directory that simply does an MD to make the directory, then an XCopy to copy the FE down. The MD makes a directory on the local hard drive, perhaps C:\ClientAppName. If the directory already exists fine, otherwise it gets built. The XCopy then copies the FE into that dir and then calls Access to open the FE. Go around to each machine that will use the db. Map the X: (or whatever) to the shared server directory. Create a shortcut to the batch file on the server. Run the batch file (shortcut) one time to create the directory, download the app and my framework and run it. This just ensures that everything works. That's pretty much all there is to it. Of course in my case I also have my framework to distribute, so the batch file also copies C2DbFramework.MDA to the Windows directory. Doing things this way makes distribution of a new version dead simple. Upload a new framework or FE (or both) to the server. The next time the user clicks on the shortcut on their desktop they get the latest. Remember up above I mentioned my convenience as a developer? Now on my dev machine at home I do the same thing. I create a mapped drive D:\Dev and share it. I then create a directory named for each CLIENT'S application. Thus I have on my dev machine d:\Dev:\DISNew, D:\Dev\BPDB, D:\Dev\LDA etc etc. I map Dev as X:\ and I now have X:\DISNew, X:\BPDB, X:\LDA etc where DISNEW is an app for Disability Insurance, LDA is an app for Learning Disability association, BPDB is an app for Beacon Financial Group etc. In essence my X drive is a directory on my D: drive mapped out over my network and back in to the same machine (I could put it on my server if I wished of course). Each dir inside of X: belongs to a different client. Assuming that I get to use the X: drive mapping at each client, things just work. I can link the FE to the BE and ship it to the client without relinking. If I have to use a different drive letter on the client workstations then I have to also map that drive letter on my machine (perhaps Y:), although it is still mapping the D:\Dev directory on my development machine. So far only a single client has already used the X: drive mapping and forced me to move to another drive letter. I think it might be possible to do this same thing using the substitute command from DOS. Someone mentioned that awhile back. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 06, 2003 6:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Hi John: What would be the best way to distribute an application that way? I have never used this way before but a set of circumstances seem to warrant this method. Any insight would be greatly appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 7:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user > I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. The FE is downloaded every morning when they click a hotlink to a batch file on their desktop. > I would try prefilling the select table with one record for each of the main records and doing an inner join. I tried that. There are problems starting with when to build the records? There are thousands of these records so I really only wanted to generate records for the specific records they wanted to print, which is why I am doing it this way to start with. >The only time then you'd delete a selected record is if the main record gets deleted. Yea, I really ran into this because I was going into the table and manually deleting the select records. It PROBABLY won't be something that ever crops up but it's a nasty one if it does. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, September 05, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Sep 7 00:02:44 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 06 Sep 2003 22:02:44 -0700 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227190@main2.marlow.com> Message-ID: Hi Drew: I made a very subtle change in the code and now it should work, either way. Check it from your end, if you get the chance and get back to me if there are any issues. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Saturday, September 06, 2003 8:05 PM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) There hasn't been a change on my site either. The one 'method' works, just make the others match that method. Drew -----Original Message----- From: Jim Lawrence (AccessD) To: Access Developers discussion and problem solving Sent: 9/5/03 7:35 PM Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew: You are right it doesn't search at the DBA site....It use to, but what happened? (There has been no change at the DBA site.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 05, 2003 8:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) Nope....and let's not mention archives and burning in the same post from now on. I have sprinklers at my new place, but I'd rather not chance it! http://wolfwares.com/AccessD Also, if you use the search box on www.databaseadvisors.com, it will take you to the archives I'm running, but it doesn't actually 'search'. You have to redo your search once you're at my site. Jim, if you get this, can you fix that? Also if you read this Jim, I did give you access to my site to get the archives to 'look' like the dba site, right? Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 05, 2003 10:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Archive (was: Days Past Due - Grace Period) Hi Drew Didn't you burn it down? I know, but every time I need it I can't find a link for it. What I was referring to is the site of databaseadvisors.com. There are links for an archive which is easy to locate but without a search function (as far as I can see). /gustav > Just out of curiousity, what does 'But it would certainly be nice with a > searchable archive!' mean? We have a searchable archive. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 7 01:08:28 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 7 Sep 2003 08:08:28 +0200 Subject: [AccessD] Bitmpap in MS Access Window In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C909@TAPPEEXCH01> References: <426071E0B0A6D311B3C0006008B0AB2338C909@TAPPEEXCH01> Message-ID: <1112999863.20030907080828@cactus.dk> Hi Brett > It's a little tricky (requires subclassing the MDIClient form), but > here goes: > http://www.mvps.org/access/api/api0035.htm Not necessarily - Stephen Lebans has a demo: http://www.lebans.com/changemdibackground.htm It contains a minor bug. If you will select a new picture but cancels the operation, the background updating stops. This should be fixable with little effort. /gustav > Does anybody know how to place a bitmap in the Access Window? (the grey > background) From gustav at cactus.dk Sun Sep 7 01:18:19 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 7 Sep 2003 08:18:19 +0200 Subject: [AccessD] suppressing mail window using SendObject In-Reply-To: <016b01c374d9$313a1080$220110ac@SusanOne> References: <3F5AFA28.26211.1AA695@localhost> <015001c374d6$45f8c320$220110ac@SusanOne> <3F5A7C3D.6080800@shaw.ca> <016b01c374d9$313a1080$220110ac@SusanOne> Message-ID: <223591113.20030907081819@cactus.dk> Oh Susan, normally you appear not to be that sensible. As for the last sentence of yours it just doesn't hold. /gustav > Ya know, that's good advice, but FWIW, if I'd found it by reading I wouldn't > have asked. Sorry I'm such an idiot I overlooked it. Anytime I ask a > question someone thinks I ought to have found the answer on my lonesome, > just free to just pass me by. > Susan H. >> Read The Friendly Manual ;) >> >> Susan Harkins wrote: >> >> >How simple -- thanks so much. What's RTFM? From bchacc at san.rr.com Sun Sep 7 11:57:25 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 7 Sep 2003 09:57:25 -0700 Subject: [AccessD] Record Count From Group Header Message-ID: <009301c37561$1d3dc210$6801a8c0@HAL9002> Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen at bondsoftware.co.nz Sun Sep 7 13:55:04 2003 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Mon, 08 Sep 2003 06:55:04 +1200 Subject: [AccessD] Record Count From Group Header Message-ID: <70F3D727890C784291D8433E9C418F298F12@server.bondsoftware.co.nz> A way I know of to count the records in a Group is to put a hidden text box on the detail line. Name: txtCount ControlName: =1 RunningSum: Over Group Then the count per group (txtCount) is available in each group footer. The only way I found to put all the group counts into the *Report* footer is by using a subreport in the Report Footer which has a Totals query as its Recordsource. Stephen Bond -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, 8 September 2003 4:57 a.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Record Count From Group Header Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Sun Sep 7 14:09:43 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 7 Sep 2003 15:09:43 -0400 Subject: [AccessD] Record Count From Group Header References: <009301c37561$1d3dc210$6801a8c0@HAL9002> Message-ID: <002801c37573$9b0cc4e0$220110ac@SusanOne> http://techrepublic.com.com/5100-6329-5034488.html?tag=search Don't know whether it'll answer your question... but it has the general rules Susan H. Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Sep 7 14:23:23 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 7 Sep 2003 12:23:23 -0700 Subject: [AccessD] Record Count From Group Header References: <70F3D727890C784291D8433E9C418F298F12@server.bondsoftware.co.nz> Message-ID: <00ef01c37575$815c2930$6801a8c0@HAL9002> I think you're right about the sub-report. That would work. But I'm trying to avoid that and just get the number of records in the group header. The running sum control would work for counting the detail records in each group. But I've got to get the number of records in the group header. Maybe I'll try counting the On_Print events for group header. Thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Stephen Bond To: Access Developers discussion and problem solving Sent: Sunday, September 07, 2003 11:55 AM Subject: RE: [AccessD] Record Count From Group Header A way I know of to count the records in a Group is to put a hidden text box on the detail line. Name: txtCount ControlName: =1 RunningSum: Over Group Then the count per group (txtCount) is available in each group footer. The only way I found to put all the group counts into the *Report* footer is by using a subreport in the Report Footer which has a Totals query as its Recordsource. Stephen Bond -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, 8 September 2003 4:57 a.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Record Count From Group Header Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sun Sep 7 14:35:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 7 Sep 2003 12:35:50 -0700 Subject: [AccessD] Record Count From Group Header References: <009301c37561$1d3dc210$6801a8c0@HAL9002> <002801c37573$9b0cc4e0$220110ac@SusanOne> Message-ID: <010501c37577$3e458f90$6801a8c0@HAL9002> Actually, I got it after a bit of juggling. Kludgey solution but it works: Dim lngOnPrintCount In the Report_Open event: lngOnPrintCount = 0 In the OnPrint event of the group lngOnPrintCount = lngOnPrintCount + 1 Put a text box on print in the report footer. Then, in the OnFormat event of the report footer txtOnPrint = lngOnPrint Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Sunday, September 07, 2003 12:09 PM Subject: Re: [AccessD] Record Count From Group Header http://techrepublic.com.com/5100-6329-5034488.html?tag=search Don't know whether it'll answer your question... but it has the general rules Susan H. Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Sun Sep 7 17:33:51 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 7 Sep 2003 18:33:51 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: To this point I haven't worried about "later version". All of my clients are small companies, typically < 25 workstations. Since the FE usually loads in about 10 seconds over the net, and people turn on and click the shortcut at different times, the network load isn't sufficient to worry about the "latest version" check. They get the "latest version" every morning whether or not anything changed. Actually this works pretty well anyway since I can now make local tables in the FE and the next day they get a new (compressed) copy of the FE. No bloat to worry about. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Sunday, September 07, 2003 1:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Hi John: Thanks a lot for the info. I have a routine that creates a shortcut and puts in on the desktop now if I can add in the routines that will check for a more recent release and if so download it. I could use the Dos commands but it might be neater to use the a Windows based script.... This time I am actually working at the client's site, the BE is an Oracle DB (Access 2002 FE) and that should make some of the issues simpler. It would be nice to have an all-in-one routine that would one, when the setup is run, checks particulars such as space, Windows version, Access version, makes a FE directory, if required and if the local specifics are correct, adds a icon to the desktop. When the icon is select the routines first checks to see if a later version exists and if so, downloads it and then runs the application or even refreshes the version when ever the programmer feels it is appropriate. I have the first part completed, (built in VB) now all that is necessary is to marry the two sections.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Saturday, September 06, 2003 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Jim, Are you talking about the FE/BE with the FE downloaded daily? I create a shared directory on the server. This directory on the server will be mapped on the workstation to a given drive letter. I use X: where possible simply because over the years I have found most companies networks use the drive letters up from D:, and X: is usually available. Inside that directory I create a dir named for the client's app. I do that for my own convenience as a developer, more on that in a minute. I place both the FE and the BE in that named directory inside the shared directory on the server. Where possible I then map the shared directory as a drive to the local machine such as X: - that is the directory below where the FE/BE resides. This simplifies matters as I can link the FE to X:\MyApp\SomeBE.MDB and then all the workstations can download the FE without having to relink before use. I build a batch file that I place in that same directory that simply does an MD to make the directory, then an XCopy to copy the FE down. The MD makes a directory on the local hard drive, perhaps C:\ClientAppName. If the directory already exists fine, otherwise it gets built. The XCopy then copies the FE into that dir and then calls Access to open the FE. Go around to each machine that will use the db. Map the X: (or whatever) to the shared server directory. Create a shortcut to the batch file on the server. Run the batch file (shortcut) one time to create the directory, download the app and my framework and run it. This just ensures that everything works. That's pretty much all there is to it. Of course in my case I also have my framework to distribute, so the batch file also copies C2DbFramework.MDA to the Windows directory. Doing things this way makes distribution of a new version dead simple. Upload a new framework or FE (or both) to the server. The next time the user clicks on the shortcut on their desktop they get the latest. Remember up above I mentioned my convenience as a developer? Now on my dev machine at home I do the same thing. I create a mapped drive D:\Dev and share it. I then create a directory named for each CLIENT'S application. Thus I have on my dev machine d:\Dev:\DISNew, D:\Dev\BPDB, D:\Dev\LDA etc etc. I map Dev as X:\ and I now have X:\DISNew, X:\BPDB, X:\LDA etc where DISNEW is an app for Disability Insurance, LDA is an app for Learning Disability association, BPDB is an app for Beacon Financial Group etc. In essence my X drive is a directory on my D: drive mapped out over my network and back in to the same machine (I could put it on my server if I wished of course). Each dir inside of X: belongs to a different client. Assuming that I get to use the X: drive mapping at each client, things just work. I can link the FE to the BE and ship it to the client without relinking. If I have to use a different drive letter on the client workstations then I have to also map that drive letter on my machine (perhaps Y:), although it is still mapping the D:\Dev directory on my development machine. So far only a single client has already used the X: drive mapping and forced me to move to another drive letter. I think it might be possible to do this same thing using the substitute command from DOS. Someone mentioned that awhile back. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 06, 2003 6:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user Hi John: What would be the best way to distribute an application that way? I have never used this way before but a set of circumstances seem to warrant this method. Any insight would be greatly appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 7:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user > I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. The FE is downloaded every morning when they click a hotlink to a batch file on their desktop. > I would try prefilling the select table with one record for each of the main records and doing an inner join. I tried that. There are problems starting with when to build the records? There are thousands of these records so I really only wanted to generate records for the specific records they wanted to print, which is why I am doing it this way to start with. >The only time then you'd delete a selected record is if the main record gets deleted. Yea, I really ran into this because I was going into the table and manually deleting the select records. It PROBABLY won't be something that ever crops up but it's a nasty one if it does. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Dettman Sent: Friday, September 05, 2003 7:26 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Couple of comments. << I create a table local to the FE with two fields:>> I would create the table in a temp MDB file unless the FE will be replaced on a regular basis. <> Access displays #Deleted when it can't figure out which matching record it can use. I believe you'll find that it's because your using the outer join. The same problem occurs with ODBC linked tables at times. I would try prefilling the select table with one record for each of the main records and doing an inner join. The only time then you'd delete a selected record is if the main record gets deleted. As for inserts into the selected table, you might want to handle those manually via code and keep the selected table's PK out of the underlying query. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 05, 2003 2:07 PM To: AccessD Subject: [AccessD] Record deleted by user I am trying to implement a "selected flag" system for a particular form. I create a table local to the FE with two fields: SelectedID Long Selected Boolean I modify the form's query to do an outer join between the pk of the original table and SelectedID. I add a check box to the form bound to the Selected field. Whenever the user clicks the check box a record is created in the new table, the SelectedID is set to the PK of the original table and the Selected field is set true. All fine so far. Printing works fine - filter on records with a join to this table and selected = true. The odd behavior comes if I delete the records in the new Selected table. If I build a query that displays the original table joined to the Selected table, when I delete any records in the Selected table, the fields in the query from the Selected table display the words "Deleted" and I can no longer enter any data in that field because I get a JET error "record deleted by user". I have to requery the query and then I can again create new records. This is an issue because the FORM's recordset works until I delete a record in the selected table, then the checkbox FOR THAT RECORD ceases to work for no apparent reason. The reason of course is this problem discussed above. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 earthlink.net Sun Sep 7 18:00:16 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 7 Sep 2003 19:00:16 -0400 Subject: [AccessD] Record Count From Group Header In-Reply-To: <00ef01c37575$815c2930$6801a8c0@HAL9002> Message-ID: Rocky, <> The only way to do this is with a two pass report. On the first pass, you place code in the Group Footers OnFormat event to capture and store the total. On the second pass, you can then access that info and place it anywhere on the page. To get a two pass report, you need to reference the pages property. This forces Access to run the report once to get the total number of pages, then a second time to print everything out. The general technique is covered in this MSKB article: ACC2: How to Reset "Page of Pages" Numbering for Report Groups http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/Q131/9/37.asp&NoWebContent=1 Instead of storing the page numbers, you'll be storing the totals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, September 07, 2003 3:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record Count From Group Header I think you're right about the sub-report. That would work. But I'm trying to avoid that and just get the number of records in the group header. The running sum control would work for counting the detail records in each group. But I've got to get the number of records in the group header. Maybe I'll try counting the On_Print events for group header. Thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Stephen Bond To: Access Developers discussion and problem solving Sent: Sunday, September 07, 2003 11:55 AM Subject: RE: [AccessD] Record Count From Group Header A way I know of to count the records in a Group is to put a hidden text box on the detail line. Name: txtCount ControlName: =1 RunningSum: Over Group Then the count per group (txtCount) is available in each group footer. The only way I found to put all the group counts into the *Report* footer is by using a subreport in the Report Footer which has a Totals query as its Recordsource. Stephen Bond -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, 8 September 2003 4:57 a.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Record Count From Group Header Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From serbach at new.rr.com Sun Sep 7 18:11:07 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sun, 7 Sep 2003 18:11:07 -0500 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> <3F57E024.5010500@shaw.ca> <004701c373a9$f338d080$2e02d018@W2k> <3F59111E.1070804@shaw.ca> Message-ID: <00b901c37595$e685ef60$6900d018@W2k> Marty, I went to my client's site on Friday and re-named the offending form and re-imported it (ezs_SmartSearch) from the Database Creations ezsearch.mdb. At first that seemed to fix the problem. With no modifications to the vanilla version of the SmartSearch form I could perform a search like I was supposed to under AXP. But then I put both modules -- for the modified Smart Search form that I'd fiddled with and the vanilla version -- side-by-side in the Visual Basic editor. I paged through all the code and examined the changes I'd made. Some of them were entirely innocuous, at least in my view: I'd split apart all of the Dim statements that had multiple variable definitions on one line; made the "Advanced" search button invisible; used a line continuation character in a long query string; split up a one-line IF statement into an IF-End If structure...piddly-ass stuff. But when I made some of these changes to the re-imported SmartSearch form, then I started to get problems again with that goofy object name. I'm stumped. My problem is exacerbated in that I have a Windows 2000/Access 2000 workstation at my office and a Windows XP-Home/Access XP workstation at the client's site. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From bchacc at san.rr.com Sun Sep 7 19:27:47 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 7 Sep 2003 17:27:47 -0700 Subject: [AccessD] Record Count From Group Header References: Message-ID: <018c01c375a0$0745fbf0$6801a8c0@HAL9002> Jim: Thank you. Now all I have to do is get the client to buy off on the time and $$ it will take to implement. :) Rocky ----- Original Message ----- From: Jim Dettman To: Access Developers discussion and problem solving Sent: Sunday, September 07, 2003 4:00 PM Subject: RE: [AccessD] Record Count From Group Header Rocky, <> The only way to do this is with a two pass report. On the first pass, you place code in the Group Footers OnFormat event to capture and store the total. On the second pass, you can then access that info and place it anywhere on the page. To get a two pass report, you need to reference the pages property. This forces Access to run the report once to get the total number of pages, then a second time to print everything out. The general technique is covered in this MSKB article: ACC2: How to Reset "Page of Pages" Numbering for Report Groups http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q131/9/37.asp&NoWebContent=1 Instead of storing the page numbers, you'll be storing the totals. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, September 07, 2003 3:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record Count From Group Header I think you're right about the sub-report. That would work. But I'm trying to avoid that and just get the number of records in the group header. The running sum control would work for counting the detail records in each group. But I've got to get the number of records in the group header. Maybe I'll try counting the On_Print events for group header. Thanks and regards, Rocky Smolin Beach Access Software ----- Original Message ----- From: Stephen Bond To: Access Developers discussion and problem solving Sent: Sunday, September 07, 2003 11:55 AM Subject: RE: [AccessD] Record Count From Group Header A way I know of to count the records in a Group is to put a hidden text box on the detail line. Name: txtCount ControlName: =1 RunningSum: Over Group Then the count per group (txtCount) is available in each group footer. The only way I found to put all the group counts into the *Report* footer is by using a subreport in the Report Footer which has a Totals query as its Recordsource. Stephen Bond -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, 8 September 2003 4:57 a.m. To: AccessD at databaseadvisors.com Subject: [AccessD] Record Count From Group Header Dear List: Is there a way to extract the record count from a group header and put it into a control in the report footer? =Me.Count gives me the count of the detail records. =[Count] gives me the count of detail records. [GroupHeader3].[Count] gives me #Name?. I believe I've seen this syntax generated by the wizard but can't duplicate it. MTIA, Rocky Smolin Beach Access Software -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Mon Sep 8 02:57:06 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 Sep 2003 00:57:06 -0700 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> <3F57E024.5010500@shaw.ca> <004701c373a9$f338d080$2e02d018@W2k> <3F59111E.1070804@shaw.ca> <00b901c37595$e685ef60$6900d018@W2k> Message-ID: <3F5C3652.3080302@shaw.ca> arghh. I thought you were talking about smart forms from http://www.aadconsulting.com/addins.html Smart Form+ Wizard SmartForm+ creates smart and lightweight Accessforms. You are talking about Database Creations formally Cary Prague So I haven't used it. but if you are fiddling with dimension statements like Dim a, b, c As String This initially sets a and b as variant and then type is set on intialization So watch what you are setting to. Sub test() Dim a, b, c As String Debug.Print TypeName(a) a = 1 Debug.Print TypeName(a) a = "dddd" Debug.Print TypeName(a) End Sub Steven W. Erbach wrote: >Marty, > >I went to my client's site on Friday and re-named the offending form and >re-imported it (ezs_SmartSearch) from the Database Creations ezsearch.mdb. > >At first that seemed to fix the problem. With no modifications to the >vanilla version of the SmartSearch form I could perform a search like I was >supposed to under AXP. But then I put both modules -- for the modified Smart >Search form that I'd fiddled with and the vanilla version -- side-by-side in >the Visual Basic editor. I paged through all the code and examined the >changes I'd made. Some of them were entirely innocuous, at least in my view: >I'd split apart all of the Dim statements that had multiple variable >definitions on one line; made the "Advanced" search button invisible; used a >line continuation character in a long query string; split up a one-line IF >statement into an IF-End If structure...piddly-ass stuff. But when I made >some of these changes to the re-imported SmartSearch form, then I started to >get problems again with that goofy object name. I'm stumped. > >My problem is exacerbated in that I have a Windows 2000/Access 2000 >workstation at my office and a Windows XP-Home/Access XP workstation at the >client's site. > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >If architects built buildings the way programmers built applications, the >first woodpecker to come along would cause the end of civilization. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From dkalsow at yahoo.com Mon Sep 8 06:23:26 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Mon, 8 Sep 2003 04:23:26 -0700 (PDT) Subject: [AccessD] TreeView Control Question Message-ID: <20030908112326.30639.qmail@web9806.mail.yahoo.com> I have just added a treeview control to my form. It appears to work all right but if I click on the entries, after the form is loaded, I can change what the contents of that branch say. When I reload the form again, the contents are back, so it is not writing out the changes out. Does any one know what I can set so the user can not rename/change the contents? thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From HollisVJ at pgdp.usec.com Mon Sep 8 06:52:24 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 08 Sep 2003 06:52:24 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC0A@cntexchange.pgdp.usec.com> Ok, the way they want it figured... They have a 5 day grace period before it is past due. So DateEntered is 8/27/03, they have until Wednesday 9/3 to review the project. Then they want it to start counting after the 5 day grace period (work days, not weekends). So the project will not be past due until Thursday, the 4th, then it is 1 day past due (1 day past the grace period). -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Friday, September 05, 2003 9:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Days Past Due - Grace Period > Thanks for the help. > > It is still counting the weekends. For a project that has a > DateEntered of 8/27/2003 - it shows 4 days past due. It should show > 1 day past due. This solution does not count weekends for me. Since it is Sep. 5 when you wrote this, the correct result if DateEntered was 8/27/2003 should probably be 7 days late (8/27/2003 is a Wednesday and today [9/5/2003] is a Friday). The number of week days late should be calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to accomplish something other than this then this is not the solution you should be using. Let me know if I am missing something here. Regards, Stephen > Va. > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 3:16 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell the > > function to look at the DateEntered as the BegDate? > > > > The table has a field DateEntered. The form has a text box with > > the ControlSource(="Review is " & [PastDue] & " days past due") > > PastDue comes from the query (PastDue: > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > 'Pending) the text box shows the number of days it is past due. > > In this case, here is a generalized approach. You want your text box > to contain a message indicating if the review is past due and, if > so, by how many days. Since it appears you want to dynamically set > the value of the text box message, you might do the following to set > your control text in the OnCurrent event of your form: > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > display past due notice here > Else > display not past due notice here > End If > > HTH, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Thursday, September 04, 2003 4:25 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > report? > > > > > > Va. > > > > The function work_days accepts two arguments, BegDate and > > EndDate, and returns the number of weekdays between them. In your > > case, you're interested in the number of weekdays between a due > > date and today and if it's higher than 5, you want to take some > > action. > > > > I have no idea what your form or report looks like but if you have > > the due date of a particular item where the status is Pending, you > > would pass that as the BegDate and pass Date() as the end date to > > the function. The value returned would be the number of workdays > > between these two dates and you could proceed accordingly. > > > > HTH, > > Stephen > > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 9:12 AM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > HTH, > > Stephen > > > > > > > > > *************** > > > > Used in the query to determine the number of days past due: > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > OnCurrent of the form: > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 Then > > > > 'Status is pending and review is 5 days past due. > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is red > > > > Me!LateDate.Visible = True ' Show the sad face > > > > Me.DaysPastDue.Visible = True 'Show past due label '-- > > > > Show number of days over 5 that the project review is > > > > late Me.DaysPastDue.Caption = (Date() - DateEntered) + > > > > 5 > > > > Else > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > past due, Date > > > > Entered is black > > > > Me!LateDate.Visible = False 'No sad face > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > End If > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at ntelos.net Mon Sep 8 07:30:03 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 8 Sep 2003 08:30:03 -0400 Subject: [AccessD] TreeView Control Question In-Reply-To: <20030908112326.30639.qmail@web9806.mail.yahoo.com> Message-ID: <000301c37604$f1a14290$1d310cd8@hargrove.internal> Set the LabelEdit property to tvwManual (1). Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, September 08, 2003 7:23 AM To: accessd at databaseadvisors.com Subject: [AccessD] TreeView Control Question I have just added a treeview control to my form. It appears to work all right but if I click on the entries, after the form is loaded, I can change what the contents of that branch say. When I reload the form again, the contents are back, so it is not writing out the changes out. Does any one know what I can set so the user can not rename/change the contents? thanks! Dale _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From serbach at new.rr.com Mon Sep 8 10:00:19 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 8 Sep 2003 10:00:19 -0500 Subject: [AccessD] Error 3011 References: <02dc01c3732e$28e0b210$2e02d018@W2k> <3F57E024.5010500@shaw.ca> <004701c373a9$f338d080$2e02d018@W2k> <3F59111E.1070804@shaw.ca> <00b901c37595$e685ef60$6900d018@W2k> <3F5C3652.3080302@shaw.ca> Message-ID: <003701c3761a$3d0bb2f0$6900d018@W2k> Marty, Thanks for staying with me on this one. As far as the Dim statements go, all of the multi-variable Dim statements are like this: Dim abc As String, bcd As String, cde As String All I did was put each variable on a separate line. I'm going to try again today with the generic ezs_SmartSearch form. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From delliker at hotmail.com Mon Sep 8 10:04:00 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 08 Sep 2003 11:04:00 -0400 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: SOOO! Then you admit it!...Or, otherwise phrased..."is it true you've stopped binding your forms??" from a (semi) reformed unbounder, _D >-----Original Message----- > >Oh, let's not start that up again! It doesn't use any Access forms at all! > >Drew > >-----Original Message----- > > >Because it uses unbound forms? >Jim Hale > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From delliker at hotmail.com Mon Sep 8 10:08:22 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 08 Sep 2003 11:08:22 -0400 Subject: [AccessD] Record deleted by user Message-ID: why not goto the record after (or before) the deleted record. Capture the position before the delete and save it in the (unmentionable) module level variable and use the docmd.gotorecord thingie. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Record deleted by user >Date: Fri, 5 Sep 2003 17:33:36 -0400 > >because the form goes back to the first record. :-( > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike and Doris >Manning >Sent: Friday, September 05, 2003 3:20 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Record deleted by user > > >So why not have the FORM requery itself after the delete check box code >finishes processing? > >Doris Manning >Database Administrator >Hargrove Inc. >www.hargroveinc.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby >Sent: Friday, September 05, 2003 2:07 PM >To: AccessD >Subject: [AccessD] Record deleted by user > > >I am trying to implement a "selected flag" system for a particular form. I >create a table local to the FE with two fields: > >SelectedID Long >Selected Boolean > >I modify the form's query to do an outer join between the pk of the >original >table and SelectedID. I add a check box to the form bound to the Selected >field. > >Whenever the user clicks the check box a record is created in the new >table, >the SelectedID is set to the PK of the original table and the Selected >field >is set true. All fine so far. Printing works fine - filter on records >with >a join to this table and selected = true. > >The odd behavior comes if I delete the records in the new Selected table. >If >I build a query that displays the original table joined to the Selected >table, when I delete any records in the Selected table, the fields in the >query from the Selected table display the words "Deleted" and I can no >longer enter any data in that field because I get a JET error "record >deleted by user". I have to requery the query and then I can again create >new records. > >This is an issue because the FORM's recordset works until I delete a record >in the selected table, then the checkbox FOR THAT RECORD ceases to work for >no apparent reason. The reason of course is this problem discussed above. > > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon From shait at mindspring.com Mon Sep 8 10:37:20 2003 From: shait at mindspring.com (Stephen Hait) Date: Mon, 8 Sep 2003 11:37:20 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC0A@cntexchange.pgdp.usec.com> Message-ID: <3F5C69F0.18232.99F3E93@localhost> > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 8 11:00:41 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 8 Sep 2003 11:00:41 -0500 Subject: [AccessD] Archive (was: Days Past Due - Grace Period) Message-ID: <2F8793082E00D4119A1700B0D0216BF802227191@main2.marlow.com> I almost never bind my forms. (It should be taken into account that I develop mostly in ASP and VB now, in both of those I never bind forms. If I develop something in Access, it is going to depend on the complexity of the form. If I think I'm in the clear with a bound form, I use one, but if I think I'm going to have to jump through hoops with the form's functionality, I will make it unbound from the start). Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Monday, September 08, 2003 10:04 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Archive (was: Days Past Due - Grace Period) SOOO! Then you admit it!...Or, otherwise phrased..."is it true you've stopped binding your forms??" from a (semi) reformed unbounder, _D >-----Original Message----- > >Oh, let's not start that up again! It doesn't use any Access forms at all! > >Drew > >-----Original Message----- > > >Because it uses unbound forms? >Jim Hale > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Mon Sep 8 11:03:52 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 08 Sep 2003 11:03:52 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC23@cntexchange.pgdp.usec.com> Maybe that is the problem - subtracting the 5 day grace period from the total number of work days it is past due. Where would that go? Drew sent me something that works. (see below). But I would like to know what I was doing wrong with your example? I don't think Drew would mind me posting his work - in case someone else is having the same problem. ********* from Drew*********** Function PastDue(dtEntered As Date) As Long Dim i As Long Dim tmpDate As Date tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 End Function -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Monday, September 08, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 8 11:23:38 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 8 Sep 2003 11:23:38 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF802227195@main2.marlow.com> Don't mind at all! ;) Quick question (I'm a perfectionist...), is there a field that determines if the record has been taken care of? My method does a 'count back', which will work fine even for records that are years PastDue (because your computer can count a few thousand in milliseconds...), but it would be smarter to wrap the loop in an If Then Else statement, (and include a second argument in the function), so if that second argument meets the criteria, the function just returns 0, otherwise it calculates with the loop. Make sense? Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Maybe that is the problem - subtracting the 5 day grace period from the total number of work days it is past due. Where would that go? Drew sent me something that works. (see below). But I would like to know what I was doing wrong with your example? I don't think Drew would mind me posting his work - in case someone else is having the same problem. ********* from Drew*********** Function PastDue(dtEntered As Date) As Long Dim i As Long Dim tmpDate As Date tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 End Function -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Monday, September 08, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Mon Sep 8 11:47:42 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 08 Sep 2003 11:47:42 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC29@cntexchange.pgdp.usec.com> Not exactely (make sense) but, the Status field determines if the past due message should show. The past due message shows if the project is Pending (status = 1) & over 5 days past due. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, September 08, 2003 11:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Don't mind at all! ;) Quick question (I'm a perfectionist...), is there a field that determines if the record has been taken care of? My method does a 'count back', which will work fine even for records that are years PastDue (because your computer can count a few thousand in milliseconds...), but it would be smarter to wrap the loop in an If Then Else statement, (and include a second argument in the function), so if that second argument meets the criteria, the function just returns 0, otherwise it calculates with the loop. Make sense? Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Maybe that is the problem - subtracting the 5 day grace period from the total number of work days it is past due. Where would that go? Drew sent me something that works. (see below). But I would like to know what I was doing wrong with your example? I don't think Drew would mind me posting his work - in case someone else is having the same problem. ********* from Drew*********** Function PastDue(dtEntered As Date) As Long Dim i As Long Dim tmpDate As Date tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 End Function -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Monday, September 08, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From backroad at idir.net Mon Sep 8 12:11:08 2003 From: backroad at idir.net (Backroads Data) Date: Mon, 8 Sep 2003 12:11:08 -0500 Subject: [AccessD] Using MailTo: hyperlink in form; need carriage returns in body text References: Message-ID: <002e01c3762c$32d31a00$6501a8c0@Julie> Hi Bob, Thanks very much for your reply and suggestion. About the same time I read your reply, I heard from someone else (not on this list) that: "if you use the characters %0A (percent-zero-A) that the linefeed will be embedded in your message. (This is the hex equivalent as chr$(13) except that it has been URL-encoded to work with HTTP.)" I'll be testing both approaches this afternoon. Thanks again! Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: "Geldart, Robert" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 04, 2003 1:44 PM Subject: RE: [AccessD] Using MailTo: hyperlink in form; need carriage returns in body text > Julie, > > Codes within html codes can be problematic. My html reference says to try > something like: > &#n; - where n is the base-10 number of the character. > > So something like > (for cr) > (for lf) > > I think you can string them together: > > > Hope this helps, > Bob Geldart > Economic Research Department > Massachusetts Department of Employment & Training > > > -----Original Message----- > From: Backroads Data [mailto:backroad at idir.net] > Sent: Thursday, September 04, 2003 2:01 PM > To: AccessD > Subject: [AccessD] Using MailTo: hyperlink in form; need carriage returns in > body text > > > Hello group, > > Using Mailto: protocol in a hyperlink, I'm including the email address, > subject line, and body text. Is there a way to include carriage returns in > the text? Here's the situation: > > There's a textbox on a form that contains 4 lines of text; this text block > is built through code and uses the vbNewLine variable after each line. The > contents of the textbox look like this on the form: > > Name: John Doe > Business: Backroads Farrier Service > Shortterm Code: 7083-603-718-5836 > Request Code: F003-B863-A003 > > After the textbox contents are built, it sets the hyperlink property of a > command button on the form, like this (watch word wrap): > > Me!btnEmail.HyperlinkAddress = > "mailto:info at backroadsdata.coml?subject=Lifetime License Request&body=" & > Me!txtRequest > > When the button is clicked, an email is created, and the message body > section contains the text from the form, but it looks like this: > > Name: John DoeBusiness: Backroads Farrier ServiceShortterm > Code: 7083-603-718-5836Request Code: F003-B863-A003 > > Is there anyway to embed something the email will recognize as a carriage > return, so that it appears in the message on 4 distinct lines? (I've tried > Chr(13) & Chr(10) as well as vbNewLine when building the textbox.) Thanks! > > Best Regards, > > Julie Schwalm > Backroads Data > www.backroadsdata.com > 785-594-6807 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 8 13:08:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 8 Sep 2003 13:08:07 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF802227199@main2.marlow.com> I am sending you a new copy of the db you sent me. The module has been changed to this: Function PastDue(dtEntered As Date, strStatus) As Long Dim i As Long Dim tmpDate As Date If strStatus = "Pending" Then tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 Else PastDue = 0 End If End Function (I left the strStatus argument as a variant, in case it is ever passed a null) I also changed the query the form is bound too (to accept the changes to the function), and I changed your form. What I changed in the form, is instead of doing a double compare to determine if the label should be displayed or not, I just have it checking if Me.PastDue>0. (Since the new function takes the Status Field into account) Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Not exactely (make sense) but, the Status field determines if the past due message should show. The past due message shows if the project is Pending (status = 1) & over 5 days past due. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, September 08, 2003 11:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Don't mind at all! ;) Quick question (I'm a perfectionist...), is there a field that determines if the record has been taken care of? My method does a 'count back', which will work fine even for records that are years PastDue (because your computer can count a few thousand in milliseconds...), but it would be smarter to wrap the loop in an If Then Else statement, (and include a second argument in the function), so if that second argument meets the criteria, the function just returns 0, otherwise it calculates with the loop. Make sense? Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Maybe that is the problem - subtracting the 5 day grace period from the total number of work days it is past due. Where would that go? Drew sent me something that works. (see below). But I would like to know what I was doing wrong with your example? I don't think Drew would mind me posting his work - in case someone else is having the same problem. ********* from Drew*********** Function PastDue(dtEntered As Date) As Long Dim i As Long Dim tmpDate As Date tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 End Function -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Monday, September 08, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mastercafe at ctv.es Mon Sep 8 13:16:06 2003 From: mastercafe at ctv.es (MastercafeCTV) Date: Mon, 8 Sep 2003 20:16:06 +0200 Subject: [AccessD] SHIFT + F9 In-Reply-To: <000e01c36ef5$31e0e110$0100a8c0@kost36> Message-ID: <03ac01c37635$45864ec0$69fa2250@servercafe> There are some variations depend of the use you can select with Me.Refresh Me.recalc Me.Requery Or simply >>> SendKeys "+{F9}", True We use the last for refresh all in a form. =========================================== MASTERCAFE SL - NIF B-82.617.614 www.mastercafe.com Deleg. Asturias Tel 985.88.49.44 / 627.531.764 Fax 627.500.205 info at mastercafe.com juan at mastercafe.com Deleg. Madrid Tel 627.474.285 cecilia at mastercafe.com =========================================== -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: s?bado, 30 de agosto de 2003 14:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] SHIFT + F9 Hi Gustav, what I want is to refresh an ole object into a form. I tried all the methods I know but none of them seems to be able to update the object. So I put the DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70 I don;t know if that is the right method but... it works perfect Thank's for your responce Kostas ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Saturday, August 30, 2003 3:30 PM Subject: Re: [AccessD] SHIFT + F9 > Hi Kostas > > How about: > > Me.Requery > > /gustav > > > Could anybody help me in how to set the SHIFT + F9 in code > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Mon Sep 8 13:20:31 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 08 Sep 2003 13:20:31 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC35@cntexchange.pgdp.usec.com> Thank you! It works perfectly. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, September 08, 2003 1:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period I am sending you a new copy of the db you sent me. The module has been changed to this: Function PastDue(dtEntered As Date, strStatus) As Long Dim i As Long Dim tmpDate As Date If strStatus = "Pending" Then tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 Else PastDue = 0 End If End Function (I left the strStatus argument as a variant, in case it is ever passed a null) I also changed the query the form is bound too (to accept the changes to the function), and I changed your form. What I changed in the form, is instead of doing a double compare to determine if the label should be displayed or not, I just have it checking if Me.PastDue>0. (Since the new function takes the Status Field into account) Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Not exactely (make sense) but, the Status field determines if the past due message should show. The past due message shows if the project is Pending (status = 1) & over 5 days past due. -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, September 08, 2003 11:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Don't mind at all! ;) Quick question (I'm a perfectionist...), is there a field that determines if the record has been taken care of? My method does a 'count back', which will work fine even for records that are years PastDue (because your computer can count a few thousand in milliseconds...), but it would be smarter to wrap the loop in an If Then Else statement, (and include a second argument in the function), so if that second argument meets the criteria, the function just returns 0, otherwise it calculates with the loop. Make sense? Drew -----Original Message----- From: Hollis,Virginia [mailto:HollisVJ at pgdp.usec.com] Sent: Monday, September 08, 2003 11:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period Maybe that is the problem - subtracting the 5 day grace period from the total number of work days it is past due. Where would that go? Drew sent me something that works. (see below). But I would like to know what I was doing wrong with your example? I don't think Drew would mind me posting his work - in case someone else is having the same problem. ********* from Drew*********** Function PastDue(dtEntered As Date) As Long Dim i As Long Dim tmpDate As Date tmpDate = Date i = 0 Do Until tmpDate <= dtEntered tmpDate = tmpDate - 1 If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + 1 Loop PastDue = i - 5 End Function -----Original Message----- From: Stephen Hait [mailto:shait at mindspring.com] Sent: Monday, September 08, 2003 10:37 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Days Past Due - Grace Period > Ok, the way they want it figured... > > They have a 5 day grace period before it is past due. So DateEntered > is 8/27/03, they have until Wednesday 9/3 to review the project. > Then they want it to start counting after the 5 day grace period > (work days, not weekends). So the project will not be past due until > Thursday, the 4th, then it is 1 day past due (1 day past the grace > period). I'm not sure what the problem you're having is. The code I posted (see below) returns the number of week days between two dates. In your case the two dates are dateEntered from your table and todays date. When these dates are 8/27/03 and 9/4/03 the number of weekdays returned is 6. In the example I provided, 6 weekdays is greater than your 5 day grace period so the test would result in the overdue message being displayed. If you want to also include in your overdue message the number of days overdue, you would simply subtract 5 (your grace period) from the number of weekdays (6) which results in 1 day overdue which is what you have just described. If this is still confusing, please describe what you are confused by. Regards, Stephen > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Friday, September 05, 2003 9:17 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > Thanks for the help. > > > > It is still counting the weekends. For a project that has a > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > show 1 day past due. > > This solution does not count weekends for me. Since it is Sep. 5 > when you wrote this, the correct result if DateEntered was 8/27/2003 > should probably be 7 days late (8/27/2003 is a Wednesday and today > [9/5/2003] is a Friday). The number of week days late should be > calculated based on the week days 8/28, 8/29, 9/1, 9/2, 9/3, 9/4, > 9/5 which is 7 week days after Wed., 8/27/2003. If you are trying to > accomplish something other than this then this is not the solution > you should be using. > > Let me know if I am missing something here. > > Regards, > Stephen > > > Va. > > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 3:16 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > the function to look at the DateEntered as the BegDate? > > > > > > The table has a field DateEntered. The form has a text box with > > > the ControlSource(="Review is " & [PastDue] & " days past due") > > > PastDue comes from the query (PastDue: > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > 'Pending) the text box shows the number of days it is past due. > > > > In this case, here is a generalized approach. You want your text > > box to contain a message indicating if the review is past due and, > > if so, by how many days. Since it appears you want to dynamically > > set the value of the text box message, you might do the following > > to set your control text in the OnCurrent event of your form: > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > display past due notice here > > Else > > display not past due notice here > > End If > > > > HTH, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Thursday, September 04, 2003 4:25 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > report? > > > > > > > > Va. > > > > > > The function work_days accepts two arguments, BegDate and > > > EndDate, and returns the number of weekdays between them. In > > > your case, you're interested in the number of weekdays between a > > > due date and today and if it's higher than 5, you want to take > > > some action. > > > > > > I have no idea what your form or report looks like but if you > > > have the due date of a particular item where the status is > > > Pending, you would pass that as the BegDate and pass Date() as > > > the end date to the function. The value returned would be the > > > number of workdays between these two dates and you could proceed > > > accordingly. > > > > > > HTH, > > > Stephen > > > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > To: accessd at databaseadvisors.com > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > HTH, > > > Stephen > > > > > > > > > > > > *************** > > > > > Used in the query to determine the number of days past due: > > > > > PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > OnCurrent of the form: > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > Then 'Status is pending and review is 5 days past due. > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > '-- Show number of days over 5 that the project > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > DateEntered) + 5 > > > > > Else > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > past due, Date > > > > > Entered is black > > > > > Me!LateDate.Visible = False 'No sad face > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > End If > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at mindspring.com Mon Sep 8 13:50:10 2003 From: shait at mindspring.com (Stephen Hait) Date: Mon, 8 Sep 2003 14:50:10 -0400 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFC23@cntexchange.pgdp.usec.com> Message-ID: <3F5C9722.8432.A4FC84D@localhost> > Maybe that is the problem - subtracting the 5 day grace period from > the total number of work days it is past due. Where would that go? > Drew sent me something that works. (see below). But I would like to > know what I was doing wrong with your example? The main difference between Drew's function (which you include below) and the approach I provided looks to be as follows: Drew's approach uses a function to calculate the number of days past due. That is, the logic of what constitues past due is hard coded in the function. If there are more than 5 weekdays between the two dates then the value of the returned variable, PastDue, would be a positive number. If there are fewer than 5 weekdays between the two dates then the the value of the variable would be zero or a negative number. So the logic of determining whether the project is past due is contained in the function and the result of the function (the number stored in PastDue) would then determine what you would do as a result. Advantage - you have the number of days past due immediately when the function returns the variable PastDue. Disadvantage - could not easily reuse the function for other situations requiring calculating the number of weekdays between two dates. My approach uses a function (from Dev Ashish's website and included immediately below for reference) that simply calculates the number of week days between any two dates. The logic of determining what constitutes past due is handled by the code that calls the function (rather than the function itself) but the result of the function would determine what you would do as a result similar to Drew's approach. Advantage - you could reuse the function for other situations requiring calculating the number of weekdays between two dates. Disadvantage - you do not immediately have the number of days past due when the function returns the variable PastDue. Using either approach, though, would still require your code referencing the function to analyze the value returned from the function to determining whether to treat this situation as one being past due or not past due. ****** from Stephen ******** Function Work_Days(BegDate As Variant, EndDate As Variant) As Integer ' Note that this function does not account for holidays. Dim WholeWeeks As Variant Dim DateCnt As Variant Dim EndDays As Integer BegDate = DateValue(BegDate) EndDate = DateValue(EndDate) WholeWeeks = DateDiff("w", BegDate, EndDate) DateCnt = DateAdd("ww", WholeWeeks, BegDate) EndDays = 0 Do While DateCnt < EndDate If Format(DateCnt, "ddd") <> "Sun" And _ Format(DateCnt, "ddd") <> "Sat" Then EndDays = EndDays + 1 End If DateCnt = DateAdd("d", 1, DateCnt) Loop Work_Days = WholeWeeks * 5 + EndDays End Function ***** end from Stephen ****** HTH, Stephen > I don't think Drew would mind me posting his work - in case someone > else is having the same problem. > > ********* from Drew*********** > Function PastDue(dtEntered As Date) As Long > Dim i As Long > Dim tmpDate As Date > tmpDate = Date > i = 0 > Do Until tmpDate <= dtEntered > tmpDate = tmpDate - 1 > If WeekDay(tmpDate) <> 1 And WeekDay(tmpDate) <> 7 Then i = i + > 1 > Loop > PastDue = i - 5 > End Function > > -----Original Message----- > From: Stephen Hait [mailto:shait at mindspring.com] > Sent: Monday, September 08, 2003 10:37 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > Ok, the way they want it figured... > > > > They have a 5 day grace period before it is past due. So > > DateEntered is 8/27/03, they have until Wednesday 9/3 to review > > the project. Then they want it to start counting after the 5 day > > grace period (work days, not weekends). So the project will not be > > past due until Thursday, the 4th, then it is 1 day past due (1 day > > past the grace period). > > I'm not sure what the problem you're having is. The code I posted > (see below) returns the number of week days between two dates. In > your case the two dates are dateEntered from your table and todays > date. When these dates are 8/27/03 and 9/4/03 the number of weekdays > returned is 6. In the example I provided, 6 weekdays is greater than > your 5 day grace period so the test would result in the overdue > message being displayed. If you want to also include in your overdue > message the number of days overdue, you would simply subtract 5 > (your grace period) from the number of weekdays (6) which results in > 1 day overdue which is what you have just described. > > If this is still confusing, please describe what you are confused > by. > > Regards, > Stephen > > > -----Original Message----- > > From: Stephen Hait [mailto:shait at mindspring.com] > > Sent: Friday, September 05, 2003 9:17 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > Thanks for the help. > > > > > > It is still counting the weekends. For a project that has a > > > DateEntered of 8/27/2003 - it shows 4 days past due. It should > > > show 1 day past due. > > > > This solution does not count weekends for me. Since it is Sep. 5 > > when you wrote this, the correct result if DateEntered was > > 8/27/2003 should probably be 7 days late (8/27/2003 is a Wednesday > > and today [9/5/2003] is a Friday). The number of week days late > > should be calculated based on the week days 8/28, 8/29, 9/1, 9/2, > > 9/3, 9/4, 9/5 which is 7 week days after Wed., 8/27/2003. If you > > are trying to accomplish something other than this then this is > > not the solution you should be using. > > > > Let me know if I am missing something here. > > > > Regards, > > Stephen > > > > > Va. > > > > > > -----Original Message----- > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > Sent: Friday, September 05, 2003 3:16 PM > > > To: accessd at databaseadvisors.com > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > I am not sure what you mean by 'pass' the dates. How do I tell > > > > the function to look at the DateEntered as the BegDate? > > > > > > > > The table has a field DateEntered. The form has a text box > > > > with the ControlSource(="Review is " & [PastDue] & " days past > > > > due") PastDue comes from the query (PastDue: > > > > DateDiff("d",[DateEntered],Now())-5) Then OnCurrent of the > > > > form,(If DateEntered <= DateAdd("d", -5, Date) And StatusID = > > > > 1 'Pending) the text box shows the number of days it is past > > > > due. > > > > > > In this case, here is a generalized approach. You want your text > > > box to contain a message indicating if the review is past due > > > and, if so, by how many days. Since it appears you want to > > > dynamically set the value of the text box message, you might do > > > the following to set your control text in the OnCurrent event of > > > your form: > > > > > > If StatusID = 1 and WorkDays([DateEntered],Date()) > 5 Then > > > display past due notice here > > > Else > > > display not past due notice here > > > End If > > > > > > HTH, > > > Stephen > > > > > > > Va. > > > > > > > > -----Original Message----- > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > Sent: Thursday, September 04, 2003 4:25 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > > > > > > > What do I have to do to make this work from the form &/or > > > > > report? > > > > > > > > > > Va. > > > > > > > > The function work_days accepts two arguments, BegDate and > > > > EndDate, and returns the number of weekdays between them. In > > > > your case, you're interested in the number of weekdays between > > > > a due date and today and if it's higher than 5, you want to > > > > take some action. > > > > > > > > I have no idea what your form or report looks like but if you > > > > have the due date of a particular item where the status is > > > > Pending, you would pass that as the BegDate and pass Date() as > > > > the end date to the function. The value returned would be the > > > > number of workdays between these two dates and you could > > > > proceed accordingly. > > > > > > > > HTH, > > > > Stephen > > > > > > > > > > > > > -----Original Message----- > > > > > From: Stephen Hait [mailto:shait at mindspring.com] > > > > > Sent: Thursday, September 04, 2003 9:12 AM > > > > > To: accessd at databaseadvisors.com > > > > > Subject: RE: [AccessD] Days Past Due - Grace Period > > > > > > > > > > > > > > > Here's a function to calculate number of weekdays between 2 > > > > > dates: http://www.mvps.org/access/datetime/date0006.htm > > > > > > > > > > HTH, > > > > Stephen > > > > > > > > > > > > > > > *************** > > > > > > Used in the query to determine the number of days past > > > > > > due: PastDue: DateDiff("d",[DateEntered],Now()) > > > > > > > > > > > > OnCurrent of the form: > > > > > > If DateEntered <= DateAdd("d", -5, Date) And StatusID = 1 > > > > > > Then 'Status is pending and review is 5 days past due. > > > > > > Me!DateEntered.ForeColor = lngRed 'Date entered is > > > > > > red Me!LateDate.Visible = True ' Show the sad face > > > > > > Me.DaysPastDue.Visible = True 'Show past due label > > > > > > '-- Show number of days over 5 that the project > > > > > > review is late Me.DaysPastDue.Caption = (Date() - > > > > > > DateEntered) + 5 > > > > > > Else > > > > > > Me!DateEntered.ForeColor = lngBlack 'Review is not > > > > > > past due, Date > > > > > > Entered is black > > > > > > Me!LateDate.Visible = False 'No sad face > > > > > > Me.DaysPastDue.Visible = False 'No past due label. > > > > > > End If > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ebarro at afsweb.com Mon Sep 8 18:27:35 2003 From: ebarro at afsweb.com (Eric Barro) Date: Mon, 8 Sep 2003 16:27:35 -0700 Subject: [AccessD] Ad-hoc query tool In-Reply-To: <3F5C9722.8432.A4FC84D@localhost> Message-ID: Access gurus... Does anyone have code that does the following? Allow a user to select fields from a GUI to create a SQL statement that can be saved as a query that the user can select from a pick list to run the query? Kinda like a simple report builder. --- Eric Barro Senior Systems Analyst Advanced Field Services (208) 772-7060 http://www.afsweb.com --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 From wdhindman at bellsouth.net Mon Sep 8 21:48:07 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 8 Sep 2003 22:48:07 -0400 Subject: [AccessD] Ad-hoc query tool References: Message-ID: <009301c3767c$cc9c6650$6001a8c0@dejpolsys> ...I use derivatives of both Steve Nyberg's form/report filters at http://www.mile50.com/ and Dev's FindRecord at http://www.mvps.org/access/forms/frm0045.htm ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Eric Barro" To: "Access Developers discussion and problem solving" Sent: Monday, September 08, 2003 7:27 PM Subject: [AccessD] Ad-hoc query tool > Access gurus... > > Does anyone have code that does the following? > > Allow a user to select fields from a GUI to create a SQL statement that can be saved as a query that the user can select from a pick list to run the query? Kinda like a simple report builder. > > --- > Eric Barro > Senior Systems Analyst > Advanced Field Services > (208) 772-7060 > http://www.afsweb.com > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Sep 9 03:24:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 9 Sep 2003 10:24:29 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227199@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF802227199@main2.marlow.com> Message-ID: <355600563.20030909102429@cactus.dk> Hi Drew > .. I left the strStatus argument as a variant, in case it is ever > passed a null Then you should have renamed it varStatus ... /gustav From gustav at cactus.dk Tue Sep 9 03:39:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 9 Sep 2003 10:39:45 +0200 Subject: [AccessD] Ad-hoc query tool In-Reply-To: References: Message-ID: <796516159.20030909103945@cactus.dk> Hi Eric Not quite sure what you're after, but Anthony D'Ambra has an SQL builder: http://www.aadconsulting.com/ezysql.html /gustav > Does anyone have code that does the following? > Allow a user to select fields from a GUI to create a SQL statement > that can be saved as a query that the user can select from a pick > list to run the query? Kinda like a simple report builder. From Mark.Mitsules at ngc.com Tue Sep 9 10:12:53 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 9 Sep 2003 11:12:53 -0400 Subject: [AccessD] Ping Message-ID: Ping... Mark No Archive From jcolby at colbyconsulting.com Tue Sep 9 10:24:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 9 Sep 2003 11:24:28 -0400 Subject: [AccessD] Ping In-Reply-To: Message-ID: Pong. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Tuesday, September 09, 2003 11:13 AM To: '[AccessD]' Subject: [AccessD] Ping Ping... Mark No Archive _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Sep 9 10:52:07 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 9 Sep 2003 10:52:07 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C917@TAPPEEXCH01> What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From backroad at idir.net Tue Sep 9 10:59:03 2003 From: backroad at idir.net (Backroads Data) Date: Tue, 9 Sep 2003 10:59:03 -0500 Subject: [AccessD] Automation between 2 applications Message-ID: <003501c376eb$4b21bc00$6501a8c0@Julie> Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Tue Sep 9 10:55:10 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 9 Sep 2003 16:55:10 +0100 Subject: [AccessD] Ping Message-ID: <20030909155506.566BB24D41E@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From john at winhaven.net Tue Sep 9 11:18:46 2003 From: john at winhaven.net (John Bartow) Date: Tue, 9 Sep 2003 11:18:46 -0500 Subject: [AccessD] Ping In-Reply-To: Message-ID: Net Serve! ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark > Sent: Tuesday, September 09, 2003 10:13 AM > To: '[AccessD]' > Subject: [AccessD] Ping > > > Ping... > > > Mark > No Archive > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From my.lists at verizon.net Tue Sep 9 11:32:46 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 09 Sep 2003 09:32:46 -0700 Subject: [AccessD] Ping In-Reply-To: <657FB70438B7D311AF320090279C180105307C88@EXCHMAIL> References: <657FB70438B7D311AF320090279C180105307C88@EXCHMAIL> Message-ID: <3F5E00AE.40104@verizon.net> NO ARCHIVE Andy Lacey wrote: > Can anyone play? > > -- > Andy Lacey > http://www.minstersystems.co.uk > --------- Original Message -------- > Pong. > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark > Ping... we are playing... aren't we? -- -Francisco Leela: "Great. We're two days from earth with no food." Bender: "Problem solved. You two fight to the death and I'll cook the From doug at murphyscreativity.com Tue Sep 9 11:33:58 2003 From: doug at murphyscreativity.com (Doug Murphy) Date: Tue, 9 Sep 2003 09:33:58 -0700 Subject: [AccessD] Access 2000 Pass-Through Query Reports In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C917@TAPPEEXCH01> Message-ID: <002401c376f0$2e1591e0$8500a8c0@CX615377a> Just saw this on a Microsoft e-mail. It looks like they are starting the free upgrade if you buy OfficeXP now. Look at http://www.microsoft.com/office/preview/techguarantee.asp Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Mitsules at ngc.com Tue Sep 9 11:35:07 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Tue, 9 Sep 2003 12:35:07 -0400 Subject: [AccessD] Ping Message-ID: "Ping" has an entirely different connotation in my world:) ...I work in Submarine Engineering Electrical Design. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, September 09, 2003 12:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Ping Net Serve! ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, > Mark > Sent: Tuesday, September 09, 2003 10:13 AM > To: '[AccessD]' > Subject: [AccessD] Ping > > > Ping... > > > Mark > No Archive > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 mail.sprint.com Tue Sep 9 11:34:18 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 9 Sep 2003 11:34:18 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03EB1E20@PKDWB01C.ad.sprint.com> Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services From prodevmg at yahoo.com Tue Sep 9 11:41:29 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 9 Sep 2003 09:41:29 -0700 (PDT) Subject: [AccessD] Access 2000 Pass-Through Query Reports In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C917@TAPPEEXCH01> Message-ID: <20030909164129.44688.qmail@web20421.mail.yahoo.com> You could use "Query Def" to modify the SQL of the Pass Thru at run time. Brett Barabash wrote:What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Sep 9 14:55:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Sep 2003 12:55:20 -0700 Subject: [AccessD] Access 2000 Pass-Through Query Reports In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C917@TAPPEEXCH01> Message-ID: My fave way to do this is to use a static function that sets/gets the parm of interest. (God I must sound like a very squeaky wheel on this subject :-) Assuming a get/set func that sets and gets a parm of interest, your code reduces to: EXEC "mySproc " & MyStaticValue() Here is the template for my static funcs: Static Function CurrentX(Optional lngNew As Long) As Long 'Copy this template each time you need a new set/get function 'Then Replace "X" with the name of your object, i.e.,"Employee" 'Replace all in current proc and you're done. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 8:52 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------- ------------------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From KSEABOLT at parkcenter.org Tue Sep 9 12:00:23 2003 From: KSEABOLT at parkcenter.org (KSEABOLT at parkcenter.org) Date: Tue, 9 Sep 2003 12:00:23 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: We have a number of forms and reports that use passthru and require modifying SQL first. Unless I have missed something basic, this method is not all that efficient and is tough to maintain if you have multi-user requirements. In addition, the frequent mods to the query def seem to bloat the databases quickly. Somebody is probably gonna mop the floor with me for this, but here's what we have been doing when we have such a report or form. It might make sense for you. It might not. Anyway, how you do this would depend upon your security model. First, you create a table that has a key column that uniquely identifies the user - we use the value returned by suser_sname on the SQL Server side and use a WinAPI function to get the name on the Access side. I believe you can also use the client machine name or IP address. Construct the table with additional columns to hold your parameter values, as well. Then, you can create a stored proc that reads the parameters from this SQL table (using the user name in your WHERE clause) and then calls the desired stored procedure with those parameters. To run the report you would a) remove any existing record for the user in the parameter table b) insert a new record with the username and the desired parameter values c) run the report Note that with this method, the user can only have one 'parameter' record in the table at a time. I confess this is kludgy and works best if done up front and not as an afterthought. It does work well for us, though. Also, I am kinda in a rush, so if this needs clarification, please let me know. - Ken Brett Barabash Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 10:52 AM Please respond to Access Developers discussion and problem solving To: "'accessd at databaseadvisors.com'" cc: Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From KSEABOLT at parkcenter.org Tue Sep 9 12:01:43 2003 From: KSEABOLT at parkcenter.org (KSEABOLT at parkcenter.org) Date: Tue, 9 Sep 2003 12:01:43 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: Wow, this seems FAR easier than what I described. I'm gonna check into this further! "Arthur Fuller" Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 02:55 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports My fave way to do this is to use a static function that sets/gets the parm of interest. (God I must sound like a very squeaky wheel on this subject :-) Assuming a get/set func that sets and gets a parm of interest, your code reduces to: EXEC "mySproc " & MyStaticValue() Here is the template for my static funcs: Static Function CurrentX(Optional lngNew As Long) As Long 'Copy this template each time you need a new set/get function 'Then Replace "X" with the name of your object, i.e.,"Employee" 'Replace all in current proc and you're done. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 8:52 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Sep 9 12:06:06 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 9 Sep 2003 13:06:06 -0400 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie> Message-ID: <002b01c376f4$aa89a0f0$6001a8c0@dejpolsys> Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From KSEABOLT at parkcenter.org Tue Sep 9 12:25:25 2003 From: KSEABOLT at parkcenter.org (KSEABOLT at parkcenter.org) Date: Tue, 9 Sep 2003 12:25:25 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: OK. What am I doing wrong? When I try to set the passthru SQL this way I get an error. "Incorrect syntax near '&'. (#170) Seems like that's why we abandoned this approach before - because all we could get to work in passthru was a literal string containing syntactically correct T-SQL. Is there a setting I can toggle somewhere or some other syntax I can try? Thanks. - Ken "Arthur Fuller" Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 02:55 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports My fave way to do this is to use a static function that sets/gets the parm of interest. (God I must sound like a very squeaky wheel on this subject :-) Assuming a get/set func that sets and gets a parm of interest, your code reduces to: EXEC "mySproc " & MyStaticValue() Here is the template for my static funcs: Static Function CurrentX(Optional lngNew As Long) As Long 'Copy this template each time you need a new set/get function 'Then Replace "X" with the name of your object, i.e.,"Employee" 'Replace all in current proc and you're done. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 8:52 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From scapistrant at symphonyinfo.com Tue Sep 9 12:28:04 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 9 Sep 2003 12:28:04 -0500 Subject: [AccessD] Need help with Eval() function In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BF03EB1E20@PKDWB01C.ad.sprint.com> Message-ID: I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Tue Sep 9 12:59:43 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 9 Sep 2003 12:59:43 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03EB1F44@PKDWB01C.ad.sprint.com> Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at charter.net Tue Sep 9 13:25:32 2003 From: chizotz at charter.net (Ron Allen) Date: Tue, 09 Sep 2003 14:25:32 -0400 Subject: [AccessD] Ping -- OT In-Reply-To: Message-ID: "Once again we play our dangerous game against our old adversaries" ping... BOOM! :) (and it isn't even Friday) On Tue, 9 Sep 2003 12:35:07 -0400 "Mitsules, Mark" wrote: >"Ping" has an entirely different connotation in my >world:) ...I work in >Submarine Engineering Electrical Design. > > > >Mark From backroad at idir.net Tue Sep 9 13:29:58 2003 From: backroad at idir.net (Backroads Data) Date: Tue, 9 Sep 2003 13:29:58 -0500 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie> <002b01c376f4$aa89a0f0$6001a8c0@dejpolsys> Message-ID: <00a801c37700$66d5aa50$6501a8c0@Julie> William - This looks awesome - thanks so much! I'll begin working with it this afternoon. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 12:06 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From backroad at idir.net Tue Sep 9 13:51:15 2003 From: backroad at idir.net (Backroads Data) Date: Tue, 9 Sep 2003 13:51:15 -0500 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie> <002b01c376f4$aa89a0f0$6001a8c0@dejpolsys> Message-ID: <00c001c37703$778ea470$6501a8c0@Julie> William - Quick question - you said: "...works like a charm in all versions ...HTH :))))" Does that apply to Windows versions as well? This is an Access97 runtime application (installed with Sagekey scripts), that is running on everything from Windows95 up. Thanks. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 12:06 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Tue Sep 9 15:20:10 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Sep 2003 16:20:10 -0400 Subject: [AccessD] Ping -- OT In-Reply-To: Message-ID: Ron, I love that movie. Watched it many a time... Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Ron Allen Sent: Tuesday, September 09, 2003 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ping -- OT "Once again we play our dangerous game against our old adversaries" ping... BOOM! :) (and it isn't even Friday) On Tue, 9 Sep 2003 12:35:07 -0400 "Mitsules, Mark" wrote: >"Ping" has an entirely different connotation in my >world:) ...I work in >Submarine Engineering Electrical Design. > > > >Mark _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Sep 9 15:21:38 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Sep 2003 16:21:38 -0400 Subject: [AccessD] Ping In-Reply-To: Message-ID: That's what referred to as a bad game of table tennis. You don't want to get caught saying that in China. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 09, 2003 11:24 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Ping Pong. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark Sent: Tuesday, September 09, 2003 11:13 AM To: '[AccessD]' Subject: [AccessD] Ping Ping... Mark No Archive _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Tue Sep 9 15:28:22 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 9 Sep 2003 15:28:22 -0500 Subject: [AccessD] Need help with Eval() function In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BF03EB1F44@PKDWB01C.ad.sprint.com> Message-ID: I don't know the answer. I've only used it for functions, especially when calling functions whose names are stored on a table. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 9 18:32:21 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Sep 2003 16:32:21 -0700 Subject: [AccessD] Access 2000 Pass-Through Query Reports In-Reply-To: Message-ID: Let me know if you have problems, I will help you solve them.Glad to help. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of KSEABOLT at parkcenter.org Sent: Tuesday, September 09, 2003 10:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports Wow, this seems FAR easier than what I described. I'm gonna check into this further! --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Sep 9 15:36:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Sep 2003 13:36:18 -0700 Subject: [AccessD] Need help with Eval() function Message-ID: Eval doesn't know what to do with a string unless it contains a function name, or a control reference, or a calculation like your literal value. If you pass it something like CalcFormula, it interprets that as a literal. Try Eval(tblVolume.CalcFormula) and see if that works. I can't guarantee it will because Eval is a fairly stupid function. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 12:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I don't know the answer. I've only used it for functions, especially when calling functions whose names are stored on a table. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Sep 9 15:51:38 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 9 Sep 2003 15:51:38 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C919@TAPPEEXCH01> I'm having the same problem. Since pass-through queries send the unparsed SQL directly to the ODBC driver, how is it possible to use a custom VBA function in them? I'm confused. -----Original Message----- From: KSEABOLT at parkcenter.org [mailto:KSEABOLT at parkcenter.org] Sent: Tuesday, September 09, 2003 12:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports OK. What am I doing wrong? When I try to set the passthru SQL this way I get an error. "Incorrect syntax near '&'. (#170) Seems like that's why we abandoned this approach before - because all we could get to work in passthru was a literal string containing syntactically correct T-SQL. Is there a setting I can toggle somewhere or some other syntax I can try? Thanks. - Ken "Arthur Fuller" Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 02:55 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports My fave way to do this is to use a static function that sets/gets the parm of interest. (God I must sound like a very squeaky wheel on this subject :-) Assuming a get/set func that sets and gets a parm of interest, your code reduces to: EXEC "mySproc " & MyStaticValue() Here is the template for my static funcs: Static Function CurrentX(Optional lngNew As Long) As Long 'Copy this template each time you need a new set/get function 'Then Replace "X" with the name of your object, i.e.,"Employee" 'Replace all in current proc and you're done. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 8:52 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From artful at rogers.com Tue Sep 9 19:21:05 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Sep 2003 17:21:05 -0700 Subject: [AccessD] Access 2000 Pass-Through Query Reports In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C919@TAPPEEXCH01> Message-ID: It isn't. You have to resolve the UDF first and then pass its result through. For example: Dim strSQL as String strSQL = "SELECT * FROM myTables WHERE PK = " & myFuncThatReturnsAPK() Then you can pass the result string. The key to making this work is resolve all the values first. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 1:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports I'm having the same problem. Since pass-through queries send the unparsed SQL directly to the ODBC driver, how is it possible to use a custom VBA function in them? I'm confused. -----Original Message----- From: KSEABOLT at parkcenter.org [mailto:KSEABOLT at parkcenter.org] Sent: Tuesday, September 09, 2003 12:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports OK. What am I doing wrong? When I try to set the passthru SQL this way I get an error. "Incorrect syntax near '&'. (#170) Seems like that's why we abandoned this approach before - because all we could get to work in passthru was a literal string containing syntactically correct T-SQL. Is there a setting I can toggle somewhere or some other syntax I can try? Thanks. - Ken "Arthur Fuller" Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 02:55 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports My fave way to do this is to use a static function that sets/gets the parm of interest. (God I must sound like a very squeaky wheel on this subject :-) Assuming a get/set func that sets and gets a parm of interest, your code reduces to: EXEC "mySproc " & MyStaticValue() Here is the template for my static funcs: Static Function CurrentX(Optional lngNew As Long) As Long 'Copy this template each time you need a new set/get function 'Then Replace "X" with the name of your object, i.e.,"Employee" 'Replace all in current proc and you're done. Dim lngCurrent As Long If lngNew <> 0 Then lngCurrent = lngNew CurrentX = lngCurrent #If conDebug = 1 Then Debug.Print "Current X: ", CurrentX #End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Tuesday, September 09, 2003 8:52 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Access 2000 Pass-Through Query Reports What is the best approach to using a parameterized SQL Server stored procedure as a recordsource for an A2k report? I was thinking of basing the report on a pass-through query (containing an EXEC statement), but it appears that I would need to modify the pass-through SQL each time the report is run, to set the parameter values. Brett Barabash, MCP Tappe Construction, Co. Eagan, MN bbarabash at tappeconstruction.com (651) 256-6831 "One thing a computer can do that most humans can't is be sealed up in a cardboard box and sit in a warehouse." -Jack Handey ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software._______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- ------------------------------------------ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Tue Sep 9 16:33:06 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 9 Sep 2003 16:33:06 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271B3@main2.marlow.com> I don't think I have every prefixed a Variant as var, yet. My logic in my statement is I want a string, so I prefixed it as a string, but it may need to be a variant, so it's declared as a variant. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 09, 2003 3:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Drew > .. I left the strStatus argument as a variant, in case it is ever > passed a null Then you should have renamed it varStatus ... /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 9 16:35:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 9 Sep 2003 16:35:20 -0500 Subject: [AccessD] Ping Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271B4@main2.marlow.com> A sonar ping and a TCP/IP ping have very similar purposes, so they aren't that different at all. One is just a bit louder! Drew -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Tuesday, September 09, 2003 11:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Ping "Ping" has an entirely different connotation in my world:) ...I work in Submarine Engineering Electrical Design. Mark -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Tuesday, September 09, 2003 12:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Ping Net Serve! ;o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, > Mark > Sent: Tuesday, September 09, 2003 10:13 AM > To: '[AccessD]' > Subject: [AccessD] Ping > > > Ping... > > > Mark > No Archive > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Sep 9 16:51:01 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 10 Sep 2003 07:51:01 +1000 Subject: [AccessD] Ping In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271B4@main2.marlow.com> Message-ID: <3F5ED7E5.4595.1A2E37@localhost> On 9 Sep 2003 at 16:35, Drew Wutka wrote: > A sonar ping and a TCP/IP ping have very similar purposes, so they aren't > that different at all. One is just a bit louder! > One was named after the other :-) "ping [from the submariners' term for a sonar pulse] 1. n. Slang term or a small network message (ICMP ECHO) sent by a computer to check for the presence and alertness of another. The Unix command ping(8) can be used to do this manually (note that ping(8)'s author denies the widespread folk etymology that the name was ever intended as acronym for `Packet INternet Groper')." -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From KSEABOLT at parkcenter.org Tue Sep 9 17:10:18 2003 From: KSEABOLT at parkcenter.org (KSEABOLT at parkcenter.org) Date: Tue, 9 Sep 2003 17:10:18 -0500 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: Got it, Arthur. That's the technique we have been using for a very long time. I thought from your earlier post that you you were saying one could use that syntax directly in the passthru SQL and that Access was somehow going to evaluate the string before passing it along. This would be a real help, given the number of these we use. Oh well, back to the trenches. - Ken "Arthur Fuller" Sent by: accessd-bounces at databaseadvisors.com 09/09/2003 06:32 PM Please respond to Access Developers discussion and problem solving To: "Access Developers discussion and problem solving" cc: Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports Let me know if you have problems, I will help you solve them.Glad to help. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of KSEABOLT at parkcenter.org Sent: Tuesday, September 09, 2003 10:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports Wow, this seems FAR easier than what I described. I'm gonna check into this further! _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Tue Sep 9 17:12:11 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 9 Sep 2003 17:12:11 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41024@PKDWB01C.ad.sprint.com> Well, thanks for the input, Charlotte, but I already tried that to no avail. Since this appears to be a dead end, maybe you or somebody else has an idea that will accomplish what I'm trying to do. I have a table of material types that may be added to over time. I want the cost calculation to be dynamic, such that when a new material type is added, the user can define the formula that will deliver its cost. I intended to build a wizard-type form that would guide the user through the creation of the formula by allowing the selection of fields and operators. I wanted to store the formula string in the material types table and use it to drive the cost calculation when called. My main objective is to avoid having to open up some custom function to insert new rules if a material type is added that doesn't fit an existing cost formula; I want this to be hands-off for me once I turn it over. Am I dreaming? Or is there another smarter way to do this? Don -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, September 09, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Eval doesn't know what to do with a string unless it contains a function name, or a control reference, or a calculation like your literal value. If you pass it something like CalcFormula, it interprets that as a literal. Try Eval(tblVolume.CalcFormula) and see if that works. I can't guarantee it will because Eval is a fairly stupid function. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 12:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I don't know the answer. I've only used it for functions, especially when calling functions whose names are stored on a table. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From scapistrant at symphonyinfo.com Tue Sep 9 17:43:14 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 9 Sep 2003 17:43:14 -0500 Subject: [AccessD] Need help with Eval() function In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41024@PKDWB01C.ad.sprint.com> Message-ID: Build a function that accepts all the variables you need for the calculation, and have it return the calculated value. Don't have it reference fields on forms or reports. Then it is flexible enough to be called from anywhere as needed. Only watch our for calling user-defined functions from a query; it can be a big drain on performance and sometimes may not work at all depending on how deeply you've got it buried. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 5:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Well, thanks for the input, Charlotte, but I already tried that to no avail. Since this appears to be a dead end, maybe you or somebody else has an idea that will accomplish what I'm trying to do. I have a table of material types that may be added to over time. I want the cost calculation to be dynamic, such that when a new material type is added, the user can define the formula that will deliver its cost. I intended to build a wizard-type form that would guide the user through the creation of the formula by allowing the selection of fields and operators. I wanted to store the formula string in the material types table and use it to drive the cost calculation when called. My main objective is to avoid having to open up some custom function to insert new rules if a material type is added that doesn't fit an existing cost formula; I want this to be hands-off for me once I turn it over. Am I dreaming? Or is there another smarter way to do this? Don From cfoust at infostatsystems.com Tue Sep 9 17:48:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Sep 2003 15:48:00 -0700 Subject: [AccessD] Days Past Due - Grace Period Message-ID: Naughty, Drew! You're expecting anyone else to read your mind and know what you meant by that prefix. I've never found a naming convention that lets you specify the preferred type for a variable! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 09, 2003 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period I don't think I have every prefixed a Variant as var, yet. My logic in my statement is I want a string, so I prefixed it as a string, but it may need to be a variant, so it's declared as a variant. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 09, 2003 3:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Drew > .. I left the strStatus argument as a variant, in case it is ever > passed a null Then you should have renamed it varStatus ... /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 donald.a.Mcgillivray at mail.sprint.com Tue Sep 9 17:58:45 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 9 Sep 2003 17:58:45 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41072@PKDWB01C.ad.sprint.com> Yeah, looks like that's what I'll probably end up doing. I guess I'll just have to make the material type table off limits so the users won't change or delete any records. Thanks, everyone for your input! Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 3:43 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Build a function that accepts all the variables you need for the calculation, and have it return the calculated value. Don't have it reference fields on forms or reports. Then it is flexible enough to be called from anywhere as needed. Only watch our for calling user-defined functions from a query; it can be a big drain on performance and sometimes may not work at all depending on how deeply you've got it buried. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 5:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Well, thanks for the input, Charlotte, but I already tried that to no avail. Since this appears to be a dead end, maybe you or somebody else has an idea that will accomplish what I'm trying to do. I have a table of material types that may be added to over time. I want the cost calculation to be dynamic, such that when a new material type is added, the user can define the formula that will deliver its cost. I intended to build a wizard-type form that would guide the user through the creation of the formula by allowing the selection of fields and operators. I wanted to store the formula string in the material types table and use it to drive the cost calculation when called. My main objective is to avoid having to open up some custom function to insert new rules if a material type is added that doesn't fit an existing cost formula; I want this to be hands-off for me once I turn it over. Am I dreaming? Or is there another smarter way to do this? Don _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Tue Sep 9 18:03:28 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 10 Sep 2003 09:03:28 +1000 Subject: [AccessD] Need help with Eval() function In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41024@PKDWB01C.ad.sprint.com> Message-ID: <3F5EE8E0.22578.19D705@localhost> On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > I have a table of material types that may be added to over time. I want > the cost calculation to be dynamic, such that when a new material type > is added, the user can define the formula that will deliver its cost. I > intended to build a wizard-type form that would guide the user through > the creation of the formula by allowing the selection of fields and > operators. I wanted to store the formula string in the material types > table and use it to drive the cost calculation when called. My main > objective is to avoid having to open up some custom function to insert > new rules if a material type is added that doesn't fit an existing cost > formula; I want this to be hands-off for me once I turn it over. > > Am I dreaming? Or is there another smarter way to do this? > If your formula consists of just fieldnames, numbers and operators, Eval() will still do it. But you will need to use it inside a function so that you can substitue the values for the fieldnames in the string before you evaluate it Here's a simple function I've just knocked up to do it. I an substituting 0 for Nulls. You may need to handle Nulls differently depending on how your formulae work. Also it will get slightly more complex if some of the values are stored in other tables - not that much harder, you just need to grab the fieldnames and values in a similar fashion from other tables. Function Cost(Formula As String, RecordNum As Long) As Currency Dim loopcount As Long Dim rs As Recordset Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, UCase$(rs(loopcount).Name), NZ(rs(loopcount),"0") Next Cost = Eval(Formula) End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From sdssoftware at optusnet.com.au Tue Sep 9 18:10:19 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Wed, 10 Sep 2003 09:10:19 +1000 Subject: [AccessD] Access 2000 Pass-Through Query Reports References: <002401c376f0$2e1591e0$8500a8c0@CX615377a> Message-ID: <00ac01c37727$89f6f940$6501a8c0@user> MessageWhat a pity the Developer edition isn't on that list. It has been in the past, hasn't it? Kath ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, September 10, 2003 2:33 AM Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports Just saw this on a Microsoft e-mail. It looks like they are starting the free upgrade if you buy OfficeXP now. Look at http://www.microsoft.com/office/preview/techguarantee.asp Doug ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Tue Sep 9 18:19:26 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Tue, 9 Sep 2003 18:19:26 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41086@PKDWB01C.ad.sprint.com> Very cool. My formulae do consist of field names and numbers only, so this should give me a good start in the right direction. They do come from different tables though, so I'll need to hammer on this for a bit before I get it to work. I've been working in Access97, and the Replace function appears not to be there. I can switch to XP with no real problem - assuming I'll find it there, along with more details about how to use it. Thanks for the assist! I'll let you know how it all works out. Don -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, September 09, 2003 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > I have a table of material types that may be added to over time. I > want the cost calculation to be dynamic, such that when a new material > type is added, the user can define the formula that will deliver its > cost. I intended to build a wizard-type form that would guide the > user through the creation of the formula by allowing the selection of > fields and operators. I wanted to store the formula string in the > material types table and use it to drive the cost calculation when > called. My main objective is to avoid having to open up some custom > function to insert new rules if a material type is added that doesn't > fit an existing cost formula; I want this to be hands-off for me once > I turn it over. > > Am I dreaming? Or is there another smarter way to do this? > If your formula consists of just fieldnames, numbers and operators, Eval() will still do it. But you will need to use it inside a function so that you can substitue the values for the fieldnames in the string before you evaluate it Here's a simple function I've just knocked up to do it. I an substituting 0 for Nulls. You may need to handle Nulls differently depending on how your formulae work. Also it will get slightly more complex if some of the values are stored in other tables - not that much harder, you just need to grab the fieldnames and values in a similar fashion from other tables. Function Cost(Formula As String, RecordNum As Long) As Currency Dim loopcount As Long Dim rs As Recordset Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, UCase$(rs(loopcount).Name), NZ(rs(loopcount),"0") Next Cost = Eval(Formula) End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Sep 9 18:24:15 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 9 Sep 2003 19:24:15 -0400 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie><002b01c376f4$aa89a0f0$6001a8c0@dejpolsys> <00c001c37703$778ea470$6501a8c0@Julie> Message-ID: <001601c37729$7c1b8a50$6001a8c0@dejpolsys> Julie ...I've not used Win95 in so long I can't remember ...it does work fine in Win98, NT, Win2K, and WinXP ...and I use it in runtime environments all the time ...I'm sure that WinMe will work because its just W98 with media crap glued on ...Win95 should work because the API calls are the same afaik but I can't verify it ...I toss every W95 disk I find :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 2:51 PM Subject: Re: [AccessD] Automation between 2 applications William - Quick question - you said: "...works like a charm in all versions ...HTH :))))" Does that apply to Windows versions as well? This is an Access97 runtime application (installed with Sagekey scripts), that is running on everything from Windows95 up. Thanks. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 12:06 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Tue Sep 9 18:27:38 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 9 Sep 2003 19:27:38 -0400 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie><002b01c376f4$aa89a0f0$6001a8c0@dejpolsys> <00a801c37700$66d5aa50$6501a8c0@Julie> Message-ID: <002d01c37729$f51e1620$6001a8c0@dejpolsys> ...just passing along what another AccessD member gave me a long time back when I had virtually the same question ...pass it along to someone else here when the opportunity arises :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 2:29 PM Subject: Re: [AccessD] Automation between 2 applications William - This looks awesome - thanks so much! I'll begin working with it this afternoon. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 12:06 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Tue Sep 9 19:39:28 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Sep 2003 17:39:28 -0700 Subject: [AccessD] Need help with Eval() function Message-ID: Replace was introduced in Access 2000. Charlotte Foust -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Tuesday, September 09, 2003 3:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Very cool. My formulae do consist of field names and numbers only, so this should give me a good start in the right direction. They do come from different tables though, so I'll need to hammer on this for a bit before I get it to work. I've been working in Access97, and the Replace function appears not to be there. I can switch to XP with no real problem - assuming I'll find it there, along with more details about how to use it. Thanks for the assist! I'll let you know how it all works out. Don -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, September 09, 2003 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > I have a table of material types that may be added to over time. I > want the cost calculation to be dynamic, such that when a new material > type is added, the user can define the formula that will deliver its > cost. I intended to build a wizard-type form that would guide the > user through the creation of the formula by allowing the selection of > fields and operators. I wanted to store the formula string in the > material types table and use it to drive the cost calculation when > called. My main objective is to avoid having to open up some custom > function to insert new rules if a material type is added that doesn't > fit an existing cost formula; I want this to be hands-off for me once > I turn it over. > > Am I dreaming? Or is there another smarter way to do this? > If your formula consists of just fieldnames, numbers and operators, Eval() will still do it. But you will need to use it inside a function so that you can substitue the values for the fieldnames in the string before you evaluate it Here's a simple function I've just knocked up to do it. I an substituting 0 for Nulls. You may need to handle Nulls differently depending on how your formulae work. Also it will get slightly more complex if some of the values are stored in other tables - not that much harder, you just need to grab the fieldnames and values in a similar fashion from other tables. Function Cost(Formula As String, RecordNum As Long) As Currency Dim loopcount As Long Dim rs As Recordset Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, UCase$(rs(loopcount).Name), NZ(rs(loopcount),"0") Next Cost = Eval(Formula) End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 9 19:40:15 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Sep 2003 17:40:15 -0700 Subject: [AccessD] Access 2000 Pass-Through Query Reports Message-ID: There is no developer edition for 2003, so maybe Martin can chime in with the details. Charlotte Foust -----Original Message----- From: Kath Pelletti [mailto:sdssoftware at optusnet.com.au] Sent: Tuesday, September 09, 2003 3:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2000 Pass-Through Query Reports What a pity the Developer edition isn't on that list. It has been in the past, hasn't it? Kath ----- Original Message ----- From: Doug Murphy To: 'Access Developers discussion and problem solving' Sent: Wednesday, September 10, 2003 2:33 AM Subject: RE: [AccessD] Access 2000 Pass-Through Query Reports Just saw this on a Microsoft e-mail. It looks like they are starting the free upgrade if you buy OfficeXP now. Look at http://www.microsoft.com/office/preview/techguarantee.asp Doug _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Subscriptions at servicexp.com Tue Sep 9 20:26:39 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 9 Sep 2003 21:26:39 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: Message-ID: How does one call a help (html) file simply using the standard F1 key? Thanks Robert Gracie www.servicexp.com From jcolby at colbyconsulting.com Tue Sep 9 22:29:42 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 9 Sep 2003 23:29:42 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: Message-ID: You use the help context ID property of any control or form. You build the help file, insert context numbers, ten plug those numbers into the property of the control or form you want the user to be able to get help on. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Tuesday, September 09, 2003 9:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to over ride F1 How does one call a help (html) file simply using the standard F1 key? Thanks Robert Gracie www.servicexp.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 Sep 9 23:50:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 9 Sep 2003 23:50:08 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271BE@main2.marlow.com> My naming convention does...there ya go, now you've found one! My philosophy is that a naming convention should be useful, and NOT hindering. Thus, my personal naming convention is a product of how I think. I've been dumped on before, (here on the list! ) about my naming convention tactics, but hey, I don't get complaints about my finished work (just more feature requests!) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, September 09, 2003 5:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Days Past Due - Grace Period Naughty, Drew! You're expecting anyone else to read your mind and know what you meant by that prefix. I've never found a naming convention that lets you specify the preferred type for a variable! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Tuesday, September 09, 2003 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Days Past Due - Grace Period I don't think I have every prefixed a Variant as var, yet. My logic in my statement is I want a string, so I prefixed it as a string, but it may need to be a variant, so it's declared as a variant. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 09, 2003 3:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period Hi Drew > .. I left the strStatus argument as a variant, in case it is ever > passed a null Then you should have renamed it varStatus ... /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 roz.clarke at donnslaw.co.uk Wed Sep 10 03:04:15 2003 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 10 Sep 2003 09:04:15 +0100 Subject: FW: [AccessD] Need help with Eval() function Message-ID: <61F915314798D311A2F800A0C9C83188047C633A@dibble.observatory.donnslaw.co.uk> Forwarded due to auto-rejection by the mail server, which I will investigate! Roz -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: 10 September 2003 05:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Need help with Eval() function Don, This idea might be useful: I once built an app that allowed users to build queries on the fly and store them for future use in searching a database of recipes. There was a wizard that allowed users to type in, for example, Chocolate, choose an operator (OR or AND), then add more terms and operators until they were satisfied. (Chocolate or Strawberry or Butterscotch). They could also choose the f ields to be searched (RecipeTitle AND Ingredients). When they were satisfied, I added on, in code, the pieces to make a complete SQL string (SELECT * FROM Recipe WHERE RecipeTitle="chocolate" Or RecipeTitle="strawberry" Or RecipeTitle="butterscotch" OR Ingredients="chocolate" Or Ingredients= "strawberry" Or Ingredients="butterscotch"). They named their query ("Ice Cream Toppings"), and I stored the entire SQL string in a table with the name of the query and a PK of QueryID. When it came time to run their stored query for a future search or report, they could pick from a list of stored queries (their names), and I could look up the stored string based on QueryID and run the whole thing with a db.Execute(strSQL). In your case, you might not give them so much freedom to store any thing at all, but a user could be taught to select from field names in a list and operators in a list. You could cobble up the code behind the scenes and store a whole string ("SELECT [CalorieCount]/[Servings] AS CaloriesPerServing FROM Recipe"). You would need to design your GUI fairly carefully to prevent them making truly outlandish strings, but if the results were weird, they would be able to go back and change them without you. Your function CalcFormula would then have one parameter (QueryID). It would open the query aa a recordset, then return only the calculated value you wanted (CaloriesPerServing). Hope this is helpful and not too late! Liz Doering Symphony Information Services liz at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 ---------- Original Message ---------------------------------- From: "Mcgillivray, Donald [ITS]" Reply-To: Access Developers discussion and problem solving Date: Tue, 9 Sep 2003 17:12:11 -0500 Well, thanks for the input, Charlotte, but I already tried that to no avail. Since this appears to be a dead end, maybe you or somebody else has an idea that will accomplish what I'm trying to do. I have a table of material types that may be added to over time. I want the cost calculation to be dynamic, such that when a new material type is added, the user can define the formula that will deliver its cost. I intended to build a wizard-type form that would guide the user through the creation of the formula by allowing the selection of fields and operators. I wanted to store the formula string in the material types table and use it to drive the cost calculation when called. My main objective is to avoid having to open up some custom function to insert new rules if a material type is added that doesn't fit an existing cost formula; I want this to be hands-off for me once I turn it over. Am I dreaming? Or is there another smarter way to do this? Don -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, September 09, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Eval doesn't know what to do with a string unless it contains a function name, or a control reference, or a calculation like your literal value. If you pass it something like CalcFormula, it interprets that as a literal. Try Eval(tblVolume.CalcFormula) and see if that works. I can't guarantee it will because Eval is a fairly stupid function. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 12:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I don't know the answer. I've only used it for functions, especially when calling functions whose names are stored on a table. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Liz Doering Symphony Information Services 612.333.1311 -- From gustav at cactus.dk Wed Sep 10 03:09:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 10 Sep 2003 10:09:54 +0200 Subject: [AccessD] Days Past Due - Grace Period In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271B3@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8022271B3@main2.marlow.com> Message-ID: <1068103972.20030910100954@cactus.dk> Hi Drew Hmm ... nice talking, but I think you've missed the main points for using naming conventions and prefixes. The idea is to maximize readability of your code and ease maintenance. Thus, the purpose of a prefix is to clarify what a variable could contain and to eliminate code for unnecessary error checking. It is extremely convenient to know that a variable as strStatus is a string as you can pass it without checking for IsNull() to any function expecting a string. Likewise, if you retrieve values from a recordset where fields may be empty (Null) you'll have to use a variant. Again, it is very informative to name such a variable as, say, varSerialNo to indicate that this variable could be Null or may contain a serial number. If you like variables with a content following Drew's brain - which will be a challenge for others to follow (!) - you could simply name that variable Status which would leave no expectations for the reader but raise a flag that caution is needed. You know all this, I'm sure, but a strict naming convention has helped me a lot over the years - and remember: that stranger reading your code might very well be yourself! I think most of our fellow listers have had the experience reading some old code of their own only to wonder what on Earth he/she was thinking when writing that (undocumented) code. I know MS with .net recommends not using prefixes for variables but I just don't understand that ... /gustav > I don't think I have every prefixed a Variant as var, yet. My logic in my > statement is I want a string, so I prefixed it as a string, but it may need > to be a variant, so it's declared as a variant. > Drew > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 09, 2003 3:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Days Past Due - Grace Period > Hi Drew >> .. I left the strStatus argument as a variant, in case it is ever >> passed a null > Then you should have renamed it varStatus ... > /gustav From wdhindman at bellsouth.net Wed Sep 10 03:16:03 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 10 Sep 2003 04:16:03 -0400 Subject: [AccessD] Days Past Due - Grace Period References: <2F8793082E00D4119A1700B0D0216BF8022271BE@main2.marlow.com> Message-ID: <000f01c37773$c70258b0$6001a8c0@dejpolsys> "I don't get complaints about my finished work" Drew ...so you're the guy I keep having to clean up after! ...naming conventions are not designed so that YOU can maintain your code Drew, you wrote it ...naming conventions are designed so that someone else can maintain your code without reinventing Nixon's expletive deleted file :(((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 10, 2003 12:50 AM Subject: RE: [AccessD] Days Past Due - Grace Period > My naming convention does...there ya go, now you've found one! > > My philosophy is that a naming convention should be useful, and NOT > hindering. Thus, my personal naming convention is a product of how I think. > I've been dumped on before, (here on the list! ) about my naming > convention tactics, but hey, I don't get complaints about my finished work > (just more feature requests!) > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, September 09, 2003 5:48 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Naughty, Drew! You're expecting anyone else to read your mind and know > what you meant by that prefix. I've never found a naming convention > that lets you specify the preferred type for a variable! > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Tuesday, September 09, 2003 1:33 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > I don't think I have every prefixed a Variant as var, yet. My logic in > my statement is I want a string, so I prefixed it as a string, but it > may need to be a variant, so it's declared as a variant. > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 09, 2003 3:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Days Past Due - Grace Period > > > Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > > Then you should have renamed it varStatus ... > > /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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Subscriptions at servicexp.com Wed Sep 10 06:13:44 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 10 Sep 2003 07:13:44 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: Message-ID: Yes indeed, however that is not my problem. I would like to call the help file with no form open. I don't use a switch board in any of my systems, and have been constrained to having a form open AND visible to use the help... I have a bunch of user who would just like to hit F1 (with no forms open) and have the help file for my program load... Any ideas Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 09, 2003 11:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to over ride F1 You use the help context ID property of any control or form. You build the help file, insert context numbers, ten plug those numbers into the property of the control or form you want the user to be able to get help on. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert Gracie Sent: Tuesday, September 09, 2003 9:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to over ride F1 How does one call a help (html) file simply using the standard F1 key? Thanks Robert Gracie www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Sep 10 06:43:46 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 10 Sep 2003 04:43:46 -0700 (PDT) Subject: [AccessD] outlook controls? Message-ID: <20030910114346.71780.qmail@web60201.mail.yahoo.com> hi group, when you look in outlook at you're calendar you see a couple of days (1 day/ 5 days/ 7 days etc) with the appointments. does anybody know if that control is available? Did anybody create something similar? I need it to create a graphical display of 'who-worked-on-what-and-how-long' control. Maybe I need to change the name :-) TIA Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From gustav at cactus.dk Wed Sep 10 07:22:47 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 10 Sep 2003 14:22:47 +0200 Subject: [AccessD] How to over ride F1 In-Reply-To: References: Message-ID: <2423276730.20030910142247@cactus.dk> Hi Robert A progam with no forms? That was new! Anyway - create an AutoKeys macro (look up the on-line help before you do). On the first line, type {F1} as macro name and assign RunProgram as its action and specify a command line like this: winhlp32 Reload your Access file and press F1. /gustav > Yes indeed, however that is not my problem. I would like to call the help > file with no form open. I don't use a switch board in any of my systems, and > have been constrained to having a form open AND visible to use the help... > I have a bunch of user who would just like to hit F1 (with no forms open) > and have the help file for my program load... > Any ideas > Robert Gracie > www.servicexp.com From backroad at idir.net Wed Sep 10 08:24:48 2003 From: backroad at idir.net (Backroads Data) Date: Wed, 10 Sep 2003 08:24:48 -0500 Subject: [AccessD] Automation between 2 applications References: <003501c376eb$4b21bc00$6501a8c0@Julie><002b01c376f4$aa89a0f0$6001a8c0@dejpolsys><00c001c37703$778ea470$6501a8c0@Julie> <001601c37729$7c1b8a50$6001a8c0@dejpolsys> Message-ID: <004b01c3779f$000bbae0$6501a8c0@Julie> William, That's good enough for me. Thanks again. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 6:24 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've not used Win95 in so long I can't remember ...it does work fine in Win98, NT, Win2K, and WinXP ...and I use it in runtime environments all the time ...I'm sure that WinMe will work because its just W98 with media crap glued on ...Win95 should work because the API calls are the same afaik but I can't verify it ...I toss every W95 disk I find :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 2:51 PM Subject: Re: [AccessD] Automation between 2 applications William - Quick question - you said: "...works like a charm in all versions ...HTH :))))" Does that apply to Windows versions as well? This is an Access97 runtime application (installed with Sagekey scripts), that is running on everything from Windows95 up. Thanks. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Tuesday, September 09, 2003 12:06 PM Subject: Re: [AccessD] Automation between 2 applications Julie ...I've used the following code since A97 in my Autoexec macro to handle multiple instances of my Access apps being opened by users ...it should meet all of your stated needs ...just modify the IfThen to call your process. ...copy and insert the following module as mdlCheckMultipleInstances Option Compare Database Option Explicit ' Module mdlCheckMultipleInstances ' ? Graham Mandeno, Alpha Solutions, Auckland, NZ ' graham at alpha.co.nz Private Const cMaxBuffer = 255 Private Declare Function apiGetClassName Lib "user32" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long Private Declare Function apiGetDesktopWindow Lib "user32" _ Alias "GetDesktopWindow" _ () As Long Private Declare Function apiGetWindow Lib "user32" _ Alias "GetWindow" _ (ByVal hwnd As Long, _ ByVal wCmd As Long) _ As Long Private Const GW_CHILD = 5 Private Const GW_HWNDNEXT = 2 Private Declare Function apiGetWindowText Lib "user32" _ Alias "GetWindowTextA" _ (ByVal hwnd As Long, _ ByVal lpString As String, _ ByVal aint As Long) _ As Long Private Declare Function apiSetActiveWindow Lib "user32" _ Alias "SetActiveWindow" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiIsIconic Lib "user32" _ Alias "IsIconic" _ (ByVal hwnd As Long) _ As Long Private Declare Function apiShowWindowAsync Lib "user32" _ Alias "ShowWindowAsync" _ (ByVal hwnd As Long, _ ByVal nCmdShow As Long) _ As Long Private Const SW_SHOW = 5 Private Const SW_RESTORE = 9 Public Function winGetClassName(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetClassName(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetClassName = Left$(sBuffer, iLen) End If End Function Public Function winGetTitle(hwnd As Long) As String Dim sBuffer As String, iLen As Integer sBuffer = String$(cMaxBuffer - 1, 0) iLen = apiGetWindowText(hwnd, sBuffer, cMaxBuffer) If iLen > 0 Then winGetTitle = Left$(sBuffer, iLen) End If End Function Public Function winGetHWndDB(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndDB = 0 If hWndApp <> 0 Then If winGetClassName(hWndApp) <> "OMain" Then Exit Function End If hwnd = winGetHWndMDI(hWndApp) If hwnd = 0 Then Exit Function hwnd = apiGetWindow(hwnd, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "ODb" Then winGetHWndDB = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winGetHWndMDI(Optional hWndApp As Long) As Long Dim hwnd As Long winGetHWndMDI = 0 If hWndApp = 0 Then hWndApp = Application.hWndAccessApp hwnd = apiGetWindow(hWndApp, GW_CHILD) Do Until hwnd = 0 If winGetClassName(hwnd) = "MDIClient" Then winGetHWndMDI = hwnd Exit Do End If hwnd = apiGetWindow(hwnd, GW_HWNDNEXT) Loop End Function Public Function winCheckMultipleInstances(Optional fConfirm As Boolean = True) As Boolean Dim fSwitch As Boolean, sMyCaption As String Dim hWndApp As Long, hWndDb As Long On Error GoTo ProcErr sMyCaption = winGetTitle(winGetHWndDB()) hWndApp = apiGetWindow(apiGetDesktopWindow(), GW_CHILD) Do Until hWndApp = 0 If hWndApp <> Application.hWndAccessApp Then hWndDb = winGetHWndDB(hWndApp) If hWndDb <> 0 Then If sMyCaption = winGetTitle(hWndDb) Then Exit Do End If End If hWndApp = apiGetWindow(hWndApp, GW_HWNDNEXT) Loop If hWndApp = 0 Then Exit Function If fConfirm Then If MsgBox(sMyCaption & " is already open@" _ & "Do you want to open a second instance of this database?@", _ vbYesNo Or vbQuestion Or vbDefaultButton2) = vbYes Then Exit Function End If apiSetActiveWindow hWndApp If apiIsIconic(hWndApp) Then apiShowWindowAsync hWndApp, SW_RESTORE Else apiShowWindowAsync hWndApp, SW_SHOW End If Application.Quit ProcEnd: Exit Function ProcErr: MsgBox err.Description Resume ProcEnd End Function ...then put this as a RunCode in your AutoExec macro winCheckMultipleInstances (True) ...works like a charm in all versions ...HTH :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Backroads Data To: AccessD Sent: Tuesday, September 09, 2003 11:59 AM Subject: [AccessD] Automation between 2 applications Hello Group, I have 2 (related) questions on this subject... Question 1: If another application (it's not Access, I believe it's C++) uses the Shell command to launch my Access application, and the Access app is already open, will this simply make the Access app "active", or will it launch a 2nd instance of it? (I'm wanting it to make my app active, not open another copy.) Question 2: Is there any kind of "Application.Activation" event I can hook into? If the above issue can be resolved to activate the Access app, I need Access to go to a specific form and process a small amount of data from the launching application. (I can do this if the other app actually opens the Access app, but am not sure if I can call this processing routine when the already-open app is activated.) Thanks in advance for any direction you can provide. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From delliker at hotmail.com Wed Sep 10 09:19:57 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 10 Sep 2003 10:19:57 -0400 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) Message-ID: I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in my >statement is I want a string, so I prefixed it as a string, but it may need >to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon From rfv at entelix.com Wed Sep 10 09:41:48 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Wed, 10 Sep 2003 09:41:48 -0500 Subject: [AccessD] Bitmpap in MS Access Window In-Reply-To: <1112999863.20030907080828@cactus.dk> Message-ID: <200309101442.h8AEg8p20007@databaseadvisors.com> Thanks to everybody. That is just what I needed. Rudolf F. Vanek -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Domingo, 07 de Septiembre de 2003 01:08 a.m. To: Access Developers discussion and problem solving Hi Brett > It's a little tricky (requires subclassing the MDIClient form), but > here goes: > http://www.mvps.org/access/api/api0035.htm Not necessarily - Stephen Lebans has a demo: http://www.lebans.com/changemdibackground.htm It contains a minor bug. If you will select a new picture but cancels the operation, the background updating stops. This should be fixable with little effort. /gustav > Does anybody know how to place a bitmap in the Access Window? (the grey > background) _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Wed Sep 10 10:39:00 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 10 Sep 2003 10:39:00 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41380@PKDWB01C.ad.sprint.com> Thanks, Liz. That's an interesting idea - a bit more involved than what I had originally envisioned, but well within the realm of possibility. I'm going to play around with Stuart's suggestion a little more and may venture toward yours depending on the outcome. Thanks again to all who responded! Don -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, September 10, 2003 1:04 AM To: AccessD (AccessD at databaseadvisors.com) Subject: FW: [AccessD] Need help with Eval() function Forwarded due to auto-rejection by the mail server, which I will investigate! Roz -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: 10 September 2003 05:09 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Need help with Eval() function Don, This idea might be useful: I once built an app that allowed users to build queries on the fly and store them for future use in searching a database of recipes. There was a wizard that allowed users to type in, for example, Chocolate, choose an operator (OR or AND), then add more terms and operators until they were satisfied. (Chocolate or Strawberry or Butterscotch). They could also choose the f ields to be searched (RecipeTitle AND Ingredients). When they were satisfied, I added on, in code, the pieces to make a complete SQL string (SELECT * FROM Recipe WHERE RecipeTitle="chocolate" Or RecipeTitle="strawberry" Or RecipeTitle="butterscotch" OR Ingredients="chocolate" Or Ingredients= "strawberry" Or Ingredients="butterscotch"). They named their query ("Ice Cream Toppings"), and I stored the entire SQL string in a table with the name of the query and a PK of QueryID. When it came time to run their stored query for a future search or report, they could pick from a list of stored queries (their names), and I could look up the stored string based on QueryID and run the whole thing with a db.Execute(strSQL). In your case, you might not give them so much freedom to store any thing at all, but a user could be taught to select from field names in a list and operators in a list. You could cobble up the code behind the scenes and store a whole string ("SELECT [CalorieCount]/[Servings] AS CaloriesPerServing FROM Recipe"). You would need to design your GUI fairly carefully to prevent them making truly outlandish strings, but if the results were weird, they would be able to go back and change them without you. Your function CalcFormula would then have one parameter (QueryID). It would open the query aa a recordset, then return only the calculated value you wanted (CaloriesPerServing). Hope this is helpful and not too late! Liz Doering Symphony Information Services liz at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 ---------- Original Message ---------------------------------- From: "Mcgillivray, Donald [ITS]" Reply-To: Access Developers discussion and problem solving Date: Tue, 9 Sep 2003 17:12:11 -0500 Well, thanks for the input, Charlotte, but I already tried that to no avail. Since this appears to be a dead end, maybe you or somebody else has an idea that will accomplish what I'm trying to do. I have a table of material types that may be added to over time. I want the cost calculation to be dynamic, such that when a new material type is added, the user can define the formula that will deliver its cost. I intended to build a wizard-type form that would guide the user through the creation of the formula by allowing the selection of fields and operators. I wanted to store the formula string in the material types table and use it to drive the cost calculation when called. My main objective is to avoid having to open up some custom function to insert new rules if a material type is added that doesn't fit an existing cost formula; I want this to be hands-off for me once I turn it over. Am I dreaming? Or is there another smarter way to do this? Don -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Tuesday, September 09, 2003 1:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Eval doesn't know what to do with a string unless it contains a function name, or a control reference, or a calculation like your literal value. If you pass it something like CalcFormula, it interprets that as a literal. Try Eval(tblVolume.CalcFormula) and see if that works. I can't guarantee it will because Eval is a fairly stupid function. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 12:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I don't know the answer. I've only used it for functions, especially when calling functions whose names are stored on a table. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Thanks for the reply, Steve! CalcFormula isn't a function, it's simply a field in the query. Are you saying that I can't pass a simple string value to Eval() - that it has to be a function that returns a string? If that's so, why, when I pass the literal contents of CalcFormula, does it return a valid result? Don -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 09, 2003 10:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function I think Eval requires that you include the parentheses of the function you call. E.g, Eval(CalcFormula()) Also, make sure that CalcFormula is Public and a Function (not a Sub) Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com Phone: 612-333-1311 www.symphonyinfo.com 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 11:34 AM To: AccessD Subject: [AccessD] Need help with Eval() function Hello, All I need to calculate the cost of material for a series of products, each of which has a number of different material components. The cost of each material component is calculated differently depending on what it is. For example, outside envelope cost is a function of the number of mail pieces multiplied by the unit cost of the envelope; form cost is a function of the number of pages multiplied by the unit cost of a single form; toner cost is a function of the number of print feet multiplied by the cost of toner per print foot; and so on. I have constructed a query that delivers a row for each material type used in each product. Simplified, it looks something like this: ProdID Pieces Pages Printfeet MatlTyp UnitCost CalcFormula ======================================================================== ==================================== 1 200 500 480 Envelope .0135 tblVolume.Pieces * tblMaterial.UnitCost 1 200 500 480 Form .0015 tblVolume.Pages * tblMaterial.UnitCost 1 200 500 480 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost 2 5000 20000 18000 Envelope .0142 tblVolume.Pieces * tblMaterial.UnitCost 2 5000 20000 18000 Form .0102 tblVolume.Pages * tblMaterial.UnitCost 2 5000 20000 18000 Toner .000025 tblVolume.Printfeet * tblMaterial.UnitCost And so on . . . . The CalcFormula string comes from a table that is keyed to the material type with the formulas stored as text values. I am trying to use the Eval() function to deliver a total cost for each row. Using Eval(CalcFormula) results in an error. However, if I paste the literal value of CalcFormula into the Eval() function (Eval(tblVolume.Pieces * tblMaterial.UnitCost), for example), I get a valid result. Now, it seems to me that if the literal value of the CalcFormula field can be made to work with the Eval() function, then I ought to be able to pass a reference to a text field containing that value and get the desired result as well. Obviously, I'm missing something about using this function. Can anybody steer me down the correct path? Thanks! Don McGillivray Sprint Mailing Services _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Liz Doering Symphony Information Services 612.333.1311 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Sep 10 11:08:41 2003 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 10 Sep 2003 18:08:41 +0200 Subject: [AccessD] delete duplicates Message-ID: <000801c377b6$1b279d00$fdc581d5@pedro> Hello Group, is there a way to delete the second or second and third etc. duplicate in a query. TIA Pedro Janssen -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Wed Sep 10 11:23:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 10 Sep 2003 18:23:12 +0200 Subject: [AccessD] delete duplicates In-Reply-To: <000801c377b6$1b279d00$fdc581d5@pedro> References: <000801c377b6$1b279d00$fdc581d5@pedro> Message-ID: <16537702363.20030910182312@cactus.dk> Hi Pedro Yes, look up the archive on Eliminating duplicate rows for June this year. /gustav > is there a way to delete the second or second and third etc. duplicate in a query. From john at winhaven.net Wed Sep 10 11:25:57 2003 From: john at winhaven.net (John Bartow) Date: Wed, 10 Sep 2003 11:25:57 -0500 Subject: [AccessD] outlook controls? In-Reply-To: <20030910114346.71780.qmail@web60201.mail.yahoo.com> Message-ID: Sander: There are some custom control packages out for Access that can help give you the Outlook "look and feel": http://www.databasecreations.com/3rdpartysoftware.htm http://www.thebustergroup.com/products/controls.htm http://www.fpoint.com/products/calendar/details.html http://www.fmsinc.com/products/components/index.html HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der > Sent: Wednesday, September 10, 2003 6:44 AM > To: Acces User Group > Subject: [AccessD] outlook controls? > > > hi group, > > when you look in outlook at you're calendar you see a > couple of days (1 day/ 5 days/ 7 days etc) with the > appointments. > > does anybody know if that control is available? Did > anybody create something similar? > > I need it to create a graphical display of > 'who-worked-on-what-and-how-long' control. Maybe I > need to change the name :-) > > TIA > > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From donald.a.Mcgillivray at mail.sprint.com Wed Sep 10 11:58:30 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Wed, 10 Sep 2003 11:58:30 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F414B7@PKDWB01C.ad.sprint.com> Stuart, that's exactly the thing! I modified your code sample to fit my situation, and it works like a charm. Thanks so much for the advice! This list is the best! Don -----Original Message----- From: Mcgillivray, Donald [ITS] Sent: Tuesday, September 09, 2003 4:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function Very cool. My formulae do consist of field names and numbers only, so this should give me a good start in the right direction. They do come from different tables though, so I'll need to hammer on this for a bit before I get it to work. I've been working in Access97, and the Replace function appears not to be there. I can switch to XP with no real problem - assuming I'll find it there, along with more details about how to use it. Thanks for the assist! I'll let you know how it all works out. Don -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, September 09, 2003 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Need help with Eval() function On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > I have a table of material types that may be added to over time. I > want the cost calculation to be dynamic, such that when a new material > type is added, the user can define the formula that will deliver its > cost. I intended to build a wizard-type form that would guide the > user through the creation of the formula by allowing the selection of > fields and operators. I wanted to store the formula string in the > material types table and use it to drive the cost calculation when > called. My main objective is to avoid having to open up some custom > function to insert new rules if a material type is added that doesn't > fit an existing cost formula; I want this to be hands-off for me once > I turn it over. > > Am I dreaming? Or is there another smarter way to do this? > If your formula consists of just fieldnames, numbers and operators, Eval() will still do it. But you will need to use it inside a function so that you can substitue the values for the fieldnames in the string before you evaluate it Here's a simple function I've just knocked up to do it. I an substituting 0 for Nulls. You may need to handle Nulls differently depending on how your formulae work. Also it will get slightly more complex if some of the values are stored in other tables - not that much harder, you just need to grab the fieldnames and values in a similar fashion from other tables. Function Cost(Formula As String, RecordNum As Long) As Currency Dim loopcount As Long Dim rs As Recordset Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, UCase$(rs(loopcount).Name), NZ(rs(loopcount),"0") Next Cost = Eval(Formula) End Function -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Wed Sep 10 12:12:29 2003 From: delliker at hotmail.com (Don Elliker) Date: Wed, 10 Sep 2003 13:12:29 -0400 Subject: [AccessD] Problems renaming secured database Message-ID: Are there any problems renaming a database that is secured thru A2K Access Security? Just thought I'd ask before I hose myself. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Mcgillivray, Donald [ITS]" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Need help with Eval() function >Date: Wed, 10 Sep 2003 11:58:30 -0500 > >Stuart, that's exactly the thing! I modified your code sample to fit my >situation, and it works like a charm. > >Thanks so much for the advice! > >This list is the best! > >Don > >-----Original Message----- >From: Mcgillivray, Donald [ITS] >Sent: Tuesday, September 09, 2003 4:19 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >Very cool. My formulae do consist of field names and numbers only, so >this should give me a good start in the right direction. They do come >from different tables though, so I'll need to hammer on this for a bit >before I get it to work. > >I've been working in Access97, and the Replace function appears not to >be there. I can switch to XP with no real problem - assuming I'll find >it there, along with more details about how to use it. > >Thanks for the assist! I'll let you know how it all works out. > >Don > >-----Original Message----- >From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] >Sent: Tuesday, September 09, 2003 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > > I have a table of material types that may be added to over time. I > > want the cost calculation to be dynamic, such that when a new material > > > type is added, the user can define the formula that will deliver its > > cost. I intended to build a wizard-type form that would guide the > > user through the creation of the formula by allowing the selection of > > fields and operators. I wanted to store the formula string in the > > material types table and use it to drive the cost calculation when > > called. My main objective is to avoid having to open up some custom > > function to insert new rules if a material type is added that doesn't > > fit an existing cost formula; I want this to be hands-off for me once > > I turn it over. > > > > Am I dreaming? Or is there another smarter way to do this? > > > >If your formula consists of just fieldnames, numbers and operators, >Eval() will still do it. But you will need to use it inside a >function so that you can substitue the values for the fieldnames in >the string before you evaluate it Here's a simple function I've just >knocked up to do it. I an substituting 0 for Nulls. You may need to >handle Nulls differently depending on how your formulae work. > >Also it will get slightly more complex if some of the values are >stored in other tables - not that much harder, you just need to grab >the fieldnames and values in a similar fashion from other tables. > >Function Cost(Formula As String, RecordNum As Long) As Currency > Dim loopcount As Long > Dim rs As Recordset > Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID = >" & RecordNum) > Formula = UCase$(Formula) > For loopcount = 0 To rs.Fields.Count - 1 > Formula = Replace(Formula, UCase$(rs(loopcount).Name), >NZ(rs(loopcount),"0") > Next > Cost = Eval(Formula) >End Function > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Fast, faster, fastest: Upgrade to Cable or DSL today! https://broadband.msn.com From cfoust at infostatsystems.com Wed Sep 10 12:27:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2003 10:27:29 -0700 Subject: [AccessD] Problems renaming secured database Message-ID: None that I've ever found. The permissions live in the database file itself and any Access file can join the workgroup, so it shouldn't cause you any grief ... Unless, of course, you have hard coded the filename somewhere. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problems renaming secured database Are there any problems renaming a database that is secured thru A2K Access Security? Just thought I'd ask before I hose myself. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Mcgillivray, Donald [ITS]" > >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Need help with Eval() function >Date: Wed, 10 Sep 2003 11:58:30 -0500 > >Stuart, that's exactly the thing! I modified your code sample to fit >my situation, and it works like a charm. > >Thanks so much for the advice! > >This list is the best! > >Don > >-----Original Message----- >From: Mcgillivray, Donald [ITS] >Sent: Tuesday, September 09, 2003 4:19 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >Very cool. My formulae do consist of field names and numbers only, so >this should give me a good start in the right direction. They do come >from different tables though, so I'll need to hammer on this for a bit >before I get it to work. > >I've been working in Access97, and the Replace function appears not to >be there. I can switch to XP with no real problem - assuming I'll find >it there, along with more details about how to use it. > >Thanks for the assist! I'll let you know how it all works out. > >Don > >-----Original Message----- >From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] >Sent: Tuesday, September 09, 2003 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > > I have a table of material types that may be added to over time. I > > want the cost calculation to be dynamic, such that when a new > > material > > > type is added, the user can define the formula that will deliver its > > cost. I intended to build a wizard-type form that would guide the > > user through the creation of the formula by allowing the selection > > of fields and operators. I wanted to store the formula string in > > the material types table and use it to drive the cost calculation > > when called. My main objective is to avoid having to open up some > > custom function to insert new rules if a material type is added that > > doesn't fit an existing cost formula; I want this to be hands-off > > for me once I turn it over. > > > > Am I dreaming? Or is there another smarter way to do this? > > > >If your formula consists of just fieldnames, numbers and operators, >Eval() will still do it. But you will need to use it inside a function >so that you can substitue the values for the fieldnames in the string >before you evaluate it Here's a simple function I've just knocked up to >do it. I an substituting 0 for Nulls. You may need to handle Nulls >differently depending on how your formulae work. > >Also it will get slightly more complex if some of the values are stored >in other tables - not that much harder, you just need to grab the >fieldnames and values in a similar fashion from other tables. > >Function Cost(Formula As String, RecordNum As Long) As Currency > Dim loopcount As Long > Dim rs As Recordset > Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID >= " & RecordNum) > Formula = UCase$(Formula) > For loopcount = 0 To rs.Fields.Count - 1 > Formula = Replace(Formula, UCase$(rs(loopcount).Name), >NZ(rs(loopcount),"0") > Next > Cost = Eval(Formula) >End Function > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Fast, faster, fastest: Upgrade to Cable or DSL today! https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 10 12:39:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 12:39:55 -0500 Subject: [AccessD] Days Past Due - Grace Period Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271C5@main2.marlow.com> Be sure to send the code I wrote that you're working on, with all complaints..... Drew -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Wednesday, September 10, 2003 3:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Days Past Due - Grace Period "I don't get complaints about my finished work" Drew ...so you're the guy I keep having to clean up after! ...naming conventions are not designed so that YOU can maintain your code Drew, you wrote it ...naming conventions are designed so that someone else can maintain your code without reinventing Nixon's expletive deleted file :(((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 10, 2003 12:50 AM Subject: RE: [AccessD] Days Past Due - Grace Period > My naming convention does...there ya go, now you've found one! > > My philosophy is that a naming convention should be useful, and NOT > hindering. Thus, my personal naming convention is a product of how I think. > I've been dumped on before, (here on the list! ) about my naming > convention tactics, but hey, I don't get complaints about my finished work > (just more feature requests!) > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Tuesday, September 09, 2003 5:48 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Days Past Due - Grace Period > > > Naughty, Drew! You're expecting anyone else to read your mind and know > what you meant by that prefix. I've never found a naming convention > that lets you specify the preferred type for a variable! > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Tuesday, September 09, 2003 1:33 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Days Past Due - Grace Period > > > I don't think I have every prefixed a Variant as var, yet. My logic in > my statement is I want a string, so I prefixed it as a string, but it > may need to be a variant, so it's declared as a variant. > > Drew > > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 09, 2003 3:24 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Days Past Due - Grace Period > > > Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > > Then you should have renamed it varStatus ... > > /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 > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Sep 10 13:18:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 13:18:07 -0500 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period ) Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271C7@main2.marlow.com> Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in my >statement is I want a string, so I prefixed it as a string, but it may need >to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Wed Sep 10 13:27:33 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 10 Sep 2003 14:27:33 -0400 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F517@TTNEXCHSRV1.hshhp.com> ASP is a different animal though isn't it? Scripted code versus compiled and all that. Reddick naming conventions specify using "var" prefix for variants although we use "v" here (or "var"). Seems dangerous not specifying the actual data type in your VB/VBA code. My 2 cents, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in my >statement is I want a string, so I prefixed it as a string, but it may need >to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Wed Sep 10 14:51:07 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 14:51:07 -0500 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period ) Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271C8@main2.marlow.com> But why would you change your coding style in a scripted language? In ASP, I still use int and str as prefixes, even though everything is a variant. Along those lines, I use int for ALL integers, mainly because I only use an Integer type when absolutely necessary (if an API requires it...etc. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, September 10, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) ASP is a different animal though isn't it? Scripted code versus compiled and all that. Reddick naming conventions specify using "var" prefix for variants although we use "v" here (or "var"). Seems dangerous not specifying the actual data type in your VB/VBA code. My 2 cents, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in my >statement is I want a string, so I prefixed it as a string, but it may need >to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Wed Sep 10 15:20:07 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Wed, 10 Sep 2003 13:20:07 -0700 (PDT) Subject: [AccessD] Tree View Control Message-ID: <20030910202007.98300.qmail@web9802.mail.yahoo.com> So I have my treeview control and it is working fine - however I have some headings that have subelements. Currently the user can click on and select these headings. I would like the user not to beable to select the headings just the subelements of the heading. Does anyone know whoe to do this. Thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjhjr at cox.net Wed Sep 10 15:20:53 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 10 Sep 2003 16:20:53 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: References: Message-ID: <20030910202052.GA57165@kongemord.krig.net> On Tue, Sep 09, 2003 at 09:26:39PM -0400, Robert Gracie wrote: > > How does one call a help (html) file simply using the standard F1 key? Yet another way: Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) If KeyCode = vbKeyF1 Then KeyCode = 0 DoCmd.OpenForm FormName:="frmHelp", WindowMode:=acDialog End If End Sub Bob Hall From Subscriptions at servicexp.com Wed Sep 10 15:23:33 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 10 Sep 2003 16:23:33 -0400 Subject: [AccessD] How to over ride F1 Message-ID: Ah, man SO SIMPLE... Thanks a Million Gustav, just what I needed!! Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, September 10, 2003 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to over ride F1 Hi Robert A progam with no forms? That was new! Anyway - create an AutoKeys macro (look up the on-line help before you do). On the first line, type {F1} as macro name and assign RunProgram as its action and specify a command line like this: winhlp32 Reload your Access file and press F1. /gustav > Yes indeed, however that is not my problem. I would like to call the help > file with no form open. I don't use a switch board in any of my systems, and > have been constrained to having a form open AND visible to use the help... > I have a bunch of user who would just like to hit F1 (with no forms open) > and have the help file for my program load... > Any ideas > Robert Gracie > www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Wed Sep 10 15:23:34 2003 From: Subscriptions at servicexp.com (Robert Gracie) Date: Wed, 10 Sep 2003 16:23:34 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: <2423276730.20030910142247@cactus.dk> Message-ID: Ah, man SO SIMPLE... Thanks a Million Gustav, just what I needed!! Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Wednesday, September 10, 2003 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] How to over ride F1 Hi Robert A progam with no forms? That was new! Anyway - create an AutoKeys macro (look up the on-line help before you do). On the first line, type {F1} as macro name and assign RunProgram as its action and specify a command line like this: winhlp32 Reload your Access file and press F1. /gustav > Yes indeed, however that is not my problem. I would like to call the help > file with no form open. I don't use a switch board in any of my systems, and > have been constrained to having a form open AND visible to use the help... > I have a bunch of user who would just like to hit F1 (with no forms open) > and have the help file for my program load... > Any ideas > Robert Gracie > www.servicexp.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Wed Sep 10 15:38:05 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 10 Sep 2003 16:38:05 -0400 Subject: [AccessD] How to over ride F1 In-Reply-To: <20030910202052.GA57165@kongemord.krig.net> References: <20030910202052.GA57165@kongemord.krig.net> Message-ID: <20030910203804.GB57165@kongemord.krig.net> On Wed, Sep 10, 2003 at 04:20:53PM -0400, Bob Hall wrote: > On Tue, Sep 09, 2003 at 09:26:39PM -0400, Robert Gracie wrote: > > > > How does one call a help (html) file simply using the standard F1 key? > > Yet another way: > Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) > If KeyCode = vbKeyF1 Then > KeyCode = 0 > DoCmd.OpenForm FormName:="frmHelp", WindowMode:=acDialog > End If > End Sub Whoops. He did ask for a solution w/out forms. Funny how hitting the send button stimulates the brain cells. Bob Hall From cfoust at infostatsystems.com Wed Sep 10 15:38:54 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2003 13:38:54 -0700 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) Message-ID: I think the point is that in VBA you would normally use type specific prefixes, whatever you may do in ASP. I'm glad you have to maintain your code. It would drive me nuts and I'd wind up renaming everything! 8~{ Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) But why would you change your coding style in a scripted language? In ASP, I still use int and str as prefixes, even though everything is a variant. Along those lines, I use int for ALL integers, mainly because I only use an Integer type when absolutely necessary (if an API requires it...etc. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, September 10, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) ASP is a different animal though isn't it? Scripted code versus compiled and all that. Reddick naming conventions specify using "var" prefix for variants although we use "v" here (or "var"). Seems dangerous not specifying the actual data type in your VB/VBA code. My 2 cents, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in >my statement is I want a string, so I prefixed it as a string, but it >may need to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Wed Sep 10 15:43:05 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Wed, 10 Sep 2003 13:43:05 -0700 (PDT) Subject: [AccessD] Print Screen - Landscape Message-ID: <20030910204305.72371.qmail@web9804.mail.yahoo.com> I am using the following command to do a print screen: DoCmd.PrintOut acPrintAll, 1, 1, acHigh, 1, True When the report print is in portrait. Does anyone know how to make it come out landscape? Thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Wed Sep 10 16:18:55 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 10 Sep 2003 22:18:55 +0100 Subject: [AccessD] Print Screen - Landscape In-Reply-To: <20030910204305.72371.qmail@web9804.mail.yahoo.com> Message-ID: <000001c377e1$2464f950$b274d0d5@minster33c3r25> Dale Go into Print Setup for the form and set it to landscape. That form will then always printscreen that way. Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: 10 September 2003 21:43 To: accessd at databaseadvisors.com Subject: [AccessD] Print Screen - Landscape I am using the following command to do a print screen: DoCmd.PrintOut acPrintAll, 1, 1, acHigh, 1, True When the report print is in portrait. Does anyone know how to make it come out landscape? Thanks! Dale _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Sep 10 16:25:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 16:25:40 -0500 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period ) Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271CB@main2.marlow.com> Oh come on, that's not true. You can't possibly say that when you have to work on someone else's code, that if someone used 'strStatus' to represent a variant, which is going to be a string in all cases except when it's Null, that you would go and rename it everywhere. I think there is WAY too much fuss about this. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, September 10, 2003 3:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I think the point is that in VBA you would normally use type specific prefixes, whatever you may do in ASP. I'm glad you have to maintain your code. It would drive me nuts and I'd wind up renaming everything! 8~{ Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) But why would you change your coding style in a scripted language? In ASP, I still use int and str as prefixes, even though everything is a variant. Along those lines, I use int for ALL integers, mainly because I only use an Integer type when absolutely necessary (if an API requires it...etc. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, September 10, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) ASP is a different animal though isn't it? Scripted code versus compiled and all that. Reddick naming conventions specify using "var" prefix for variants although we use "v" here (or "var"). Seems dangerous not specifying the actual data type in your VB/VBA code. My 2 cents, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in >my statement is I want a string, so I prefixed it as a string, but it >may need to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 10 16:33:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 16:33:42 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to the buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271CC@main2.marlow.com> Anyone ever have any success with this API before? Drew From cfoust at infostatsystems.com Wed Sep 10 16:40:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2003 14:40:00 -0700 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) Message-ID: Actually, I would and I have. It's too confusing to maintain down the road otherwise. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Oh come on, that's not true. You can't possibly say that when you have to work on someone else's code, that if someone used 'strStatus' to represent a variant, which is going to be a string in all cases except when it's Null, that you would go and rename it everywhere. I think there is WAY too much fuss about this. Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, September 10, 2003 3:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I think the point is that in VBA you would normally use type specific prefixes, whatever you may do in ASP. I'm glad you have to maintain your code. It would drive me nuts and I'd wind up renaming everything! 8~{ Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) But why would you change your coding style in a scripted language? In ASP, I still use int and str as prefixes, even though everything is a variant. Along those lines, I use int for ALL integers, mainly because I only use an Integer type when absolutely necessary (if an API requires it...etc. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hshhp.org] Sent: Wednesday, September 10, 2003 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) ASP is a different animal though isn't it? Scripted code versus compiled and all that. Reddick naming conventions specify using "var" prefix for variants although we use "v" here (or "var"). Seems dangerous not specifying the actual data type in your VB/VBA code. My 2 cents, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) Do you write ASP pages? If so, do you prefix all of your variables with var? Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Wednesday, September 10, 2003 9:20 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) I don't get it...how do you ever know what the datatype is?? How do you know when an 'str' is really a string and when it will accept a form reference. How about overflows? If you follow that logic, what looks like a long, may be an integer. I suppose you can do whatever you want, but if the logic is "I may need to have something else here but I want a string"...then why not (as I believe William suggested) make them all variant and leave off the datatype 'convention' (not). _d "Things are only free to the extent that you don't pay for them".-Don Elliker >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Days Past Due - Grace Period >Date: Tue, 9 Sep 2003 16:33:06 -0500 > >I don't think I have every prefixed a Variant as var, yet. My logic in >my statement is I want a string, so I prefixed it as a string, but it >may need to be a variant, so it's declared as a variant. > >Drew > >-----Original Message----- >From: Gustav Brock [mailto:gustav at cactus.dk] >Sent: Tuesday, September 09, 2003 3:24 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Days Past Due - Grace Period > > >Hi Drew > > > .. I left the strStatus argument as a variant, in case it is ever > > passed a null > >Then you should have renamed it varStatus ... > >/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 _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ **** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ **** ******* _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 10 17:21:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 17:21:51 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271CD@main2.marlow.com> Never mind, I figured it out. What is the difference between 0 and 0& though? Drew -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 4:34 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] ReadDirectoryChangesW, not returning anything to the buffer. Anyone ever have any success with this API before? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 10 17:24:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Sep 2003 08:24:37 +1000 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to the buffer. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271CC@main2.marlow.com> Message-ID: <3F603145.4918.FB6D0@localhost> On 10 Sep 2003 at 16:33, Drew Wutka wrote: > Anyone ever have any success with this API before? > > Drew > _______________________________________________ Are you trying to us it with W9x? It's only available in NT/2K/XP Toss me a copy of the code you are using if you like. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Wed Sep 10 17:33:50 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Sep 2003 08:33:50 +1000 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271CD@main2.marlow.com> Message-ID: <3F60336E.17436.18273A@localhost> On 10 Sep 2003 at 17:21, Drew Wutka wrote: > Never mind, I figured it out. What is the difference between 0 and 0& > though? > 0& forces it to be passed as a 32 bit Long or DWord). 0 will be passed as a 16 bit Integer. For API calls always pass declared variables/equates (with suitable prefixes ) or typed values to avoid this sort of problem. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From DWUTKA at marlow.com Wed Sep 10 17:33:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 17:33:48 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271CE@main2.marlow.com> Using 2000....what I'm making will only work in NT systems, I know. I figured it out. Long story, and it was a COMPLETE pain in the butt to figure out! Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, September 10, 2003 5:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ReadDirectoryChangesW, not returning anything to the buffer. On 10 Sep 2003 at 16:33, Drew Wutka wrote: > Anyone ever have any success with this API before? > > Drew > _______________________________________________ Are you trying to us it with W9x? It's only available in NT/2K/XP Toss me a copy of the code you are using if you like. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 10 17:44:52 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 17:44:52 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271CF@main2.marlow.com> Thanks, complete brain fart. I had run into that before, and completely forgot. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, September 10, 2003 5:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. On 10 Sep 2003 at 17:21, Drew Wutka wrote: > Never mind, I figured it out. What is the difference between 0 and 0& > though? > 0& forces it to be passed as a 32 bit Long or DWord). 0 will be passed as a 16 bit Integer. For API calls always pass declared variables/equates (with suitable prefixes ) or typed values to avoid this sort of problem. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Sep 10 17:52:01 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 10 Sep 2003 17:52:01 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C91E@TAPPEEXCH01> Of course, to Drew, an integer and a long integer are the same thing! -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 5:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Thanks, complete brain fart. I had run into that before, and completely forgot. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, September 10, 2003 5:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. On 10 Sep 2003 at 17:21, Drew Wutka wrote: > Never mind, I figured it out. What is the difference between 0 and 0& > though? > 0& forces it to be passed as a 32 bit Long or DWord). 0 will be passed as a 16 bit Integer. For API calls always pass declared variables/equates (with suitable prefixes ) or typed values to avoid this sort of problem. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From DWUTKA at marlow.com Wed Sep 10 18:05:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 18:05:01 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271D0@main2.marlow.com> LOL. Very funny. I do use int for all integers, because I always dimension as Long, unless I absolutely require an integer (which is only for API calls) Drew -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Wednesday, September 10, 2003 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Of course, to Drew, an integer and a long integer are the same thing! -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 10, 2003 5:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Thanks, complete brain fart. I had run into that before, and completely forgot. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Wednesday, September 10, 2003 5:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. On 10 Sep 2003 at 17:21, Drew Wutka wrote: > Never mind, I figured it out. What is the difference between 0 and 0& > though? > 0& forces it to be passed as a 32 bit Long or DWord). 0 will be passed as a 16 bit Integer. For API calls always pass declared variables/equates (with suitable prefixes ) or typed values to avoid this sort of problem. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Sep 10 18:59:41 2003 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 10 Sep 2003 18:59:41 -0500 Subject: [AccessD] Problems renaming secured database In-Reply-To: Message-ID: <003001c377f7$99a746d0$de1811d8@DanWaters> If the database is opened with a shortcut, you'll need to change the shortcut properties to apply the correct database name. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Don Elliker Sent: Wednesday, September 10, 2003 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] Problems renaming secured database Are there any problems renaming a database that is secured thru A2K Access Security? Just thought I'd ask before I hose myself. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Mcgillivray, Donald [ITS]" > >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Need help with Eval() function >Date: Wed, 10 Sep 2003 11:58:30 -0500 > >Stuart, that's exactly the thing! I modified your code sample to fit >my situation, and it works like a charm. > >Thanks so much for the advice! > >This list is the best! > >Don > >-----Original Message----- >From: Mcgillivray, Donald [ITS] >Sent: Tuesday, September 09, 2003 4:19 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >Very cool. My formulae do consist of field names and numbers only, so >this should give me a good start in the right direction. They do come >from different tables though, so I'll need to hammer on this for a bit >before I get it to work. > >I've been working in Access97, and the Replace function appears not to >be there. I can switch to XP with no real problem - assuming I'll find >it there, along with more details about how to use it. > >Thanks for the assist! I'll let you know how it all works out. > >Don > >-----Original Message----- >From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] >Sent: Tuesday, September 09, 2003 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Need help with Eval() function > > >On 9 Sep 2003 at 17:12, Mcgillivray, Donald [ITS] wrote: > > I have a table of material types that may be added to over time. I > > want the cost calculation to be dynamic, such that when a new > > material > > > type is added, the user can define the formula that will deliver its > > cost. I intended to build a wizard-type form that would guide the > > user through the creation of the formula by allowing the selection > > of fields and operators. I wanted to store the formula string in > > the material types table and use it to drive the cost calculation > > when called. My main objective is to avoid having to open up some > > custom function to insert new rules if a material type is added that > > doesn't fit an existing cost formula; I want this to be hands-off > > for me once I turn it over. > > > > Am I dreaming? Or is there another smarter way to do this? > > > >If your formula consists of just fieldnames, numbers and operators, >Eval() will still do it. But you will need to use it inside a function >so that you can substitue the values for the fieldnames in the string >before you evaluate it Here's a simple function I've just knocked up to >do it. I an substituting 0 for Nulls. You may need to handle Nulls >differently depending on how your formulae work. > >Also it will get slightly more complex if some of the values are stored >in other tables - not that much harder, you just need to grab the >fieldnames and values in a similar fashion from other tables. > >Function Cost(Formula As String, RecordNum As Long) As Currency > Dim loopcount As Long > Dim rs As Recordset > Set rs = CurrentDb.OpenRecordset("Select * from TestTable where ID >= " & RecordNum) > Formula = UCase$(Formula) > For loopcount = 0 To rs.Fields.Count - 1 > Formula = Replace(Formula, UCase$(rs(loopcount).Name), >NZ(rs(loopcount),"0") > Next > Cost = Eval(Formula) >End Function > >-- >Lexacorp Ltd >http://www.lexacorp.com.pg >Information Technology Consultancy, Software Development,System >Support. > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Fast, faster, fastest: Upgrade to Cable or DSL today! https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Sep 10 19:28:53 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 10 Sep 2003 20:28:53 -0400 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) References: <2F8793082E00D4119A1700B0D0216BF8022271CB@main2.marlow.com> Message-ID: <000a01c377fb$adf9ed00$6001a8c0@dejpolsys> ...I can ...have ...will :) ...working with my own code is difficult enough using naming conventions ...trying to figure out what someone else intended when they don't use Reddick and/or don't comment their code/conventions drives me ape ...you work in a different environment than I do ...I constantly get handed code that someone else did, they are no longer available, and no one in the client's office has a clue ...and most of it isn't written using Reddick or comments ...actually most of it would be better off dumped in the bit bucket but that's usually not an option ...so, if I'm doing anything other than a quick fix, my first task is to standardize the code using naming conventions and comments where possible ...all while loudly and inventively cursing the bunghole who wrote it :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 10, 2003 5:25 PM Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) > Oh come on, that's not true. You can't possibly say that when you have to > work on someone else's code, that if someone used 'strStatus' to represent a > variant, which is going to be a string in all cases except when it's Null, > that you would go and rename it everywhere. > > I think there is WAY too much fuss about this. > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, September 10, 2003 3:39 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > I think the point is that in VBA you would normally use type specific > prefixes, whatever you may do in ASP. I'm glad you have to maintain > your code. It would drive me nuts and I'd wind up renaming everything! > 8~{ > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 11:51 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > But why would you change your coding style in a scripted language? In > ASP, I still use int and str as prefixes, even though everything is a > variant. > > Along those lines, I use int for ALL integers, mainly because I only use > an Integer type when absolutely necessary (if an API requires it...etc. > > Drew > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, September 10, 2003 1:28 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > ASP is a different animal though isn't it? Scripted code versus > compiled and all that. Reddick naming conventions specify using "var" > prefix for variants although we use "v" here (or "var"). Seems > dangerous not specifying the actual data type in your VB/VBA code. > > My 2 cents, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 2:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > Do you write ASP pages? If so, do you prefix all of your variables with > var? > > Drew > > -----Original Message----- > From: Don Elliker [mailto:delliker at hotmail.com] > Sent: Wednesday, September 10, 2003 9:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > I don't get it...how do you ever know what the datatype is?? How do you > know > > when an 'str' is really a string and when it will accept a form > reference. How about overflows? If you follow that logic, what looks > like a long, may be an integer. I suppose you can do whatever you want, > but if the logic is "I may need to have something else here but I want a > string"...then why not (as I believe William suggested) make them all > variant and leave off the datatype > 'convention' (not). > _d > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: Drew Wutka > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] Days Past Due - Grace Period > >Date: Tue, 9 Sep 2003 16:33:06 -0500 > > > >I don't think I have every prefixed a Variant as var, yet. My logic in > > >my statement is I want a string, so I prefixed it as a string, but it > >may need to be a variant, so it's declared as a variant. > > > >Drew > > > >-----Original Message----- > >From: Gustav Brock [mailto:gustav at cactus.dk] > >Sent: Tuesday, September 09, 2003 3:24 AM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Days Past Due - Grace Period > > > > > >Hi Drew > > > > > .. I left the strStatus argument as a variant, in case it is ever > > > passed a null > > > >Then you should have renamed it varStatus ... > > > >/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 > > _________________________________________________________________ > Use custom emotions -- try MSN Messenger 6.0! > http://www.msnmessenger-download.com/tracking/reach_emoticon > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ > **** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > **** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From szayko at secor.com Wed Sep 10 22:15:08 2003 From: szayko at secor.com (Stephen R. Zayko) Date: Wed, 10 Sep 2003 23:15:08 -0400 Subject: [AccessD] Microsoft Graph 2000 Chart In-Reply-To: <20030910202007.98300.qmail@web9802.mail.yahoo.com> Message-ID: <001401c37812$eaf27ad0$343da8c0@STEVE2K> Could anyone tell me how to reference parts of a "Microsoft Graph 2000 Chart" in an Access2000 report? Specifically what I want to do is set the endpoints of the X-axis to dates defined on a form that calls the report. The graph is an Unbound object frame with the OLE Class = "Microsoft Graph 2000 Chart" I have tried Me.UnboundOLE1.Graph.Xaxis.Minimum = #09/03/03# And many other similar permutations with no luck. Help is also non-existent for MS graph. Thanks Stephen R. Zayko, P.E. SECOR International Inc. 2321 Club Meridian Drive, Ste E Okemos, MI 48864 (p) (517) 349-9499 ex24 (f) (517) 349-6863 (m) (517) 204-5136 szayko at secor.com www.secor.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjhjr at cox.net Wed Sep 10 22:30:45 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 10 Sep 2003 23:30:45 -0400 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period) In-Reply-To: <000a01c377fb$adf9ed00$6001a8c0@dejpolsys> References: <2F8793082E00D4119A1700B0D0216BF8022271CB@main2.marlow.com> <000a01c377fb$adf9ed00$6001a8c0@dejpolsys> Message-ID: <20030911033044.GA82827@kongemord.krig.net> On Wed, Sep 10, 2003 at 08:28:53PM -0400, William Hindman wrote: > ...I can ...have ...will :) > > ...working with my own code is difficult enough using naming conventions > ...trying to figure out what someone else intended when they don't use > Reddick and/or don't comment their code/conventions drives me ape ...you > work in a different environment than I do ...I constantly get handed code > that someone else did, they are no longer available, and no one in the > client's office has a clue ...and most of it isn't written using Reddick or > comments ...actually most of it would be better off dumped in the bit bucket > but that's usually not an option ...so, if I'm doing anything other than a > quick fix, my first task is to standardize the code using naming conventions > and comments where possible ...all while loudly and inventively cursing the > bunghole who wrote it :)))) Agreed. Personally, I'm inclined to introduce goats into the person's ancestry. And they're not healthy goats. :) I find that rewriting the code brings me up to speed on how the code works about as fast as anything else I could do, and ensures that I'll understand it the next time I see it. Bob Hall From hsimpson88 at hotmail.com Wed Sep 10 23:09:27 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Wed, 10 Sep 2003 22:09:27 -0600 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: Odd. Although I have a preference for longs myself, it turns out that a number of standard Access functions use other numeric types so there is little need to look for old API calls to run into these. For example, the mouse cooridinate parameters in a mouse move, down or up event are singles even though the values are always 'whole' numbers while the button and shift parameters are integer types. The standard cancel parameter for open events is also typed as an integer and you had better dimension a compatible numeric type if you are passing a value to one of these standard procedures as a variable, though the mouse parameters are technically return or read only values 'returned' by a sub procedure. My rule is to use a compatible type and if a long will work, that's the ticket. Hen >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t >he buffer. >Date: Wed, 10 Sep 2003 18:05:01 -0500 > >LOL. Very funny. > >I do use int for all integers, because I always dimension as Long, unless I >absolutely require an integer (which is only for API calls) > >Drew _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Wed Sep 10 23:12:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 23:12:23 -0500 Subject: [AccessD] Naming Convention (was Days Past Due - Grace Period ) Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271D3@main2.marlow.com> You are right, our situations are different, but I do have to deal with other people's code once in a while. I never have a problem with naming conventions though, probably due to my own usage of a naming convention. I never rely on someone's naming convention, it just isn't one of major concerns. My big issues usually surround extremely poor logic, or poor techniques. (I can't tell you how many access db's I've been handed where a form is filtered to the hilt, instead of building a good query to deal with showing new data.) Drew -----Original Message----- From: William Hindman To: Access Developers discussion and problem solving Sent: 9/10/03 7:28 PM Subject: Re: [AccessD] Naming Convention (was Days Past Due - Grace Period) ...I can ...have ...will :) ...working with my own code is difficult enough using naming conventions ...trying to figure out what someone else intended when they don't use Reddick and/or don't comment their code/conventions drives me ape ...you work in a different environment than I do ...I constantly get handed code that someone else did, they are no longer available, and no one in the client's office has a clue ...and most of it isn't written using Reddick or comments ...actually most of it would be better off dumped in the bit bucket but that's usually not an option ...so, if I'm doing anything other than a quick fix, my first task is to standardize the code using naming conventions and comments where possible ...all while loudly and inventively cursing the bunghole who wrote it :)))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Drew Wutka" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, September 10, 2003 5:25 PM Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace Period) > Oh come on, that's not true. You can't possibly say that when you have to > work on someone else's code, that if someone used 'strStatus' to represent a > variant, which is going to be a string in all cases except when it's Null, > that you would go and rename it everywhere. > > I think there is WAY too much fuss about this. > > Drew > > -----Original Message----- > From: Charlotte Foust [mailto:cfoust at infostatsystems.com] > Sent: Wednesday, September 10, 2003 3:39 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > I think the point is that in VBA you would normally use type specific > prefixes, whatever you may do in ASP. I'm glad you have to maintain > your code. It would drive me nuts and I'd wind up renaming everything! > 8~{ > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 11:51 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > But why would you change your coding style in a scripted language? In > ASP, I still use int and str as prefixes, even though everything is a > variant. > > Along those lines, I use int for ALL integers, mainly because I only use > an Integer type when absolutely necessary (if an API requires it...etc. > > Drew > > -----Original Message----- > From: Jim DeMarco [mailto:Jdemarco at hshhp.org] > Sent: Wednesday, September 10, 2003 1:28 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > ASP is a different animal though isn't it? Scripted code versus > compiled and all that. Reddick naming conventions specify using "var" > prefix for variants although we use "v" here (or "var"). Seems > dangerous not specifying the actual data type in your VB/VBA code. > > My 2 cents, > > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 2:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > Do you write ASP pages? If so, do you prefix all of your variables with > var? > > Drew > > -----Original Message----- > From: Don Elliker [mailto:delliker at hotmail.com] > Sent: Wednesday, September 10, 2003 9:20 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Naming Convention (was Days Past Due - Grace > Period) > > > I don't get it...how do you ever know what the datatype is?? How do you > know > > when an 'str' is really a string and when it will accept a form > reference. How about overflows? If you follow that logic, what looks > like a long, may be an integer. I suppose you can do whatever you want, > but if the logic is "I may need to have something else here but I want a > string"...then why not (as I believe William suggested) make them all > variant and leave off the datatype > 'convention' (not). > _d > > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: Drew Wutka > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] Days Past Due - Grace Period > >Date: Tue, 9 Sep 2003 16:33:06 -0500 > > > >I don't think I have every prefixed a Variant as var, yet. My logic in > > >my statement is I want a string, so I prefixed it as a string, but it > >may need to be a variant, so it's declared as a variant. > > > >Drew > > > >-----Original Message----- > >From: Gustav Brock [mailto:gustav at cactus.dk] > >Sent: Tuesday, September 09, 2003 3:24 AM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Days Past Due - Grace Period > > > > > >Hi Drew > > > > > .. I left the strStatus argument as a variant, in case it is ever > > > passed a null > > > >Then you should have renamed it varStatus ... > > > >/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 > > _________________________________________________________________ > Use custom emotions -- try MSN Messenger 6.0! > http://www.msnmessenger-download.com/tracking/reach_emoticon > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > ************************************************************************ > **** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > **** > ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Sep 10 23:16:57 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 23:16:57 -0500 Subject: [AccessD] ReadDirectoryChangesW, New problem... Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271D4@main2.marlow.com> Okay, I have the ReadDirectoryChangesW API working great.....on Windows 2000 only.(I'll assume it works fine in XP too). My problem now is that I can't get it to work in NT 4.0. It's a problem with the Security attribute. A null value works fine for NT 5.0 and up, but with NT 4.0, it doesn't just use the current security, it needs a Security Attribute with a Security Descriptor, however, that is completely new territory for me! (I've drowned myself in the niceties of w2k, but we have NT 4.0 servers, for the most part, and I want this thing to work on those). The capability of that API is just plain nifty. I can watch file i/o operations even on a remote machine, simply by using a mapped drive or UNC path with the API. Any thoughts? Drew From DWUTKA at marlow.com Wed Sep 10 23:18:46 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 10 Sep 2003 23:18:46 -0500 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271D5@main2.marlow.com> It shouldn't even be a preference. Longs are faster in a 32 bit system, so unless it's absolutely necessary to use an Integer (API Calls), there is really no reason to use an Integer. Drew -----Original Message----- From: Henry Simpson To: accessd at databaseadvisors.com Sent: 9/10/03 11:09 PM Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Odd. Although I have a preference for longs myself, it turns out that a number of standard Access functions use other numeric types so there is little need to look for old API calls to run into these. For example, the mouse cooridinate parameters in a mouse move, down or up event are singles even though the values are always 'whole' numbers while the button and shift parameters are integer types. The standard cancel parameter for open events is also typed as an integer and you had better dimension a compatible numeric type if you are passing a value to one of these standard procedures as a variable, though the mouse parameters are technically return or read only values 'returned' by a sub procedure. My rule is to use a compatible type and if a long will work, that's the ticket. Hen >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t >he buffer. >Date: Wed, 10 Sep 2003 18:05:01 -0500 > >LOL. Very funny. > >I do use int for all integers, because I always dimension as Long, unless I >absolutely require an integer (which is only for API calls) > >Drew _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 11 03:16:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Sep 2003 10:16:05 +0200 Subject: [AccessD] Send Email over HTTP In-Reply-To: References: Message-ID: <1856794950.20030911101605@cactus.dk> Hi all Given the many posts on problems sending e-mails from clients' machines and/or mail clients, here's an alternative approach using HTTP and an outside Web server and SMTP server. I've added an interesting example to demonstrate something I don't think many people are aware of: You can send email over HTTP. Basically, you can use Chilkat XML in combination with the MWestern Email component to send email such that the email originates from your Web server. If you have an application that is distributed to client computers where you want to add email sending capability, but you are not assured of access to an SMTP server, you can use this solution to send mail. Here is the example: http://www.example-code.com/vb/vbHttpMail.asp Best Regards, Matt Fausey Chilkat Software, Inc. http://www.chilkatsoft.com /gustav From adtp at touchtelindia.net Thu Sep 11 03:39:20 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 11 Sep 2003 14:09:20 +0530 Subject: [AccessD] Need help with Eval() function References: <6FC1C7A6E7BD5540AB0A8436713C43BF03F414B7@PKDWB01C.ad.sprint.com> Message-ID: <005001c37840$db3c7b80$86edf73d@winxp> Don, The function suggested by Stuart is truly remarkable for its elegance and generic applicability. Certain points needing care are reiterated below - Keeping in view the fact that in the present context, after carrying out all steps involving Replace() function, the string argument for Eval() function is required to finally contain only numbers or arithmetic operators, the formula string should not contain any table names. Only make sure that the field names used are unique so that there is no ambiguity as to which table it might belong to. Since your formula string uses fields from two different tables, you cannot yet jump to the final query displaying cost calculation - as the function looks at a single record source for its iterations of Replace() action. It also depends upon ID_No for identifying the record in question. It is therefore necessary to create a PreFinal Query based upon the two tables. In this query, the primary key for volume table should be given an alias Q_ID. This is to ensure that the coding in cost function need not be disturbed because of different names of primary keys. (Care is to be taken that the name of PreFinal query and the alias used for the relevant primary key always match those used in the function code). Query Q_PreFinal will be the source for final query, in which the Cost column will be generated by the following calculated field - Cost: Fn_Cost([CalcFormula],[Q_ID]) Code for Fn_Cost() so as to suit the above - Function Fn_Cost(Formula As String, _ RecordNum As Long) As Currency Dim loopcount As Long Dim rs As dao.Recordset Set rs = CurrentDb.OpenRecordset("Select * from " & _ "Q_PreFinal " & _ "where Q_ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, _ UCase$(rs(loopcount).Name), _ Nz(rs(loopcount), "0")) Next Fn_Cost = Eval(Formula) End Function Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Mcgillivray, Donald [ITS] To: Access Developers discussion and problem solving Sent: Wednesday, September 10, 2003 22:28 Subject: RE: [AccessD] Need help with Eval() function Stuart, that's exactly the thing! I modified your code sample to fit my situation, and it works like a charm. Thanks so much for the advice! This list is the best! Don -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Thu Sep 11 03:57:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Sep 2003 10:57:16 +0200 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271D0@main2.marlow.com> References: <2F8793082E00D4119A1700B0D0216BF8022271D0@main2.marlow.com> Message-ID: <1639266714.20030911105716@cactus.dk> Hi Drew Very good Stuart and Brett! So, Drew, how would you assign a Null to these if not dim'ed as variants?? /gustav > LOL. Very funny. > I do use int for all integers, because I always dimension as Long, unless I > absolutely require an integer (which is only for API calls) > Drew > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Wednesday, September 10, 2003 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > Of course, to Drew, an integer and a long integer are the same thing! > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Wednesday, September 10, 2003 5:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > Thanks, complete brain fart. I had run into that before, and completely > forgot. > Drew > -----Original Message----- > From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] > Sent: Wednesday, September 10, 2003 5:34 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to > t he buffer. > On 10 Sep 2003 at 17:21, Drew Wutka wrote: >> Never mind, I figured it out. What is the difference between 0 and 0& >> though? > 0& forces it to be passed as a 32 bit Long or DWord). > 0 will be passed as a 16 bit Integer. > For API calls always pass declared variables/equates (with suitable > prefixes ) or typed values to avoid this sort of problem. From pedro at plex.nl Thu Sep 11 12:06:25 2003 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 11 Sep 2003 12:06:25 (MET DST) Subject: [AccessD] delete duplicates Message-ID: <200309111006.h8BA6PsC018296@mailhostC.plex.net> Hello Gustav, Thanks for the answer. But when i use your expression i get an erro that i can't seem to solve. What am i doing wrong. Pedro DELETE [test.FieldA] FROM test WHERE Not In (Select FirstOfPK from Query1); > Hi Pedro > > Yes, look up the archive on > > Eliminating duplicate rows > > for June this year. > > /gustav From gustav at cactus.dk Thu Sep 11 05:24:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Sep 2003 12:24:06 +0200 Subject: [AccessD] delete duplicates In-Reply-To: <200309111006.h8BA6PsC018296@mailhostC.plex.net> References: <200309111006.h8BA6PsC018296@mailhostC.plex.net> Message-ID: <10414476425.20030911122406@cactus.dk> Hi Pedro > Thanks for the answer. > But when i use your expression i get an erro that i can't seem to solve. > What am i doing wrong. > Pedro > DELETE [test.FieldA] > FROM test > WHERE Not In (Select FirstOfPK from Query1); You need to use the full syntax of a "normal" delete query. Something like: DELETE * FROM test WHERE test.PK Not In (Select FirstOfPK from Query1); Remember to run this first on some sample data and/or save a decent backup of your database! /gustav >> Yes, look up the archive on >> >> Eliminating duplicate rows >> >> for June this year. From mikedorism at ntelos.net Thu Sep 11 05:33:39 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Thu, 11 Sep 2003 06:33:39 -0400 Subject: [AccessD] Tree View Control In-Reply-To: <20030910202007.98300.qmail@web9802.mail.yahoo.com> Message-ID: <001901c37850$2d839220$ed320cd8@hargrove.internal> What I have done is set my headings to a particular forecolor when I built the tree. During the node click event, I check the forecolor and disallow the node click (Node.Selected = False) if the entry clicked on is a heading. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Wednesday, September 10, 2003 4:20 PM To: accessd at databaseadvisors.com Subject: [AccessD] Tree View Control So I have my treeview control and it is working fine - however I have some headings that have subelements. Currently the user can click on and select these headings. I would like the user not to beable to select the headings just the subelements of the heading. Does anyone know whoe to do this. Thanks! Dale _____ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Thu Sep 11 05:40:23 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 11 Sep 2003 12:40:23 +0200 (CEST) Subject: [AccessD] Getting Field Type From ADO Control Message-ID: <2362278.1063276823117.JavaMail.www@wwinf3001> To all, I have a field selection box in a find form that I have created myself, but what I need to know is what datatype the field is that the user selects. Has anyone ever done this and can tell me how....I tried the following line of code which runs through all the fields but it returns a number...... MsgBox frmPersonnel.ADOPersonnel.Recordset.Fields(fldCounter).Type Anyone have any ideas ? Thanks in advance for any help received....... Paul Hartland Database Designer/Programmer -------------- next part -------------- An HTML attachment was scrubbed... URL: From tortise at paradise.net.nz Thu Sep 11 05:41:45 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Thu, 11 Sep 2003 22:41:45 +1200 Subject: [AccessD] Sensing Triggering Form Recordset Refreshing References: <2F8793082E00D4119A1700B0D0216BF8022271D0@main2.marlow.com> <1639266714.20030911105716@cactus.dk> Message-ID: <00e501c37851$4bd8f660$0900a8c0@P1200n> Hi I have a form with multiple users using. When a new record is added by one user the other users dropdown boxes show the new records (once saved) but navigating to these new records fails, code below, finding the first record. Closing and reopening the form fixes the problem but this is labour intensive. Can someone tell me how to sense when a new record has been added elsewhere and to somehow to tell the form to somehow refresh when required? Navigation code from one dropdown box: Private Sub cboCompany_AfterUpdate() On Error GoTo cboCompany_AfterUpdate_Err ' Find the record that matches the control. ' >>> Need to add in some code here (I think) to sense that there are new records present and refresh the form records before navigating ' IF what? 'then 'Refresh something somehow... 'end if Me.RecordsetClone.FindFirst "[Counter] = " & Me![cboCompany] Me.Bookmark = Me.RecordsetClone.Bookmark 'Record each search Dim dbs As Database, rst As Recordset ' Return Database variable pointing to current database. Set dbs = CurrentDb Set rst = dbs.OpenRecordset("tblSearch") With rst ' Add new record to end of Recordset object. .AddNew !ContactsCounterNumber = Me![txtCounter] ' Add data. .Update ' Save changes. End With DoCmd.GoToControl "txtCompany" cboCompany_AfterUpdate_Exit: Exit Sub cboCompany_AfterUpdate_Err: MsgBox Error$ Resume cboCompany_AfterUpdate_Exit End Sub TIA Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. From stuart at lexacorp.com.pg Thu Sep 11 06:08:54 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Sep 2003 21:08:54 +1000 Subject: [AccessD] Getting Field Type From ADO Control In-Reply-To: <2362278.1063276823117.JavaMail.www@wwinf3001> Message-ID: <3F60E466.21719.2CB6F53@localhost> On 11 Sep 2003 at 12:40, paul.hartland at fsmail.net wrote: > To all, > I have a field selection box in a find form that I have created myself, but what I need to know is what datatype the field is that the user selects. > Has anyone ever done this and can tell me how....I tried the following line of code which runs through all the fields but it returns a number...... > MsgBox frmPersonnel.ADOPersonnel.Recordset.Fields(fldCounter).Type > Anyone have any ideas ? > Thanks in advance for any help received....... > Paul Hartland > Database Designer/Programmer Field types are enumerated constants. In your VB project, set a reference to DAO then open the Object Browser. Open the DAO library and look at Globals. You will see things like: dbBigInt = 16 dbBinary = 9 dbBooelan = 1 dbByte = 2 dbChar = 18 dbCurrency = 5 dbDate = 8 dbDecimal = 20 dbDouble = 7 dbFloat = 21 dbGUID = 15 dbInteger = 3 dbLong = 4 dbMemo = 12 dbNumeric = 19 dbSingle = 6 dbText = 10 dbTime = 22 dbTimestamp = 23 -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From stuart at lexacorp.com.pg Thu Sep 11 06:36:16 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 11 Sep 2003 21:36:16 +1000 Subject: [AccessD] Getting Field Type From ADO Control In-Reply-To: <3F60E466.21719.2CB6F53@localhost> References: <2362278.1063276823117.JavaMail.www@wwinf3001> Message-ID: <3F60EAD0.10935.2E47D6E@localhost> On 11 Sep 2003 at 21:08, Stuart McLachlan wrote: > Field types are enumerated constants. > > In your VB project, set a reference to DAO then open the Object > Browser. > > Open the DAO library and look at Globals. > Just noticed, you said ADO, not DAO. ADO Constants have different values. ie dbBigInt = 16, adBigInt = 20 dbBinary = 9, adBinary = 128 dbBoolean = 1, adBoolean = 11 etc. You will ned to set the reference to ADO , not DAO to get the correct values -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From donald.a.Mcgillivray at mail.sprint.com Thu Sep 11 10:46:47 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 11 Sep 2003 10:46:47 -0500 Subject: [AccessD] Need help with Eval() function Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF03F41D3D@PKDWB01C.ad.sprint.com> Thanks for the followup. Actually, my situation involves four separate tables, all of which are included in the base query from which this function will be called. I revised Stuart's function as shown below to accept as arguments the formula string and the primary keys from each table. The field names referred to in the formula string are unique. The function iterates through each of the tables, replacing any of the field names found with their values. Although this undermines the generic applicability of the function, it serves my purposes well, and delivers the required result with a minimum of effort. In this application, I don't anticipate needing the function for other purposes, and, in any case, it is easily adapted if necessary. Function Cost(strFormula As String, _ lngLocRNum As Long, _ lngProdRNum As Long, _ lngVolRNum As Long, _ lngMatRNum As Long) As Currency On Error GoTo ErrorHandle Dim lngLoopCount As Long, intProcCount As Long, strSQL(1 To 4) As String, rs As Recordset strSQL(1) = "Select * from tblLocations where locID = " & lngLocRNum strSQL(2) = "Select * from tblProducts where prdID = " & lngProdRNum strSQL(3) = "Select * from tblVolumeDetails where volID = " & lngVolRNum strSQL(4) = "Select * from tblMaterials where matID = " & lngMatRNum strFormula = UCase$(strFormula) For intProcCount = 1 To 4 Set rs = CurrentDb.OpenRecordset(strSQL(intProcCount)) For lngLoopCount = 0 To rs.Fields.Count - 1 strFormula = Replace(strFormula, UCase$(rs(lngLoopCount).Name), Nz(rs(lngLoopCount), "0")) Next lngLoopCount Next intProcCount Cost = Eval(strFormula) FunctionExit: Set rs = Nothing Exit Function ErrorHandle: Select Case Err.Number Case Else MsgBox Err.Number & " " & Err.Description & vbCrLf & vbCrLf & "Error in function Cost" End Select Resume FunctionExit End Function - Don McGillivray -----Original Message----- From: A.D.Tejpal [mailto:adtp at touchtelindia.net] Sent: Thursday, September 11, 2003 1:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Need help with Eval() function Don, The function suggested by Stuart is truly remarkable for its elegance and generic applicability. Certain points needing care are reiterated below - Keeping in view the fact that in the present context, after carrying out all steps involving Replace() function, the string argument for Eval() function is required to finally contain only numbers or arithmetic operators, the formula string should not contain any table names. Only make sure that the field names used are unique so that there is no ambiguity as to which table it might belong to. Since your formula string uses fields from two different tables, you cannot yet jump to the final query displaying cost calculation - as the function looks at a single record source for its iterations of Replace() action. It also depends upon ID_No for identifying the record in question. It is therefore necessary to create a PreFinal Query based upon the two tables. In this query, the primary key for volume table should be given an alias Q_ID. This is to ensure that the coding in cost function need not be disturbed because of different names of primary keys. (Care is to be taken that the name of PreFinal query and the alias used for the relevant primary key always match those used in the function code). Query Q_PreFinal will be the source for final query, in which the Cost column will be generated by the following calculated field - Cost: Fn_Cost([CalcFormula],[Q_ID]) Code for Fn_Cost() so as to suit the above - Function Fn_Cost(Formula As String, _ RecordNum As Long) As Currency Dim loopcount As Long Dim rs As dao.Recordset Set rs = CurrentDb.OpenRecordset("Select * from " & _ "Q_PreFinal " & _ "where Q_ID = " & RecordNum) Formula = UCase$(Formula) For loopcount = 0 To rs.Fields.Count - 1 Formula = Replace(Formula, _ UCase$(rs(loopcount).Name), _ Nz(rs(loopcount), "0")) Next Fn_Cost = Eval(Formula) End Function Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Mcgillivray, Donald [ITS] To: Access Developers discussion and problem solving Sent: Wednesday, September 10, 2003 22:28 Subject: RE: [AccessD] Need help with Eval() function Stuart, that's exactly the thing! I modified your code sample to fit my situation, and it works like a charm. Thanks so much for the advice! This list is the best! Don -------------- next part -------------- An HTML attachment was scrubbed... URL: From hsimpson88 at hotmail.com Thu Sep 11 10:55:51 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Thu, 11 Sep 2003 09:55:51 -0600 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t he buffer. Message-ID: The manner in which a form or report open event cancel parameter appears to operate is as a boolean. Passing in a zero permits the object to open and a non zero numeric cancels the opening. Microsoft declares this parameter as an Integer likely because the boolean datatype was added to the VBA language after the Cancel parameter was first created and was left in place for backward compatibility. In fact the compatiblity goes back to the 16 bit versions of Access so we continue to see this kind of anomaly. Why something as fundamental to the OS as mouse location parameters, where events fire many times per second, are still singles (and integer for the button parameters) is less defensible if longs are measurably more effiicient than other datatypes. I did a little test with the cancel parameter in a form. I dimensioned a long variable and set it to zero and set the cancel paramter to the long and the form opened witout error. When I set the variable to 64,000 the open event cancelled and when I tried 200,000, an out of range error was raised rather than a data type error. This suggests to me that there was an attempt to coerce a datatype conversion on the Long variable to match the integer type of the cancel parameter before passing to the procedure. If you are using a long variable to a procedure expecting an integer, then the probable sequence of events is: Parameter type demotion Pass to procedure Conversion to Long by OS for CPU manipulation whereas if you begin with an integer type rather than a boolean or a long, you skip the first type conversion and perhaps the procedure runs a few picoseconds faster. While this is hardly proof of the issue it renders your assertion that longs are always faster suspect. I made a post earlier this week that I generally use longs given a choice because they are inherently faster in a 32 bit environment and that is the basis of my 'preference' but I also believe it is better to play safe and match the datatypes of a procedure defined by Microsoft developers. Better and perhaps also faster. Hen >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'accessd at databaseadvisors.com '" >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t >he buffer. >Date: Wed, 10 Sep 2003 23:18:46 -0500 > >It shouldn't even be a preference. Longs are faster in a 32 bit system, so >unless it's absolutely necessary to use an Integer (API Calls), there is >really no reason to use an Integer. > >Drew > >-----Original Message----- >From: Henry Simpson >To: accessd at databaseadvisors.com >Sent: 9/10/03 11:09 PM >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t >he >buffer. > >Odd. Although I have a preference for longs myself, it turns out that a > >number of standard Access functions use other numeric types so there is >little need to look for old API calls to run into these. For example, >the >mouse cooridinate parameters in a mouse move, down or up event are >singles >even though the values are always 'whole' numbers while the button and >shift >parameters are integer types. The standard cancel parameter for open >events >is also typed as an integer and you had better dimension a compatible >numeric type if you are passing a value to one of these standard >procedures >as a variable, though the mouse parameters are technically return or >read >only values 'returned' by a sub procedure. My rule is to use a >compatible >type and if a long will work, that's the ticket. > >Hen > > > > >From: Drew Wutka > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything >to t > >he buffer. > >Date: Wed, 10 Sep 2003 18:05:01 -0500 > > > >LOL. Very funny. > > > >I do use int for all integers, because I always dimension as Long, >unless I > >absolutely require an integer (which is only for API calls) > > > >Drew > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From alan.lawhon at us.army.mil Thu Sep 11 11:35:21 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Thu, 11 Sep 2003 11:35:21 -0500 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a Make Table Query Message-ID: Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon From jcolby at colbyconsulting.com Thu Sep 11 11:44:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 11 Sep 2003 12:44:27 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query In-Reply-To: Message-ID: Can you specify True / false instead of 0? False AS [Record_Select_Flag] INTO The quotes around the 0 make it a string which needs a text field. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From alan.lawhon at us.army.mil Thu Sep 11 12:01:51 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Thu, 11 Sep 2003 12:01:51 -0500 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query Message-ID: John: Maybe I did something wrong, but I changed the clause/phrase (in SQL view) to read as you suggested. (In QBE "Design View" the expression changed to read like this: Record_Select_Flag: False) After running the [revised] query and creating the table, the resulting data type (for the field) is a "Number" data type - NOT a "Yes/No" or "True/False" data type. Close, but no cigar ... (I'll keep trying, but any other suggestions will be greatly appreciated.) Alan C. Lawhon -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 11, 2003 11:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Can you specify True / false instead of 0? False AS [Record_Select_Flag] INTO The quotes around the 0 make it a string which needs a text field. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Thu Sep 11 12:07:59 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 11 Sep 2003 13:07:59 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query In-Reply-To: Message-ID: Hmmm... probably because the false gets changed to a 0 (not a "0") which is a number. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 1:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query John: Maybe I did something wrong, but I changed the clause/phrase (in SQL view) to read as you suggested. (In QBE "Design View" the expression changed to read like this: Record_Select_Flag: False) After running the [revised] query and creating the table, the resulting data type (for the field) is a "Number" data type - NOT a "Yes/No" or "True/False" data type. Close, but no cigar ... (I'll keep trying, but any other suggestions will be greatly appreciated.) Alan C. Lawhon -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 11, 2003 11:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Can you specify True / false instead of 0? False AS [Record_Select_Flag] INTO The quotes around the 0 make it a string which needs a text field. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 11 12:10:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Sep 2003 19:10:54 +0200 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query In-Reply-To: References: Message-ID: <14638884472.20030911191054@cactus.dk> Hi Alan You'll probably have to either: Leave out the Yes/No field from your create table query. Run an "ALTER TABLE ..." action query to append that field. or Run a "CREATE TABLE ... " action query to create an empty table as to your needs. Change your create table query to an append query. /gustav From prodevmg at yahoo.com Thu Sep 11 12:31:15 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 11 Sep 2003 10:31:15 -0700 (PDT) Subject: [AccessD] Copy a folder with VBA In-Reply-To: <14638884472.20030911191054@cactus.dk> Message-ID: <20030911173115.33057.qmail@web20418.mail.yahoo.com> Is there a quick or slick way to copy an entire folder to a different drive and folder name with VBA. Simular to the FileCopy source, destination statement? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Thu Sep 11 12:32:11 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 11 Sep 2003 13:32:11 -0400 Subject: [AccessD] ReadDirectoryChangesW, not returning anything to t hebuffer. In-Reply-To: <916187228923D311A6FE00A0CC3FAA305EA774@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE3D@ADGSERVER> I agree that longs used on a 32-bit processor are more efficient. These processors' word size is 32-bits, so a 16-bit integer has to undergo a conversion to long for the processor to use it and a conversion back to an integer when the processor is finished with it (assuming it is storing the value somewhere). I also think that with today's processors that it really doesn't matter which one you use unless you are using integer math in some sort of numerical algorithm. I did a quick and dirty benchmark that used two loops with long variables as the counter to do some integer and long math (averaged over 5 runs) and it looks like the code using the longs is about 10% faster than the integer code. Note that this was ran in Win2k with Acc97 (I know, I know...) with e-mail and other stuff running in the background. Here is my code and the output of it. (Please, no comments on variable names and the like - LOL.) Public Sub testtime() Dim y As Long Dim j As Long Dim x As Long Dim k As Integer Dim kk As Integer Dim m As Long Dim mm As Long Dim t(3) As Date Dim avg1 As Single Dim avg2 As Single kk = 5 mm = 5 j = 100000000 avg1 = 0# avg2 = 0# For y = 1 To 5 t(0) = Now() For x = 1 To j k = kk + 1 k = kk - 1 Next x t(1) = Now() t(2) = Now() For x = 1 To j m = mm + 1 m = mm - 1 Next x t(3) = Now() Debug.Print "Run #"; y, "count="; Format$(j, "#,##0") Debug.Print "Loop 1 (integer): "; "t(0)="; Format$(t(0), "hh:nn:ss"); " t(1)="; Format$(t(1), "hh:nn:ss"); _ " diff="; DateDiff("s", t(0), t(1)); " seconds" Debug.Print "Loop 2: (long) : "; "t(2)="; Format$(t(2), "hh:nn:ss"); " t(3)="; Format$(t(3), "hh:nn:ss"); _ " diff="; DateDiff("s", t(2), t(3)); " seconds" Debug.Print avg1 = avg1 + CSng(DateDiff("s", t(0), t(1))) avg2 = avg2 + CSng(DateDiff("s", t(2), t(3))) Next y avg1 = avg1 / 5# avg2 = avg2 / 5# Debug.Print "Average for integers: "; avg1; " seconds" Debug.Print "Average for longs: "; avg2; " seconds" End Sub Here's the output: testtime Run # 1 count=100,000,000 Loop 1 (integer): t(0)=13:21:47 t(1)=13:22:10 diff= 23 seconds Loop 2: (long) : t(2)=13:22:10 t(3)=13:22:30 diff= 20 seconds Run # 2 count=100,000,000 Loop 1 (integer): t(0)=13:22:30 t(1)=13:22:53 diff= 23 seconds Loop 2: (long) : t(2)=13:22:53 t(3)=13:23:13 diff= 20 seconds Run # 3 count=100,000,000 Loop 1 (integer): t(0)=13:23:13 t(1)=13:23:36 diff= 23 seconds Loop 2: (long) : t(2)=13:23:36 t(3)=13:23:56 diff= 20 seconds Run # 4 count=100,000,000 Loop 1 (integer): t(0)=13:23:56 t(1)=13:24:19 diff= 23 seconds Loop 2: (long) : t(2)=13:24:19 t(3)=13:24:39 diff= 20 seconds Run # 5 count=100,000,000 Loop 1 (integer): t(0)=13:24:39 t(1)=13:25:02 diff= 23 seconds Loop 2: (long) : t(2)=13:25:02 t(3)=13:25:22 diff= 20 seconds Average for integers: 23 seconds Average for longs: 20 seconds Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Henry Simpson Sent: Thursday, September 11, 2003 11:56 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t hebuffer. The manner in which a form or report open event cancel parameter appears to operate is as a boolean. Passing in a zero permits the object to open and a non zero numeric cancels the opening. Microsoft declares this parameter as an Integer likely because the boolean datatype was added to the VBA language after the Cancel parameter was first created and was left in place for backward compatibility. In fact the compatiblity goes back to the 16 bit versions of Access so we continue to see this kind of anomaly. Why something as fundamental to the OS as mouse location parameters, where events fire many times per second, are still singles (and integer for the button parameters) is less defensible if longs are measurably more effiicient than other datatypes. I did a little test with the cancel parameter in a form. I dimensioned a long variable and set it to zero and set the cancel paramter to the long and the form opened witout error. When I set the variable to 64,000 the open event cancelled and when I tried 200,000, an out of range error was raised rather than a data type error. This suggests to me that there was an attempt to coerce a datatype conversion on the Long variable to match the integer type of the cancel parameter before passing to the procedure. If you are using a long variable to a procedure expecting an integer, then the probable sequence of events is: Parameter type demotion Pass to procedure Conversion to Long by OS for CPU manipulation whereas if you begin with an integer type rather than a boolean or a long, you skip the first type conversion and perhaps the procedure runs a few picoseconds faster. While this is hardly proof of the issue it renders your assertion that longs are always faster suspect. I made a post earlier this week that I generally use longs given a choice because they are inherently faster in a 32 bit environment and that is the basis of my 'preference' but I also believe it is better to play safe and match the datatypes of a procedure defined by Microsoft developers. Better and perhaps also faster. Hen >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'accessd at databaseadvisors.com '" >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to t >he buffer. >Date: Wed, 10 Sep 2003 23:18:46 -0500 > >It shouldn't even be a preference. Longs are faster in a 32 bit >system, so unless it's absolutely necessary to use an Integer (API >Calls), there is really no reason to use an Integer. > >Drew > >-----Original Message----- >From: Henry Simpson >To: accessd at databaseadvisors.com >Sent: 9/10/03 11:09 PM >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything to >t >he >buffer. > >Odd. Although I have a preference for longs myself, it turns out that >a > >number of standard Access functions use other numeric types so there is >little need to look for old API calls to run into these. For example, >the mouse cooridinate parameters in a mouse move, down or up event are >singles >even though the values are always 'whole' numbers while the button and >shift >parameters are integer types. The standard cancel parameter for open >events >is also typed as an integer and you had better dimension a compatible >numeric type if you are passing a value to one of these standard >procedures >as a variable, though the mouse parameters are technically return or >read >only values 'returned' by a sub procedure. My rule is to use a >compatible >type and if a long will work, that's the ticket. > >Hen > > > > >From: Drew Wutka > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] ReadDirectoryChangesW, not returning anything >to t > >he buffer. > >Date: Wed, 10 Sep 2003 18:05:01 -0500 > > > >LOL. Very funny. > > > >I do use int for all integers, because I always dimension as Long, >unless I > >absolutely require an integer (which is only for API calls) > > > >Drew > >_________________________________________________________________ >The new MSN 8: smart spam protection and 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Thu Sep 11 12:41:24 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 11 Sep 2003 13:41:24 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F525@TTNEXCHSRV1.hshhp.com> I lean towards Gustav's second solution. Since it looks like you've got data you want to drop into the new table you'd have to update the new field with data after running ALTER TABLE. By creating the table once you can simply append your data (after clearing the existing data out first of course). Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 11, 2003 1:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query Hi Alan You'll probably have to either: Leave out the Yes/No field from your create table query. Run an "ALTER TABLE ..." action query to append that field. or Run a "CREATE TABLE ... " action query to create an empty table as to your needs. Change your create table query to an append query. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From michael.mattys at adelphia.net Thu Sep 11 12:47:49 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 11 Sep 2003 13:47:49 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query References: Message-ID: <008f01c3788c$d4530130$6401a8c0@default> Hi Alan, I never found a way in SQL because it's a display control I had to do this in DAO after the CREATE TABLE statement. Code is below. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com SetAccessProperty db.TableDefs("X").Fields("Y"), "DisplayControl", 3, True, 106 Private Function SetAccessProperty(obj As Object, strName As String, _ intType As Integer, varSetting As Variant, Optional SetToWhat As String) _ As Boolean Dim prp As DAO.Property Const conPropNotFound As Integer = 3270 On Error GoTo ErrorSetAccessProperty ' Explicitly refer to Properties collection. obj.Properties(strName) = varSetting obj.Properties.Refresh If SetToWhat <> "" Then obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh End If SetAccessProperty = True ExitSetAccessProperty: Exit Function ErrorSetAccessProperty: If Err = conPropNotFound Then ' Create property, denote type, and set initial value. Set prp = obj.CreateProperty(strName, intType, varSetting) ' Append Property object to Properties collection. obj.Properties.append prp obj.Properties(strName).Value = SetToWhat obj.Properties.Refresh SetAccessProperty = True Resume ExitSetAccessProperty Else MsgBox Err & ": " & vbCrLf & Err.Description SetAccessProperty = False Resume ExitSetAccessProperty End If End Function ----- Original Message ----- From: "Lawhon, Alan C Contractor/Morgan Research" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 11, 2003 1:01 PM Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query > John: > > Maybe I did something wrong, but I changed the clause/phrase (in SQL view) > to read as you suggested. (In QBE "Design View" the expression changed > to read like this: Record_Select_Flag: False) > > After running the [revised] query and creating the table, the resulting > data type (for the field) is a "Number" data type - NOT a "Yes/No" or > "True/False" data type. > > Close, but no cigar ... (I'll keep trying, but any other suggestions will > be greatly appreciated.) > > > Alan C. Lawhon From chizotz at charter.net Thu Sep 11 12:54:25 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 11 Sep 2003 13:54:25 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query In-Reply-To: Message-ID: Hi Alan, If I understand what you're looking to do, I don't think it can be done exactly that way. I don't know of a way to change the lookup type of a table programatically, and I'm as certain as I can be that it can't be done as part of the SQL. I handle this type of situation, usually, by creating the table and setting the properties, then using an append query instead of a make table. However, you can resolve the problem easily by just changing the "0" to a 0 (converting it or however else works for you), which will be saved as a numeric, and since booleans are actually numbers (0 or 1) your checkboxes on forms will work fine. Unless you're giving your user access to the table directly of course... HTH, Ron >Susan, Arthur, Rocky, William, Jim, John, Doris, Jim >Lawrence, et al: > >I need help with an (easy?) Access problem - and I just >know that somebody >on >this list knows the answer. > >I am working on a "Make Table" query which will have to >be used (and reused) >repeatedly to create the same table from scratch. One of >the field cells in >this query is created (in the QBE pane) from an >expression. The expression >is >as follows: > > Record_Select_Flag: "0" > >The corresponding phrase/clause for this expression (in >SQL view) is: > > "0" AS [Record_Select_Flag] INTO > >Here's my problem. The data type of the field created by >this expression is >a >"Text" field. I would like to create a "Yes/No" checkbox >field rather than >a >"Text" field. (Actually, a "Yes/No" field will work just >fine.) Can anyone >tell me how to modify the expression to create a "Yes/No" >field? > >I've been searching the Access "Help" library, but so far >I haven't found >the >answer ... From chizotz at charter.net Thu Sep 11 12:55:47 2003 From: chizotz at charter.net (Ron Allen) Date: Thu, 11 Sep 2003 13:55:47 -0400 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query In-Reply-To: <008f01c3788c$d4530130$6401a8c0@default> Message-ID: Thanks, Michael, this is new to me. Love to learn new things. Ron On Thu, 11 Sep 2003 13:47:49 -0400 "Michael R Mattys" wrote: >Hi Alan, > >I never found a way in SQL because it's a display control >I had to do this in DAO after the CREATE TABLE statement. >Code is below. From Mark.Mitsules at ngc.com Thu Sep 11 13:00:21 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 11 Sep 2003 14:00:21 -0400 Subject: [AccessD] Copy a folder with VBA Message-ID: Lonnie, With a reference set to Microsoft Scripting Runtime, you can try the following...taken from Scripting Run-Time Reference Version 3 (VBSCRIP5.CHM). See the remarks section for "gotchas". Syntax: object.CopyFolder source, destination[, overwrite] Example: FileSystemObject.CopyFolder "c:\mydocuments\letters\*", "c:\tempfolder\" Mark -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Thursday, September 11, 2003 1:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Copy a folder with VBA Is there a quick or slick way to copy an entire folder to a different drive and folder name with VBA. Simular to the FileCopy source, destination statement? Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software From cfoust at infostatsystems.com Thu Sep 11 13:10:24 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2003 11:10:24 -0700 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Message-ID: No one seems to have suggested a DDL query instead of a regular MakeTable. Have you tried that? Look in Access help under "data-definition query". Charlotte Foust -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Thursday, September 11, 2003 8:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Sep 11 13:35:19 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 11 Sep 2003 18:35:19 +0000 Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query Message-ID: Alan, Not sure of your exact requirements...but if it is creating the same table over and over...why not created the table you need...and then use a DELETE query followed by an APPEND query each time instead of recreating the table? Just a second thought...If it is an AUTONUMBER field keeping you from using this method...you can create an AUTONUMBER that starts over each time you run the APPEND query in VBA. Hope it helps. Thanks, Mark >From: "Ron Allen" >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] >F ield in a MakeTable Query >Date: Thu, 11 Sep 2003 13:54:25 -0400 > >Hi Alan, > >If I understand what you're looking to do, I don't think it can be done >exactly that way. I don't know of a way to change the lookup type of a >table programatically, and I'm as certain as I can be that it can't be done >as part of the SQL. > >I handle this type of situation, usually, by creating the table and setting >the properties, then using an append query instead of a make table. > >However, you can resolve the problem easily by just changing the "0" to a 0 >(converting it or however else works for you), which will be saved as a >numeric, and since booleans are actually numbers (0 or 1) your checkboxes >on forms will work fine. Unless you're giving your user access to the table >directly of course... > >HTH, > >Ron > > > > >>Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: >> >>I need help with an (easy?) Access problem - and I just know that somebody >>on >>this list knows the answer. >> >>I am working on a "Make Table" query which will have to be used (and >>reused) >>repeatedly to create the same table from scratch. One of the field cells >>in >>this query is created (in the QBE pane) from an expression. The >>expression >>is >>as follows: >> >> Record_Select_Flag: "0" >> >>The corresponding phrase/clause for this expression (in SQL view) is: >> >> "0" AS [Record_Select_Flag] INTO >> >>Here's my problem. The data type of the field created by this expression >>is >>a >>"Text" field. I would like to create a "Yes/No" checkbox field rather >>than >>a >>"Text" field. (Actually, a "Yes/No" field will work just fine.) Can >>anyone >>tell me how to modify the expression to create a "Yes/No" field? >> >>I've been searching the Access "Help" library, but so far I haven't found >>the >>answer ... >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From askolits at ot.com Thu Sep 11 14:53:36 2003 From: askolits at ot.com (John Skolits) Date: Thu, 11 Sep 2003 15:53:36 -0400 Subject: [AccessD] instr() - Need an exact match In-Reply-To: Message-ID: Is there a way to do an exact match with something like Instr(). I don't want a partial match. For example: I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will return a value but I want an exact match. I know I can parse the string and look for an exact match based on the parsed value. I just thought maybe there's a function I can use that would do an Exact match test. John Skolits From BBarabash at TappeConstruction.com Thu Sep 11 15:02:28 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 11 Sep 2003 15:02:28 -0500 Subject: [AccessD] instr() - Need an exact match Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C922@TAPPEEXCH01> How about StrComp? -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, September 11, 2003 2:54 PM To: Access Developers discussion and problem solving Subject: [AccessD] instr() - Need an exact match Is there a way to do an exact match with something like Instr(). I don't want a partial match. For example: I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will return a value but I want an exact match. I know I can parse the string and look for an exact match based on the parsed value. I just thought maybe there's a function I can use that would do an Exact match test. John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From mwhittinghill at symphonyinfo.com Thu Sep 11 15:14:22 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu, 11 Sep 2003 15:14:22 -0500 Subject: [AccessD] VSS and distributing an mdb Message-ID: <000701c378a1$4a450190$0400000a@PASCAL> We are starting to use Visual Source Safe with Access. One of our programmers has a lot of experience using it with VB projects, but very little with Access. When we distribute an mdb to a client, do we need to remove it from Source Safe? If so, how would we do that? I couldn't find anything in Help. Thanks Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com From Lambert.Heenan at AIG.com Thu Sep 11 15:12:59 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 11 Sep 2003 16:12:59 -0400 Subject: [AccessD] instr() - Need an exact match Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD76E8@xlivmbx12.aig.com> I'm not clear on why InStr() does not suit your purpose. InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value (17), meaning that "c_Group" was found in the first string. Now if you want an exact match that takes the case into account you can use... InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must supply the start position - 1 which will return zero as "c_group" is not found, whereas InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) returns 17. Lambert > -----Original Message----- > From: John Skolits [SMTP:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] instr() - Need an exact match > > Is there a way to do an exact match with something like Instr(). I don't > want a partial match. > > For example: > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > return a value but I want an exact match. > > I know I can parse the string and look for an exact match based on the > parsed value. I just thought maybe there's a function I can use that would > do an Exact match test. > > John Skolits > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rfv at entelix.com Thu Sep 11 15:26:50 2003 From: rfv at entelix.com (rfv at entelix.com) Date: Thu, 11 Sep 2003 15:26:50 -0500 Subject: [AccessD] VSS and distributing an mdb In-Reply-To: <000701c378a1$4a450190$0400000a@PASCAL> Message-ID: <200309112027.h8BKR3p20414@databaseadvisors.com> Compact the db and you Hill be asked ?Do you want to remove the db frm VSS? Click Yes. Rudolf F. Vanek -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Whittinghill Sent: Jueves, 11 de Septiembre de 2003 03:14 p.m. To: accessd at databaseadvisors.com We are starting to use Visual Source Safe with Access. One of our programmers has a lot of experience using it with VB projects, but very little with Access. When we distribute an mdb to a client, do we need to remove it from Source Safe? If so, how would we do that? I couldn't find anything in Help. Thanks Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From askolits at ot.com Thu Sep 11 15:35:44 2003 From: askolits at ot.com (John Skolits) Date: Thu, 11 Sep 2003 16:35:44 -0400 Subject: [AccessD] instr() - Need an exact match In-Reply-To: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD76E8@xlivmbx12.aig.com> Message-ID: Here is a better example. In this case both function return a 1 StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") The first one is an exact match, the second a partial match. I want to distinguish between the two. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, September 11, 2003 4:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match I'm not clear on why InStr() does not suit your purpose. InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value (17), meaning that "c_Group" was found in the first string. Now if you want an exact match that takes the case into account you can use... InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must supply the start position - 1 which will return zero as "c_group" is not found, whereas InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) returns 17. Lambert > -----Original Message----- > From: John Skolits [SMTP:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] instr() - Need an exact match > > Is there a way to do an exact match with something like Instr(). I don't > want a partial match. > > For example: > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > return a value but I want an exact match. > > I know I can parse the string and look for an exact match based on the > parsed value. I just thought maybe there's a function I can use that would > do an Exact match test. > > John Skolits > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Sep 11 15:38:16 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 11 Sep 2003 13:38:16 -0700 (PDT) Subject: [AccessD] Add "Green Bar" effect to your Access Reports Message-ID: <20030911203816.84596.qmail@web20413.mail.yahoo.com> This will give a green bar effect on a report. Every other line green. You may want to play around with the numeric color expressions if you don't like the loud green you get from vbGreen. Just a tip... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Detail.BackColor = vbWhite Then Me.Detail.BackColor = vbGreen Else Me.Detail.BackColor = vbWhite End If End Sub Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From mwhittinghill at symphonyinfo.com Thu Sep 11 15:52:37 2003 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Thu, 11 Sep 2003 15:52:37 -0500 Subject: [AccessD] VSS and distributing an mdb References: <200309112027.h8BKR3p20414@databaseadvisors.com> Message-ID: <010501c378a6$a2460d30$0400000a@PASCAL> Thanks, Rudolf. We actually just discovered that ourselves. Mark Whittinghill Symphony Information Services 612-333-1311 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 11, 2003 3:26 PM Subject: RE: [AccessD] VSS and distributing an mdb > Compact the db and you Hill be asked ?Do you want to remove the db frm VSS? > Click Yes. > > > Rudolf F. Vanek > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Whittinghill > Sent: Jueves, 11 de Septiembre de 2003 03:14 p.m. > To: accessd at databaseadvisors.com > > We are starting to use Visual Source Safe with Access. One of our > programmers has a lot of experience using it with VB projects, but very > little with Access. When we distribute an mdb to a client, do we need to > remove it from Source Safe? If so, how would we do that? I couldn't find > anything in Help. > > Thanks > > Mark Whittinghill > Symphony Information Services > 612-333-1311 > mwhittinghill at symphonyinfo.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BBarabash at TappeConstruction.com Thu Sep 11 15:56:47 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 11 Sep 2003 15:56:47 -0500 Subject: [AccessD] instr() - Need an exact match Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C923@TAPPEEXCH01> How about: StrComp(Mid(InStr([StringToSearch], [SearchFor]),Len([SearchFor])),[SearchFor]) -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, September 11, 2003 3:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] instr() - Need an exact match Here is a better example. In this case both function return a 1 StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") The first one is an exact match, the second a partial match. I want to distinguish between the two. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, September 11, 2003 4:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match I'm not clear on why InStr() does not suit your purpose. InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value (17), meaning that "c_Group" was found in the first string. Now if you want an exact match that takes the case into account you can use... InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must supply the start position - 1 which will return zero as "c_group" is not found, whereas InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) returns 17. Lambert > -----Original Message----- > From: John Skolits [SMTP:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] instr() - Need an exact match > > Is there a way to do an exact match with something like Instr(). I don't > want a partial match. > > For example: > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > return a value but I want an exact match. > > I know I can parse the string and look for an exact match based on the > parsed value. I just thought maybe there's a function I can use that would > do an Exact match test. > > John Skolits > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From pedro at plex.nl Thu Sep 11 13:50:06 2003 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 11 Sep 2003 20:50:06 +0200 Subject: [AccessD] delete duplicates References: <200309111006.h8BA6PsC018296@mailhostC.plex.net> <10414476425.20030911122406@cactus.dk> Message-ID: <001b01c378a9$ad75cad0$f2c581d5@pedro> Hello Gustav, i have used before and after this message the full syntax. I still had the error. After making a new test database everything worked fine. Mybe something was corrupt. I don't know. Anyway thanks for the help. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, September 11, 2003 12:24 PM Subject: Re: [AccessD] delete duplicates > You need to use the full syntax of a "normal" delete query. Something > like: > > DELETE * > FROM test > WHERE test.PK Not In (Select FirstOfPK from Query1); > > Remember to run this first on some sample data and/or save a decent > backup of your database! > > /gustav > > >> Yes, look up the archive on > >> > >> Eliminating duplicate rows > >> > >> for June this year. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Thu Sep 11 16:18:47 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 11 Sep 2003 17:18:47 -0400 Subject: [AccessD] instr() - Need an exact match Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD76EC@xlivmbx12.aig.com> I see what you mean now. Here's some code to do the trick. I've done SOME testing and it seems to work just fine... Function exactInstr(strTarget As String, strFind As String, Optional nCompareType As Integer = vbTextCompare) As Long Dim nFoundLocation As Long nFoundLocation = InStr(1, strTarget, strFind, nCompareType) If nFoundLocation > 0 Then If nFoundLocation + Len(strFind) = Len(strTarget) Then ' found the whole string at the end of the target exactInstr = nFoundLocation Else If nFoundLocation > 1 Then ' check the characters to the left and right of the target string If isDelimiter(Mid(strTarget, nFoundLocation - 1, 1)) Then If isDelimiter(Mid(strTarget, nFoundLocation + Len(strFind), 1)) Then exactInstr = nFoundLocation Else exactInstr = 0 End If Else exactInstr = 0 End If Else ' strFind is at the start of the target If isDelimiter(Mid(strTarget, nFoundLocation + Len(strFind), 1)) Then exactInstr = nFoundLocation Else exactInstr = 0 End If End If End If Else exactInstr = 0 End If End Function Function isDelimiter(strC As String) As Boolean Const AllowedDelimiters = ", " ' That's a Comma and a space inside the quotes. isDelimiter = InStr(AllowedDelimiters, strC) > 0 End Function Lambert > -----Original Message----- > From: John Skolits [SMTP:askolits at ot.com] > Sent: Thursday, September 11, 2003 4:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value > (17), meaning that "c_Group" was found in the first string. Now if you > want > an exact match that takes the case into account you can use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must > supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I don't > > want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > > return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on the > > parsed value. I just thought maybe there's a function I can use that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From serbach at new.rr.com Thu Sep 11 16:22:25 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Thu, 11 Sep 2003 16:22:25 -0500 Subject: [AccessD] Error 3011 - Aha! References: <02dc01c3732e$28e0b210$2e02d018@W2k> Message-ID: <010101c378aa$daf13480$330ad018@W2k> Dear Group, FWIW, I solved the problem I was having with Access XP acting differently from Access 2000. To recap: I'm using Database Creations' ezSmartSearch to add "black box" functionality to an application written in Access 2000 that will be converted to Access XP. I'm developing the code on both an A2K workstation (at my home office) and AXP (at my client's site). When I ran the ezSmartSearch form under A2K there were no problems. However when running under AXP I'd get an error 3011: "The Microsoft Jet database engine could not find the object '~sp_cezs_SmartSearch~sq_cFindSearchID'. Make sure the object exists..." The problem turned out to be related to whether the SetFocus method can be used in a Form_Open event proc. The code in the Form_Open event proc as it comes from Database Creations has these lines: .... Me!SmartSearchTabs.Style = 2 Me.SmartSearchTabs.TabFixedHeight = 0 Me.SmartSearchTabs.Pages![Smart Search].SetFocus RefreshSmartSearch .... RefreshSmartSearch is a custom method. When I debugged the code in Access XP the .SetFocus line would fire the Form_Load event proc. The Form_Load sets the RecordSource property for the form and the RowSource property for a combo box named FindSearchID. Then the code returned to the Form_Open event proc...and that's when the error would trigger, pointing to the .SetFocus line above. I finally got it through my thick skull that maybe the Form_Open event proc was not the best to put a .SetFocus method. So I moved all of the Form_Open code to the Form_Load event proc...and voila! She works! Not a big deal in the grand scheme, but this caused me to spend a lot of time trying way too many little things until I stumbled across the solution. Regards, Steve Erbach Scientific Marketing Neenah, WI From BBarabash at TappeConstruction.com Thu Sep 11 16:24:37 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 11 Sep 2003 16:24:37 -0500 Subject: [AccessD] instr() - Need an exact match Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C924@TAPPEEXCH01> Oops, That should read: StrComp(Mid([StringToSearch],InStr([StringToSearch], [SearchFor]),Len([SearchFor])),[SearchFor]) But you get the idea... -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Thursday, September 11, 2003 3:57 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match How about: StrComp(Mid(InStr([StringToSearch], [SearchFor]),Len([SearchFor])),[SearchFor]) -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, September 11, 2003 3:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] instr() - Need an exact match Here is a better example. In this case both function return a 1 StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") The first one is an exact match, the second a partial match. I want to distinguish between the two. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, September 11, 2003 4:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match I'm not clear on why InStr() does not suit your purpose. InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value (17), meaning that "c_Group" was found in the first string. Now if you want an exact match that takes the case into account you can use... InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must supply the start position - 1 which will return zero as "c_group" is not found, whereas InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) returns 17. Lambert > -----Original Message----- > From: John Skolits [SMTP:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:54 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] instr() - Need an exact match > > Is there a way to do an exact match with something like Instr(). I don't > want a partial match. > > For example: > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > return a value but I want an exact match. > > I know I can parse the string and look for an exact match based on the > parsed value. I just thought maybe there's a function I can use that would > do an Exact match test. > > John Skolits > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Lambert.Heenan at AIG.com Thu Sep 11 16:33:50 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 11 Sep 2003 17:33:50 -0400 Subject: [AccessD] instr() - Need an exact match Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD76ED@xlivmbx12.aig.com> The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: > StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value > (17), meaning that "c_Group" was found in the first string. Now if you > want > an exact match that takes the case into account you can use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must > supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I don't > > want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > > return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on the > > parsed value. I just thought maybe there's a function I can use that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Sep 11 16:35:56 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 11 Sep 2003 17:35:56 -0400 Subject: [AccessD] Add "Green Bar" effect to your Access Reports In-Reply-To: <20030911203816.84596.qmail@web20413.mail.yahoo.com> Message-ID: That should be modified a bit. If the report has grouping and certain options selected, the detail section may get formatted more then once. Depending on the number of times Access would retreat up the page, you might end up with two lines with the same color. So it should be done like this: Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If FormatCount = 1 then If Me.Detail.BackColor = vbWhite Then Me.Detail.BackColor = vbGreen Else Me.Detail.BackColor = vbWhite End If End If End Sub Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, September 11, 2003 4:38 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Add "Green Bar" effect to your Access Reports This will give a green bar effect on a report. Every other line green. You may want to play around with the numeric color expressions if you don't like the loud green you get from vbGreen. Just a tip... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Detail.BackColor = vbWhite Then Me.Detail.BackColor = vbGreen Else Me.Detail.BackColor = vbWhite End If End Sub Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Thu Sep 11 16:45:43 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 11 Sep 2003 16:45:43 -0500 Subject: [AccessD] instr() - Need an exact match Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C925@TAPPEEXCH01> So what you really need to do is compare the portion between the delimiters (commas). Here is a function that illustrates this: Public Function ExactMatch(ByVal strSearchIn As String, ByVal strSearchFor As String) As Boolean Dim lngPos1 As Long Dim lngPos2 As Long lngPos1 = InStr(strSearchIn, strSearchFor) If lngPos1 > 0 Then lngPos2 = InStr(lngPos1 + 1, strSearchIn & ",", ",") If StrComp(Mid$(strSearchIn, lngPos1, lngPos2 - lngPos1), strSearchFor) = 0 Then ExactMatch = True End If End If End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, September 11, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: > StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value > (17), meaning that "c_Group" was found in the first string. Now if you > want > an exact match that takes the case into account you can use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must > supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I don't > > want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > > return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on the > > parsed value. I just thought maybe there's a function I can use that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From alan.lawhon at us.army.mil Thu Sep 11 16:52:22 2003 From: alan.lawhon at us.army.mil (Lawhon, Alan C Contractor/Morgan Research) Date: Thu, 11 Sep 2003 16:52:22 -0500 Subject: [AccessD] Thanks!! (Was ... (Simple?) Problem Creating a "Yes/No" [Data Ty pe] Field in a MakeTable Query Message-ID: To: All Who Offered Help and Suggestions With This Problem I want to thank each and every one of you who jumped in and tackled this problem. I haven't had sufficient time to carefully analyze all the suggestions (and possible solutions) offered; but the solution John Colby suggested turned out to be close enough for Government work. John: Your idea (i.e. specify "False AS [Record_Select_Flag] INTO " didn't create a "Yes/No" data type field per se, but it DID create a NUMBER field which, (working as the control source for a checkbox control on a form), stored either a zero value (or -1) in the [created] field - which is just as good as having the field with a "Yes/No" data type. End Result: Problem Solved !!! :-))) I've been thru the wringer today. (I'm getting too old for this ...) Thanks (again) everybody! Alan C. Lawhon -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Thursday, September 11, 2003 12:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query John: Maybe I did something wrong, but I changed the clause/phrase (in SQL view) to read as you suggested. (In QBE "Design View" the expression changed to read like this: Record_Select_Flag: False) After running the [revised] query and creating the table, the resulting data type (for the field) is a "Number" data type - NOT a "Yes/No" or "True/False" data type. Close, but no cigar ... (I'll keep trying, but any other suggestions will be greatly appreciated.) Alan C. Lawhon -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 11, 2003 11:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Can you specify True / false instead of 0? False AS [Record_Select_Flag] INTO The quotes around the 0 make it a string which needs a text field. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Sep 11 17:11:06 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 12 Sep 2003 08:11:06 +1000 Subject: [AccessD] Copy a folder with VBA In-Reply-To: <20030911173115.33057.qmail@web20418.mail.yahoo.com> References: <14638884472.20030911191054@cactus.dk> Message-ID: <3F617F9A.11249.2213E9@localhost> On 11 Sep 2003 at 10:31, Lonnie Johnson wrote: > Is there a quick or slick way to copy an entire folder to a different > drive and folder name with VBA. Simular to the FileCopy source, > destination statement? > > In straigth VBA Dim strOriginDir as String Dim strDestDir as String Dim strFilename as String strFilename = Dir$(strOriginDir & "*.*") While strFilename > "" Filecopy strOriginDir & strFilename, strDestDir & strFilename Wend or more simply, use the OS SHELL ("Copy " & strOriginDir & "*.* " & strDestDir, vbHide) Note, you can Shell to XCopy instead and use various switches if you need more control over exactly what you copy -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From martyconnelly at shaw.ca Thu Sep 11 17:40:04 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 11 Sep 2003 15:40:04 -0700 Subject: [dba-VB] Re: [AccessD] Getting Field Type From ADO Control References: <2362278.1063276823117.JavaMail.www@wwinf3001> <3F60EAD0.10935.2E47D6E@localhost> Message-ID: <3F60F9C4.2010901@shaw.ca> Here is a list of ADO constants for their field type http://www.able-consulting.com/ADODataTypeEnum.htm Stuart McLachlan wrote: >On 11 Sep 2003 at 21:08, Stuart McLachlan wrote: > > > >>Field types are enumerated constants. >> >>In your VB project, set a reference to DAO then open the Object >>Browser. >> >>Open the DAO library and look at Globals. >> >> >> > >Just noticed, you said ADO, not DAO. > >ADO Constants have different values. > >ie >dbBigInt = 16, adBigInt = 20 >dbBinary = 9, adBinary = 128 >dbBoolean = 1, adBoolean = 11 >etc. > >You will ned to set the reference to ADO , not DAO to get the correct >values > > > > > From martyconnelly at shaw.ca Thu Sep 11 18:45:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 11 Sep 2003 16:45:33 -0700 Subject: [AccessD] OT -- For all you tree view guys... References: <003701c37382$8180f200$c9e6ffcc@SusanOne> Message-ID: <3F61091D.6040602@shaw.ca> Ahh. I have a use for this. I need to display a records management taxonomy in IE ; which is a really generated set of directories from an Access table. Gives me a way to stuff all the info into an XML file so people can get at the info without Access. Susan Harkins wrote: >http://www.15seconds.com/Issue/010921.htm > >Susan H. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From ssharkins at bellsouth.net Thu Sep 11 18:49:43 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 11 Sep 2003 19:49:43 -0400 Subject: [AccessD] curious problem with parameter query Message-ID: <00a201c378bf$62d79c90$220110ac@SUSANONE> I have a number of regular parameter queries that I use in a personal tracking system -- I've just never bothered to automate them -- and a curious behavior has developed with one of them. It prompts me for the same value twice. It'll give me the right results after the second entry. No, the parameter expression isn't repeated. Susan H. From cfoust at infostatsystems.com Thu Sep 11 19:11:51 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2003 17:11:51 -0700 Subject: [AccessD] curious problem with parameter query Message-ID: And it isn't nested on another parameter query? Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, September 11, 2003 3:50 PM To: AccessD at databaseadvisors.com Subject: [AccessD] curious problem with parameter query I have a number of regular parameter queries that I use in a personal tracking system -- I've just never bothered to automate them -- and a curious behavior has developed with one of them. It prompts me for the same value twice. It'll give me the right results after the second entry. No, the parameter expression isn't repeated. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Sep 11 19:22:03 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 11 Sep 2003 20:22:03 -0400 Subject: [AccessD] curious problem with parameter query References: Message-ID: <00c701c378c3$e735bb80$220110ac@SUSANONE> Nope, and it worked fine for a long time -- no clue what might have triggered it. I've just been complying -- easier than recreating it -- but I am curious about it. Susan h. > And it isn't nested on another parameter query? From sdssoftware at optusnet.com.au Thu Sep 11 19:53:54 2003 From: sdssoftware at optusnet.com.au (Kath Pelletti) Date: Fri, 12 Sep 2003 10:53:54 +1000 Subject: [AccessD] OT: Friday humour Message-ID: <003101c378c8$57241280$6501a8c0@user> I have been looking at some contract work on the net and the job descriptions for access / vba developers included comments such as these: ...... Additionally, exposure to MS Access and other 'flat-file' database technologies would be beneficial. !!, and this..... Excellent client relationship skills are required as you may be working on sight Maybe more than IT skills are needed there..... Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From lmrazek at lcm-res.com Thu Sep 11 21:02:56 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Thu, 11 Sep 2003 21:02:56 -0500 Subject: [AccessD] Selecting Top 10 for each group member In-Reply-To: Message-ID: <006101c378d1$fc39cbd0$036fa8c0@DellLaptop> Greetings: I have a sales database that we need to report against. We need to find the top 10 accounts for each sales territory and then view a report of the top 10 accounts for each territory showing order details. and I'm having trouble figuring out how to do this with a query (if it is possible). I can find the top ten accounts using code like this below, but I then have to run through each territory, appending the results to an intermediate table, which I can then join to the master table to get the Top 10 Accounts for each territory (joining SalesRepCode, BillToNumber). Of course, this is quite clumsy; I know there must be some other way of doing this. SELECT TOP 10 table1.SalesRepCode, table1.BillToNumber, Sum(table1.MarginYTDThisYear) AS MarginYTDThisYear FROM table1 GROUP BY table1.SalesRepCode, table1.BillToNumber HAVING (((table1.SalesRepCode)="code")) ORDER BY table1.SalesRepCode, Sum(table1.MarginYTDThisYear) DESC; The query above produces something like this: SalesRepCode BillToNumber MarginYTDThisYear 23 1 $99999.99 23 2 $88888.88 23 3 $77777.77 23 3 $66666.66 23 5 $55555.55 23 6 $44444.44 23 7 $33333.33 23 8 $22222.22 23 9 $11111.11 23 10 $01111.11 Any hints/pointers would be very helpful. Thanks in advance for any help. Larry Mrazek LCM Research, Inc. ph. 314-997-2574 fx. 314-997-2620 lmrazek at lcm-res.com http://www.lcm-res.com From askolits at ot.com Thu Sep 11 21:05:52 2003 From: askolits at ot.com (John Skolits) Date: Thu, 11 Sep 2003 22:05:52 -0400 Subject: [AccessD] instr() - Need an exact match In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C925@TAPPEEXCH01> Message-ID: Gee, I didn't expect you guys to spend all that time on this but it is greatly appreciated. Function works as ordered. Thanks!! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 11, 2003 5:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match So what you really need to do is compare the portion between the delimiters (commas). Here is a function that illustrates this: Public Function ExactMatch(ByVal strSearchIn As String, ByVal strSearchFor As String) As Boolean Dim lngPos1 As Long Dim lngPos2 As Long lngPos1 = InStr(strSearchIn, strSearchFor) If lngPos1 > 0 Then lngPos2 = InStr(lngPos1 + 1, strSearchIn & ",", ",") If StrComp(Mid$(strSearchIn, lngPos1, lngPos2 - lngPos1), strSearchFor) = 0 Then ExactMatch = True End If End If End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, September 11, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: > StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value > (17), meaning that "c_Group" was found in the first string. Now if you > want > an exact match that takes the case into account you can use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must > supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I don't > > want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > > return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on the > > parsed value. I just thought maybe there's a function I can use that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Sep 11 21:12:44 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 11 Sep 2003 22:12:44 -0400 Subject: [AccessD] Selecting Top 10 for each group member References: <006101c378d1$fc39cbd0$036fa8c0@DellLaptop> Message-ID: <010201c378d3$5b860c10$220110ac@SUSANONE> Do you need this at the query level? If the result is a report, you could accomplish this at the report/subreport level instead. Susan H. > Greetings: > > I have a sales database that we need to report against. We need to find the > top 10 accounts for each sales territory and then view a report of the top > 10 accounts for each territory showing order details. and I'm having trouble > figuring out how to do this with a query (if it is possible). > > I can find the top ten accounts using code like this below, but I then have > to run through each territory, appending the results to an intermediate > table, which I can then join to the master table to get the Top 10 Accounts > for each territory (joining SalesRepCode, BillToNumber). Of course, this is > quite clumsy; I know there must be some other way of doing this. > > SELECT TOP 10 table1.SalesRepCode, table1.BillToNumber, > Sum(table1.MarginYTDThisYear) AS MarginYTDThisYear > FROM table1 > GROUP BY table1.SalesRepCode, table1.BillToNumber > HAVING (((table1.SalesRepCode)="code")) > ORDER BY table1.SalesRepCode, Sum(table1.MarginYTDThisYear) DESC; > > The query above produces something like this: > SalesRepCode BillToNumber MarginYTDThisYear > 23 1 $99999.99 > 23 2 $88888.88 > 23 3 $77777.77 > 23 3 $66666.66 > 23 5 $55555.55 > 23 6 $44444.44 > 23 7 $33333.33 > 23 8 $22222.22 > 23 9 $11111.11 > 23 10 $01111.11 > > > Any hints/pointers would be very helpful. Thanks in advance for any help. > > Larry Mrazek > LCM Research, Inc. > ph. 314-997-2574 > fx. 314-997-2620 > lmrazek at lcm-res.com > http://www.lcm-res.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From askolits at ot.com Thu Sep 11 21:18:11 2003 From: askolits at ot.com (John Skolits) Date: Thu, 11 Sep 2003 22:18:11 -0400 Subject: [AccessD] Add "Green Bar" effect to your Access Reports In-Reply-To: <20030911203816.84596.qmail@web20413.mail.yahoo.com> Message-ID: Don't forget that all your controls should have a transparent background. You will probably also want to put this same in the "Detail_Print" event besides "Detail_Format". John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: Thursday, September 11, 2003 4:38 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; AccessD solving' Subject: [AccessD] Add "Green Bar" effect to your Access Reports This will give a green bar effect on a report. Every other line green. You may want to play around with the numeric color expressions if you don't like the loud green you get from vbGreen. Just a tip... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Detail.BackColor = vbWhite Then Me.Detail.BackColor = vbGreen Else Me.Detail.BackColor = vbWhite End If End Sub Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Sep 11 22:07:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 11 Sep 2003 23:07:29 -0400 Subject: [AccessD] Thanks!! (Was ... (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query In-Reply-To: Message-ID: Sometimes simpler is better! Glad to be of help. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 5:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Thanks!! (Was ... (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query To: All Who Offered Help and Suggestions With This Problem I want to thank each and every one of you who jumped in and tackled this problem. I haven't had sufficient time to carefully analyze all the suggestions (and possible solutions) offered; but the solution John Colby suggested turned out to be close enough for Government work. John: Your idea (i.e. specify "False AS [Record_Select_Flag] INTO " didn't create a "Yes/No" data type field per se, but it DID create a NUMBER field which, (working as the control source for a checkbox control on a form), stored either a zero value (or -1) in the [created] field - which is just as good as having the field with a "Yes/No" data type. End Result: Problem Solved !!! :-))) I've been thru the wringer today. (I'm getting too old for this ...) Thanks (again) everybody! Alan C. Lawhon -----Original Message----- From: Lawhon, Alan C Contractor/Morgan Research [mailto:alan.lawhon at us.army.mil] Sent: Thursday, September 11, 2003 12:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] F ield in a MakeTable Query John: Maybe I did something wrong, but I changed the clause/phrase (in SQL view) to read as you suggested. (In QBE "Design View" the expression changed to read like this: Record_Select_Flag: False) After running the [revised] query and creating the table, the resulting data type (for the field) is a "Number" data type - NOT a "Yes/No" or "True/False" data type. Close, but no cigar ... (I'll keep trying, but any other suggestions will be greatly appreciated.) Alan C. Lawhon -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, September 11, 2003 11:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Can you specify True / false instead of 0? False AS [Record_Select_Flag] INTO The quotes around the 0 make it a string which needs a text field. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Thursday, September 11, 2003 12:35 PM To: accessd at databaseadvisors.com Subject: [AccessD] (Simple?) Problem Creating a "Yes/No" [Data Type] Field in a MakeTable Query Susan, Arthur, Rocky, William, Jim, John, Doris, Jim Lawrence, et al: I need help with an (easy?) Access problem - and I just know that somebody on this list knows the answer. I am working on a "Make Table" query which will have to be used (and reused) repeatedly to create the same table from scratch. One of the field cells in this query is created (in the QBE pane) from an expression. The expression is as follows: Record_Select_Flag: "0" The corresponding phrase/clause for this expression (in SQL view) is: "0" AS [Record_Select_Flag] INTO Here's my problem. The data type of the field created by this expression is a "Text" field. I would like to create a "Yes/No" checkbox field rather than a "Text" field. (Actually, a "Yes/No" field will work just fine.) Can anyone tell me how to modify the expression to create a "Yes/No" field? I've been searching the Access "Help" library, but so far I haven't found the answer ... Alan C. Lawhon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.be Fri Sep 12 01:07:01 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 12 Sep 2003 08:07:01 +0200 Subject: [AccessD] instr() - Need an exact match Message-ID: Euh, you could also use this when you are sure the values are seperated by a komma. InStr(1,"a_Group,b_Group,c_Group" & "," , "c_Group" & "," ,c) By adding the "," in bot strings you make the search string more unique. You must be sure that no komma is used in the group names. If you build the to be searched string yourself use chr(13) for as a delimiter and replace the addedd "," by a chr(13). vbBinaryCompare is only needed if you really wanna match. This means a_group is NOT the same as a_Group At my knowledge instr is much faster than strcomp. So if you gonna have 10000 of iterations inst is faster. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Skolits Verzonden: vrijdag 12 september 2003 4:06 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] instr() - Need an exact match Gee, I didn't expect you guys to spend all that time on this but it is greatly appreciated. Function works as ordered. Thanks!! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 11, 2003 5:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match So what you really need to do is compare the portion between the delimiters (commas). Here is a function that illustrates this: Public Function ExactMatch(ByVal strSearchIn As String, ByVal strSearchFor As String) As Boolean Dim lngPos1 As Long Dim lngPos2 As Long lngPos1 = InStr(strSearchIn, strSearchFor) If lngPos1 > 0 Then lngPos2 = InStr(lngPos1 + 1, strSearchIn & ",", ",") If StrComp(Mid$(strSearchIn, lngPos1, lngPos2 - lngPos1), strSearchFor) = 0 Then ExactMatch = True End If End If End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, September 11, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero > value (17), meaning that "c_Group" was found in the first string. Now > if you want an exact match that takes the case into account you can > use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, > must supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I > > don't want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() > > will return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on > > the parsed value. I just thought maybe there's a function I can use > > that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ---------------------------------------------------------------------- > ---- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, states > them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus detection > software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ---------------------------------------------------------------------- > ---- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, states > them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus detection > software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ ---- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Helmut.E.Kotsch at t-online.de Fri Sep 12 01:11:52 2003 From: Helmut.E.Kotsch at t-online.de (Helmut Kotsch) Date: Fri, 12 Sep 2003 08:11:52 +0200 Subject: AW: [AccessD] curious problem with parameter query In-Reply-To: <00a201c378bf$62d79c90$220110ac@SUSANONE> Message-ID: Susan, go to properties of that query and check whether somebody did some sorting on that field, remove the sorting statement. Helmut Helmut.E.Kotsch at t-online.de -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Susan Harkins Gesendet: Freitag, 12. September 2003 01:50 An: AccessD at databaseadvisors.com Betreff: [AccessD] curious problem with parameter query I have a number of regular parameter queries that I use in a personal tracking system -- I've just never bothered to automate them -- and a curious behavior has developed with one of them. It prompts me for the same value twice. It'll give me the right results after the second entry. No, the parameter expression isn't repeated. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Fri Sep 12 01:15:06 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 12 Sep 2003 08:15:06 +0200 Subject: [AccessD] curious problem with parameter query Message-ID: That does ring a bell for me.. But I can't remember right now :-( But I do remeber that when you want to export or maybe print a parameter query it will ask you twice. Once when openening once when exporting/printing. Already done a /DECOMPILE? Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: vrijdag 12 september 2003 1:50 Aan: AccessD at databaseadvisors.com Onderwerp: [AccessD] curious problem with parameter query I have a number of regular parameter queries that I use in a personal tracking system -- I've just never bothered to automate them -- and a curious behavior has developed with one of them. It prompts me for the same value twice. It'll give me the right results after the second entry. No, the parameter expression isn't repeated. Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Fri Sep 12 02:43:31 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 12 Sep 2003 03:43:31 -0400 Subject: [AccessD] OT: Friday humour References: <003101c378c8$57241280$6501a8c0@user> Message-ID: <002b01c37901$8ff0ff90$6001a8c0@dejpolsys> ...a public school graduate no doubt ...probably an "honor" student :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Thursday, September 11, 2003 8:53 PM Subject: [AccessD] OT: Friday humour I have been looking at some contract work on the net and the job descriptions for access / vba developers included comments such as these: ...... Additionally, exposure to MS Access and other 'flat-file' database technologies would be beneficial. !!, and this..... Excellent client relationship skills are required as you may be working on sight Maybe more than IT skills are needed there..... Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 12 03:50:57 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 12 Sep 2003 10:50:57 +0200 Subject: [AccessD] Record deleted by user In-Reply-To: <18913087829.20030906114022@cactus.dk> References: <18913087829.20030906114022@cactus.dk> Message-ID: <1976994046.20030912105057@cactus.dk> Hi John Did you find a solution to this? /gustav >> I am trying to implement a "selected flag" system for a particular form. I >> create a table local to the FE with two fields: >> SelectedID Long >> Selected Boolean >> I modify the form's query to do an outer join between the pk of the original >> table and SelectedID. >> I add a check box to the form bound to the Selected field. >> Whenever the user clicks the check box a record is created in the new table, >> the SelectedID is set to the PK of the original table and the Selected field >> is set true. All fine so far. Printing works fine - filter on records with >> a join to this table and selected = true. >> The odd behavior comes if I delete the records in the new Selected table. >> If I build a query that displays the original table joined to the Selected >> table, when I delete any records in the Selected table, the fields in the >> query from the Selected table display the words "Deleted" and I can no >> longer enter any data in that field because I get a JET error "record >> deleted by user". I have to requery the query and then I can again create >> new records. >> This is an issue because the FORM's recordset works until I delete a record >> in the selected table, then the checkbox FOR THAT RECORD ceases to work for >> no apparent reason. The reason of course is this problem discussed above. From paul.hartland at fsmail.net Fri Sep 12 04:56:58 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 12 Sep 2003 11:56:58 +0200 (CEST) Subject: [AccessD] Linking Word Doc To Access Table via Visual Basic 6 Message-ID: <25407199.1063360618070.JavaMail.www@wwinf3003> To all, I have a Visual Basic 6 application that allows a user to select people for mailmerge then puts them into a temporary table so that they can carry out the mailing. I also have an option where they can select and open the word document that they will use. Is there a way I can allow the user to select the document that they want to use, then automatically link that document to the temporary table ? I am using Office XP...... Thanks in advance for any help on this..... Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd666 at yahoo.com Fri Sep 12 05:01:17 2003 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 12 Sep 2003 03:01:17 -0700 (PDT) Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: <20030912100117.80585.qmail@web60205.mail.yahoo.com> Hi group, i've got a problem. I'm using a tab control. On all tabs i've got listboxes wich are filled with field names of a couple of tables. These listboxes are filled using the rowsource type thingy. This seems to be the original MS-way-of-programming. Below I pasted the code. In the property RowSourceType of the listbox I fill in the function name. When I programmed it it worked fine. The client is on the desktop of the user and the BE is on our test network. It took about 4 seconds to load each tab-page. Now it's in production (on another network) and if a switch between tab pages now takes almost 2 MINUTES!!! Any ideas how this is possible?? tia Sander Private Function ListMeetVelden(fld As Control, id As Variant, row As Variant, col As Variant, code As Variant) As Variant Static strVelden() As String Static lngRows As Long Dim varRetVal As Variant Dim oMeetTable As DAO.Recordset Dim i As Integer On Error GoTo ListMeetVelden_Error Select Case code Case acLBInitialize ReDim strVelden(0) 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strFields)) = "C_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strVelden) + 1) Next i End With Set oMeetTable = Nothing 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strFields)) = "D_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strFields) + 1) Next i End With Set oMeetTable = Nothing 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strVelden)) = "E_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strVelden) + 1) Next i End With ReDim Preserve strVelden(0 To UBound(strVelden) - 1) lngRows = UBound(strVelden) + 1 ' array is 0-based varRetVal = lngRows Case acLBOpen varRetVal = Timer 'Unique ID for control Case acLBGetRowCount varRetVal = lngRows Case acLBGetColumnCount varRetVal = 1 Case acLBGetColumnWidth varRetVal = -1 'Default of -1 uses default column width Case acLBGetValue varRetVal = strVelden(row) Case acLBEnd Erase strVelden End Select ListMeetVelden = varRetVal ListMeetVelden_Exit: Set oMeetTable = Nothing Exit Function ListMeetVelden_Error: Set oMeetTable = Nothing Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") End Function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From askolits at ot.com Fri Sep 12 05:41:14 2003 From: askolits at ot.com (John Skolits) Date: Fri, 12 Sep 2003 06:41:14 -0400 Subject: [AccessD] instr() - Need an exact match In-Reply-To: Message-ID: That would work also but if there is only one value in the SearchIn string, it would not have a comma. Still, a thought I did not think of. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps Sent: Friday, September 12, 2003 2:07 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] instr() - Need an exact match Euh, you could also use this when you are sure the values are seperated by a komma. InStr(1,"a_Group,b_Group,c_Group" & "," , "c_Group" & "," ,c) By adding the "," in bot strings you make the search string more unique. You must be sure that no komma is used in the group names. If you build the to be searched string yourself use chr(13) for as a delimiter and replace the addedd "," by a chr(13). vbBinaryCompare is only needed if you really wanna match. This means a_group is NOT the same as a_Group At my knowledge instr is much faster than strcomp. So if you gonna have 10000 of iterations inst is faster. Erwin Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens John Skolits Verzonden: vrijdag 12 september 2003 4:06 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] instr() - Need an exact match Gee, I didn't expect you guys to spend all that time on this but it is greatly appreciated. Function works as ordered. Thanks!! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 11, 2003 5:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match So what you really need to do is compare the portion between the delimiters (commas). Here is a function that illustrates this: Public Function ExactMatch(ByVal strSearchIn As String, ByVal strSearchFor As String) As Boolean Dim lngPos1 As Long Dim lngPos2 As Long lngPos1 = InStr(strSearchIn, strSearchFor) If lngPos1 > 0 Then lngPos2 = InStr(lngPos1 + 1, strSearchIn & ",", ",") If StrComp(Mid$(strSearchIn, lngPos1, lngPos2 - lngPos1), strSearchFor) = 0 Then ExactMatch = True End If End If End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, September 11, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero > value (17), meaning that "c_Group" was found in the first string. Now > if you want an exact match that takes the case into account you can > use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, > must supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I > > don't want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() > > will return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on > > the parsed value. I just thought maybe there's a function I can use > > that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ---------------------------------------------------------------------- > ---- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, states > them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus detection > software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ---------------------------------------------------------------------- > ---- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, states > them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus detection > software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ ---- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Sep 12 06:56:23 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 12 Sep 2003 07:56:23 -0400 Subject: [AccessD] instr() - Need an exact match Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F52D@TTNEXCHSRV1.hshhp.com> Glad you found a solution John but after reading through this thread it occurs to me that regular expressions might solve the problem with much less code. Sorry I don't have a handy example but if you're interested try http://www.devx.com/codemag/Article/16118/0 for a really good article describing them. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Skolits [mailto:askolits at ot.com] Sent: Thursday, September 11, 2003 10:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] instr() - Need an exact match Gee, I didn't expect you guys to spend all that time on this but it is greatly appreciated. Function works as ordered. Thanks!! John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brett Barabash Sent: Thursday, September 11, 2003 5:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match So what you really need to do is compare the portion between the delimiters (commas). Here is a function that illustrates this: Public Function ExactMatch(ByVal strSearchIn As String, ByVal strSearchFor As String) As Boolean Dim lngPos1 As Long Dim lngPos2 As Long lngPos1 = InStr(strSearchIn, strSearchFor) If lngPos1 > 0 Then lngPos2 = InStr(lngPos1 + 1, strSearchIn & ",", ",") If StrComp(Mid$(strSearchIn, lngPos1, lngPos2 - lngPos1), strSearchFor) = 0 Then ExactMatch = True End If End If End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, September 11, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] instr() - Need an exact match The trouble with just using strcomp that way is that it will give you a false match if the search string contains the sought string like this Searchstring = "ABCDE", SoughtString = "BC". Your code will return 0 as the sought string is contained in the search string, but John wants to find the exact string "BC" with only spaces, commas or nothing either side of it. Lambert > -----Original Message----- > From: Brett Barabash [SMTP:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 5:25 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > Oops, > That should read: > StrComp(Mid([StringToSearch],InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > But you get the idea... > > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Thursday, September 11, 2003 3:57 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > How about: > > StrComp(Mid(InStr([StringToSearch], > [SearchFor]),Len([SearchFor])),[SearchFor]) > > > -----Original Message----- > From: John Skolits [mailto:askolits at ot.com] > Sent: Thursday, September 11, 2003 3:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] instr() - Need an exact match > > > Here is a better example. In this case both function return a 1 > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng_Super") > > > StrComp("SecGrp_Eng_Super, secGrp_Admin", "SecGrp_Eng") > > The first one is an exact match, the second a partial match. I want to > distinguish between the two. > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, > Lambert > Sent: Thursday, September 11, 2003 4:13 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] instr() - Need an exact match > > > I'm not clear on why InStr() does not suit your purpose. > > InStr("a_Group,b_Group,c_Group","c_Group") will return a non-zero value > (17), meaning that "c_Group" was found in the first string. Now if you > want > an exact match that takes the case into account you can use... > > InStr(1,"a_Group,b_Group,c_Group","c_group",vbBinaryCompare) ' note, must > supply the start position - 1 > > which will return zero as "c_group" is not found, whereas > > InStr(1,"a_Group,b_Group,c_Group","c_Group",vbBinaryCompare) > > returns 17. > > Lambert > > > -----Original Message----- > > From: John Skolits [SMTP:askolits at ot.com] > > Sent: Thursday, September 11, 2003 3:54 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] instr() - Need an exact match > > > > Is there a way to do an exact match with something like Instr(). I don't > > want a partial match. > > > > For example: > > I have a string: "SecGrp_Admin, SecGrp_Eng, SecGro_User" > > > > I want to look see if "SecGrpAdmin_Super" is in the string. Instr() will > > return a value but I want an exact match. > > > > I know I can parse the string and look for an exact match based on the > > parsed value. I just thought maybe there's a function I can use that > would > > do an Exact match test. > > > > John Skolits > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > -- > ---------------------------------------- > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -------------------------------------------------------------------------- > ------------------------------------------ > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom > they are addressed. > If you have received this email in error please notify the > originator of the message. This footer also confirms that this > email message has been scanned for the presence of computer viruses. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > Scanning of this message and addition of this footer is performed > by SurfControl E-mail Filter software in conjunction with > virus detection software. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at colbyconsulting.com Fri Sep 12 07:12:24 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 12 Sep 2003 08:12:24 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: <1976994046.20030912105057@cactus.dk> Message-ID: No. AFAIK there is no solution, it's a "feature" of access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, September 12, 2003 4:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record deleted by user Hi John Did you find a solution to this? /gustav >> I am trying to implement a "selected flag" system for a particular form. I >> create a table local to the FE with two fields: >> SelectedID Long >> Selected Boolean >> I modify the form's query to do an outer join between the pk of the original >> table and SelectedID. >> I add a check box to the form bound to the Selected field. >> Whenever the user clicks the check box a record is created in the new table, >> the SelectedID is set to the PK of the original table and the Selected field >> is set true. All fine so far. Printing works fine - filter on records with >> a join to this table and selected = true. >> The odd behavior comes if I delete the records in the new Selected table. >> If I build a query that displays the original table joined to the Selected >> table, when I delete any records in the Selected table, the fields in the >> query from the Selected table display the words "Deleted" and I can no >> longer enter any data in that field because I get a JET error "record >> deleted by user". I have to requery the query and then I can again create >> new records. >> This is an issue because the FORM's recordset works until I delete a record >> in the selected table, then the checkbox FOR THAT RECORD ceases to work for >> no apparent reason. The reason of course is this problem discussed above. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 12 07:33:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 12 Sep 2003 14:33:45 +0200 Subject: [AccessD] Record deleted by user In-Reply-To: References: Message-ID: <120362019.20030912143345@cactus.dk> Hi John Just curious - did you consider the suggestion of mine: You could create the records as needed - as you do now - but instead of deleting them when finished, update Selected to False - this means, of course, that a selected record must have an entry in your select table and the field Selected in this must be True. Then, from time to time, delete those records in the select table where Selected is False. Or did you overwrite the FE every morning? Or, as suggested by Jim, use a temp table which you recreate at every launch. The reason I ask is that I may be facing a similar request and, of course, am interested in experiences ... /gustav > No. AFAIK there is no solution, it's a "feature" of access. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, September 12, 2003 4:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Record deleted by user > Hi John > Did you find a solution to this? > /gustav >>> I am trying to implement a "selected flag" system for a particular form. >>> I create a table local to the FE with two fields: >>> SelectedID Long >>> Selected Boolean >>> I modify the form's query to do an outer join between the pk of the >>> original table and SelectedID. >>> I add a check box to the form bound to the Selected field. >>> Whenever the user clicks the check box a record is created in the new >>> table, >>> the SelectedID is set to the PK of the original table and the Selected >>> field >>> is set true. All fine so far. Printing works fine - filter on records >>> with a join to this table and selected = true. >>> The odd behavior comes if I delete the records in the new Selected table. >>> If I build a query that displays the original table joined to the >>> Selected >>> table, when I delete any records in the Selected table, the fields in the >>> query from the Selected table display the words "Deleted" and I can no >>> longer enter any data in that field because I get a JET error "record >>> deleted by user". I have to requery the query and then I can again >>> create new records. >>> This is an issue because the FORM's recordset works until I delete a >>> record >>> in the selected table, then the checkbox FOR THAT RECORD ceases to work >>> for >>> no apparent reason. The reason of course is this problem discussed >>> above. From jcolby at colbyconsulting.com Fri Sep 12 07:53:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 12 Sep 2003 08:53:35 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: <120362019.20030912143345@cactus.dk> Message-ID: In fact it is not an issue in my app. I create an outer join between the two tables such that the main record is always there, but the "select" table doesn't have a record until the user clicks on a combo bound to a field in that Select table. At that instant Access does correctly create the table. Good so far. The issue only really comes up if: 1) The form stays open after it "knows about" a record in the Select table. 2) With the form open the select record is deleted somehow. >From that point on the form can no longer use the combo box bound to the Select flag FOR THE DELETED RECORD ONLY. If the form is closed and re-opened, no problem. If the form is requeried, no problem. It was an artificial environment, since I was going into the Select table and deleting these records manually in the course of testing the form. However it is possible that a developer could inadvertently perform a delete on this table via code or some other method. It was really for that reason that I even wrote the message to the group. I was not looking for a "solution" since I don't really believe there is one per se, rather I was just informing the group that this behavior happens and to think about it if you ever find yourself unable to place data into a control on a form with a recordset like this. It took me awhile to figure out what was going on, why, and how to work around it (don't delete the records from the outer join table, close / reopen the form / requery the form). John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, September 12, 2003 8:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record deleted by user Hi John Just curious - did you consider the suggestion of mine: You could create the records as needed - as you do now - but instead of deleting them when finished, update Selected to False - this means, of course, that a selected record must have an entry in your select table and the field Selected in this must be True. Then, from time to time, delete those records in the select table where Selected is False. Or did you overwrite the FE every morning? Or, as suggested by Jim, use a temp table which you recreate at every launch. The reason I ask is that I may be facing a similar request and, of course, am interested in experiences ... /gustav > No. AFAIK there is no solution, it's a "feature" of access. > John W. Colby > www.colbyconsulting.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, September 12, 2003 4:51 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Record deleted by user > Hi John > Did you find a solution to this? > /gustav >>> I am trying to implement a "selected flag" system for a particular form. >>> I create a table local to the FE with two fields: >>> SelectedID Long >>> Selected Boolean >>> I modify the form's query to do an outer join between the pk of the >>> original table and SelectedID. >>> I add a check box to the form bound to the Selected field. >>> Whenever the user clicks the check box a record is created in the new >>> table, >>> the SelectedID is set to the PK of the original table and the Selected >>> field >>> is set true. All fine so far. Printing works fine - filter on records >>> with a join to this table and selected = true. >>> The odd behavior comes if I delete the records in the new Selected table. >>> If I build a query that displays the original table joined to the >>> Selected >>> table, when I delete any records in the Selected table, the fields in the >>> query from the Selected table display the words "Deleted" and I can no >>> longer enter any data in that field because I get a JET error "record >>> deleted by user". I have to requery the query and then I can again >>> create new records. >>> This is an issue because the FORM's recordset works until I delete a >>> record >>> in the selected table, then the checkbox FOR THAT RECORD ceases to work >>> for >>> no apparent reason. The reason of course is this problem discussed >>> above. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Fri Sep 12 08:38:03 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 12 Sep 2003 08:38:03 -0500 Subject: [AccessD] Selecting Top 10 for each group member In-Reply-To: <010201c378d3$5b860c10$220110ac@SUSANONE> Message-ID: <009401c37933$17e65590$036fa8c0@DellLaptop> Hi Susan: I'll (at least I think) need to be able to do both, since they need a printed version and something that we can export to Excel. Larry Mrazek LCM Research, Inc. ph. 314-997-2574 fx. 314-997-2620 lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, September 11, 2003 8:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Top 10 for each group member Do you need this at the query level? If the result is a report, you could accomplish this at the report/subreport level instead. Susan H. > Greetings: > > I have a sales database that we need to report against. We need to > find the > top 10 accounts for each sales territory and then view a report of the > top 10 accounts for each territory showing order details. and I'm > having trouble > figuring out how to do this with a query (if it is possible). > > I can find the top ten accounts using code like this below, but I then have > to run through each territory, appending the results to an > intermediate table, which I can then join to the master table to get > the Top 10 Accounts > for each territory (joining SalesRepCode, BillToNumber). Of course, > this is > quite clumsy; I know there must be some other way of doing this. > > SELECT TOP 10 table1.SalesRepCode, table1.BillToNumber, > Sum(table1.MarginYTDThisYear) AS MarginYTDThisYear > FROM table1 > GROUP BY table1.SalesRepCode, table1.BillToNumber > HAVING (((table1.SalesRepCode)="code")) > ORDER BY table1.SalesRepCode, Sum(table1.MarginYTDThisYear) DESC; > > The query above produces something like this: > SalesRepCode BillToNumber MarginYTDThisYear > 23 1 $99999.99 > 23 2 $88888.88 > 23 3 $77777.77 > 23 3 $66666.66 > 23 5 $55555.55 > 23 6 $44444.44 > 23 7 $33333.33 > 23 8 $22222.22 > 23 9 $11111.11 > 23 10 $01111.11 > > > Any hints/pointers would be very helpful. Thanks in advance for any > help. > > Larry Mrazek > LCM Research, Inc. > ph. 314-997-2574 > fx. 314-997-2620 > lmrazek at lcm-res.com > http://www.lcm-res.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.be Fri Sep 12 08:47:15 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 12 Sep 2003 15:47:15 +0200 Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Message-ID: Can I create a slideshow page in Powerpoint (running endlessly in show) that displays a hitlist based on data in a Access database. The hitlist is dynamic, so each time the slideshow passes this slide in the endless slide loop, it should show live data on screen. The activity should be from Powerpoint, I mean by that that PP should get the data in the MDB file and NOT Access pushing (exporting) the data. thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 12 09:07:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 12 Sep 2003 16:07:11 +0200 Subject: [AccessD] Selecting Top 10 for each group member In-Reply-To: <009401c37933$17e65590$036fa8c0@DellLaptop> References: <009401c37933$17e65590$036fa8c0@DellLaptop> Message-ID: <6125967949.20030912160711@cactus.dk> Hi Lawrence I don't think your method is that clumsy, actually I guess it is pretty fast compared to joining the top10 query and the specifications query. Alternatively, you could state IN (Select AccountID From ) as the where criteria for AccountID in your specifications query. /gustav > Hi Susan: > I'll (at least I think) need to be able to do both, since they need a > printed version and something that we can export to Excel. > Larry Mrazek > LCM Research, Inc. > ph. 314-997-2574 > fx. 314-997-2620 > lmrazek at lcm-res.com > http://www.lcm-res.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, September 11, 2003 8:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Top 10 for each group member > Do you need this at the query level? If the result is a report, you could > accomplish this at the report/subreport level instead. > Susan H. >> Greetings: >> >> I have a sales database that we need to report against. We need to >> find > the >> top 10 accounts for each sales territory and then view a report of the >> top 10 accounts for each territory showing order details. and I'm >> having > trouble >> figuring out how to do this with a query (if it is possible). >> >> I can find the top ten accounts using code like this below, but I then > have >> to run through each territory, appending the results to an >> intermediate table, which I can then join to the master table to get >> the Top 10 > Accounts >> for each territory (joining SalesRepCode, BillToNumber). Of course, >> this > is >> quite clumsy; I know there must be some other way of doing this. >> >> SELECT TOP 10 table1.SalesRepCode, table1.BillToNumber, >> Sum(table1.MarginYTDThisYear) AS MarginYTDThisYear >> FROM table1 >> GROUP BY table1.SalesRepCode, table1.BillToNumber >> HAVING (((table1.SalesRepCode)="code")) >> ORDER BY table1.SalesRepCode, Sum(table1.MarginYTDThisYear) DESC; >> >> The query above produces something like this: >> SalesRepCode BillToNumber MarginYTDThisYear >> 23 1 $99999.99 >> 23 2 $88888.88 >> 23 3 $77777.77 >> 23 3 $66666.66 >> 23 5 $55555.55 >> 23 6 $44444.44 >> 23 7 $33333.33 >> 23 8 $22222.22 >> 23 9 $11111.11 >> 23 10 $01111.11 >> >> >> Any hints/pointers would be very helpful. Thanks in advance for any >> help. >> >> Larry Mrazek >> LCM Research, Inc. >> ph. 314-997-2574 >> fx. 314-997-2620 >> lmrazek at lcm-res.com >> http://www.lcm-res.com >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 12 09:57:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 12 Sep 2003 07:57:14 -0700 Subject: [AccessD] Record deleted by user Message-ID: John, Did you ever think about using a disconnected recordset for the selected items rather than a temp table? You could even persist the thing to a file if you needed to save it between sessions. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 12, 2003 4:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user No. AFAIK there is no solution, it's a "feature" of access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, September 12, 2003 4:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record deleted by user Hi John Did you find a solution to this? /gustav >> I am trying to implement a "selected flag" system for a particular >> form. I >> create a table local to the FE with two fields: >> SelectedID Long >> Selected Boolean >> I modify the form's query to do an outer join between the pk of the original >> table and SelectedID. >> I add a check box to the form bound to the Selected field. >> Whenever the user clicks the check box a record is created in the new table, >> the SelectedID is set to the PK of the original table and the >> Selected field >> is set true. All fine so far. Printing works fine - filter on >> records with >> a join to this table and selected = true. >> The odd behavior comes if I delete the records in the new Selected >> table. If I build a query that displays the original table joined to >> the Selected >> table, when I delete any records in the Selected table, the fields in >> the query from the Selected table display the words "Deleted" and I >> can no longer enter any data in that field because I get a JET error >> "record deleted by user". I have to requery the query and then I can >> again create >> new records. >> This is an issue because the FORM's recordset works until I delete a record >> in the selected table, then the checkbox FOR THAT RECORD ceases to >> work for >> no apparent reason. The reason of course is this problem discussed above. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 12 10:05:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 12 Sep 2003 08:05:44 -0700 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: IMO 4 seconds is too long to load each tab page as well. Your callback routine is repeatedly opening and closing what looks like the same recordset or else you pasted the same acLBInitialize case code in 3 times. A field list as the rowsourcetype would be a faster way to get a list of fields for a single table. Charlotte Foust -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Friday, September 12, 2003 2:01 AM To: Acces User Group Subject: [AccessD] listbox with rowsource type (ala MS) Hi group, i've got a problem. I'm using a tab control. On all tabs i've got listboxes wich are filled with field names of a couple of tables. These listboxes are filled using the rowsource type thingy. This seems to be the original MS-way-of-programming. Below I pasted the code. In the property RowSourceType of the listbox I fill in the function name. When I programmed it it worked fine. The client is on the desktop of the user and the BE is on our test network. It took about 4 seconds to load each tab-page. Now it's in production (on another network) and if a switch between tab pages now takes almost 2 MINUTES!!! Any ideas how this is possible?? tia Sander Private Function ListMeetVelden(fld As Control, id As Variant, row As Variant, col As Variant, code As Variant) As Variant Static strVelden() As String Static lngRows As Long Dim varRetVal As Variant Dim oMeetTable As DAO.Recordset Dim i As Integer On Error GoTo ListMeetVelden_Error Select Case code Case acLBInitialize ReDim strVelden(0) 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strFields)) = "C_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strVelden) + 1) Next i End With Set oMeetTable = Nothing 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strFields)) = "D_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strFields) + 1) Next i End With Set oMeetTable = Nothing 'fill array with fields. Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) With oMeetTable For i = 0 To .Fields.Count - 1 strVelden(UBound(strVelden)) = "E_" & .Fields(i).Name ReDim Preserve strVelden(0 To UBound(strVelden) + 1) Next i End With ReDim Preserve strVelden(0 To UBound(strVelden) - 1) lngRows = UBound(strVelden) + 1 ' array is 0-based varRetVal = lngRows Case acLBOpen varRetVal = Timer 'Unique ID for control Case acLBGetRowCount varRetVal = lngRows Case acLBGetColumnCount varRetVal = 1 Case acLBGetColumnWidth varRetVal = -1 'Default of -1 uses default column width Case acLBGetValue varRetVal = strVelden(row) Case acLBEnd Erase strVelden End Select ListMeetVelden = varRetVal ListMeetVelden_Exit: Set oMeetTable = Nothing Exit Function ListMeetVelden_Error: Set oMeetTable = Nothing Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") End Function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.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 Sep 12 10:09:09 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 12 Sep 2003 08:09:09 -0700 Subject: [AccessD] OT: Friday humour Message-ID: Yep, I saw that 'flat-file' one as well and wondered where the writer recognized a database on site. Charlotte Foust -----Original Message----- From: Kath Pelletti [mailto:sdssoftware at optusnet.com.au] Sent: Thursday, September 11, 2003 4:54 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Friday humour I have been looking at some contract work on the net and the job descriptions for access / vba developers included comments such as these: ...... Additionally, exposure to MS Access and other 'flat-file' database technologies would be beneficial. !!, and this..... Excellent client relationship skills are required as you may be working on sight Maybe more than IT skills are needed there..... Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 sdssoftware at optusnet.com.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Sep 12 10:50:03 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 12 Sep 2003 11:50:03 -0400 Subject: [AccessD] Record deleted by user In-Reply-To: Message-ID: In my specific case the point of the table is to create a selected record for (small) N number of records in a main table. In other words, I could simply place a selected flag in the main table. When the user wants to print a record or handful of records, they set the selected flag. The report chooses all records with the selected flag set and prints them, then the code clears all the selected flags. Only problem is "multi-user" issues. Two users are selecting records at the same time, and when they print they get each other's records as well as their own. ONE solution is to build the selected table local to the FE and simply join one-to-one with the main table in the BE. Now when a user wants to select a record, a new record is created in the selected table for exactly the record in the main table they are trying to select. Then the report joins the records in the selected table (local to the FE) with the records in the main table in the BE to decide what records to print. Multi-user issues disappear since each user has her own select table. Now, can that be done with a disconnected recordset? I don't know because I'm not familiar with the technology. The method I am discussing is simply a real table in the FE, a real table in the BE, a query that joins the two for the (bound) data entry form where the records are selected for printing, and a query that joins the two for the report to be printed. It all works exactly as advertised, with the exception of the possible problem if a record is created in the temp table and then deleted and then an attempt is made to create the same record in the temp table a second time. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Friday, September 12, 2003 10:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user John, Did you ever think about using a disconnected recordset for the selected items rather than a temp table? You could even persist the thing to a file if you needed to save it between sessions. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 12, 2003 4:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Record deleted by user No. AFAIK there is no solution, it's a "feature" of access. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, September 12, 2003 4:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Record deleted by user Hi John Did you find a solution to this? /gustav >> I am trying to implement a "selected flag" system for a particular >> form. I >> create a table local to the FE with two fields: >> SelectedID Long >> Selected Boolean >> I modify the form's query to do an outer join between the pk of the original >> table and SelectedID. >> I add a check box to the form bound to the Selected field. >> Whenever the user clicks the check box a record is created in the new table, >> the SelectedID is set to the PK of the original table and the >> Selected field >> is set true. All fine so far. Printing works fine - filter on >> records with >> a join to this table and selected = true. >> The odd behavior comes if I delete the records in the new Selected >> table. If I build a query that displays the original table joined to >> the Selected >> table, when I delete any records in the Selected table, the fields in >> the query from the Selected table display the words "Deleted" and I >> can no longer enter any data in that field because I get a JET error >> "record deleted by user". I have to requery the query and then I can >> again create >> new records. >> This is an issue because the FORM's recordset works until I delete a record >> in the selected table, then the checkbox FOR THAT RECORD ceases to >> work for >> no apparent reason. The reason of course is this problem discussed above. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Fri Sep 12 11:11:17 2003 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Fri, 12 Sep 2003 11:11:17 -0500 Subject: [AccessD] Selecting Top 10 for each group member In-Reply-To: <6125967949.20030912160711@cactus.dk> Message-ID: <00cc01c37948$82b3e620$036fa8c0@DellLaptop> Thanks Gustav: I've decided to use my approach, since some of the sales territories share billto accounts (don't ask, data is coming off a mainframe system) it made some of my attempts at using subqueries produce strange results. Thanks for your help! Larry Mrazek LCM Research, Inc. ph. 314-997-2574 fx. 314-997-2620 lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 12, 2003 8:07 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Selecting Top 10 for each group member Hi Lawrence I don't think your method is that clumsy, actually I guess it is pretty fast compared to joining the top10 query and the specifications query. Alternatively, you could state IN (Select AccountID From ) as the where criteria for AccountID in your specifications query. /gustav > Hi Susan: > I'll (at least I think) need to be able to do both, since they need a > printed version and something that we can export to Excel. > Larry Mrazek > LCM Research, Inc. > ph. 314-997-2574 > fx. 314-997-2620 > lmrazek at lcm-res.com > http://www.lcm-res.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Thursday, September 11, 2003 8:13 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Selecting Top 10 for each group member > Do you need this at the query level? If the result is a report, you > could accomplish this at the report/subreport level instead. > Susan H. >> Greetings: >> >> I have a sales database that we need to report against. We need to >> find > the >> top 10 accounts for each sales territory and then view a report of >> the >> top 10 accounts for each territory showing order details. and I'm >> having > trouble >> figuring out how to do this with a query (if it is possible). >> >> I can find the top ten accounts using code like this below, but I >> then > have >> to run through each territory, appending the results to an >> intermediate table, which I can then join to the master table to get >> the Top 10 > Accounts >> for each territory (joining SalesRepCode, BillToNumber). Of course, >> this > is >> quite clumsy; I know there must be some other way of doing this. >> >> SELECT TOP 10 table1.SalesRepCode, table1.BillToNumber, >> Sum(table1.MarginYTDThisYear) AS MarginYTDThisYear >> FROM table1 >> GROUP BY table1.SalesRepCode, table1.BillToNumber >> HAVING (((table1.SalesRepCode)="code")) >> ORDER BY table1.SalesRepCode, Sum(table1.MarginYTDThisYear) DESC; >> >> The query above produces something like this: >> SalesRepCode BillToNumber MarginYTDThisYear >> 23 1 $99999.99 >> 23 2 $88888.88 >> 23 3 $77777.77 >> 23 3 $66666.66 >> 23 5 $55555.55 >> 23 6 $44444.44 >> 23 7 $33333.33 >> 23 8 $22222.22 >> 23 9 $11111.11 >> 23 10 $01111.11 >> >> >> Any hints/pointers would be very helpful. Thanks in advance for any >> help. >> >> Larry Mrazek >> LCM Research, Inc. >> ph. 314-997-2574 >> fx. 314-997-2620 >> lmrazek at lcm-res.com >> http://www.lcm-res.com >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Sep 12 12:07:27 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 12 Sep 2003 11:07:27 -0600 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: I would not open a recordset to get the fields collection. The recordset you are opening would pull the entire table contents to the client. You can iterate the fields collection from the linked table def object directly without pulling a single record. I also don't like the manner in which your exit/error handler runs here. This function is called many times as separate calls and called again as the list is repainted and on each exit the routine tries to destroy oMeetTable = Nothing. Only in the first call to the initialize should any objects be created and destroyed and it is sensible to close the object before setting the variable to nothing. In all subsequent calls your error handler is called because there is no object to destroy as it was only created in the first call. I would suggest an alternative that calls a separate sub procedure that returns a static variant containing the array to your function and only create/destroy object variables (in this case tabledef and possibly field variables) in that sub procedure. Have you considered the possibility of using a list for each table and setting the row souce type property to 'field list'? Hen >From: Sad Der >Reply-To: Access Developers discussion and problem >solving >To: Acces User Group >Subject: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 03:01:17 -0700 (PDT) > >Hi group, > >i've got a problem. I'm using a tab control. On all >tabs i've got listboxes wich are filled with field >names of a couple of tables. These listboxes are >filled using the rowsource type thingy. This seems to >be the original MS-way-of-programming. > >Below I pasted the code. In the property RowSourceType >of the listbox I fill in the function name. > >When I programmed it it worked fine. The client is on >the desktop of the user and the BE is on our test >network. It took about 4 seconds to load each >tab-page. > >Now it's in production (on another network) and if a >switch between tab pages now takes almost 2 MINUTES!!! > >Any ideas how this is possible?? > >tia > >Sander >Private Function ListMeetVelden(fld As Control, id As >Variant, row As Variant, col As Variant, code As >Variant) As Variant > > Static strVelden() As String > Static lngRows As Long > Dim varRetVal As Variant > Dim oMeetTable As DAO.Recordset > Dim i As Integer > > On Error GoTo ListMeetVelden_Error > > Select Case code > Case acLBInitialize > ReDim strVelden(0) > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "C_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "D_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strFields) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strVelden)) = "E_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > ReDim Preserve strVelden(0 To UBound(strVelden) >- 1) > > lngRows = UBound(strVelden) + 1 ' array is >0-based > varRetVal = lngRows > Case acLBOpen > varRetVal = Timer 'Unique ID for control > Case acLBGetRowCount > varRetVal = lngRows > Case acLBGetColumnCount > varRetVal = 1 > Case acLBGetColumnWidth > varRetVal = -1 'Default of -1 uses default >column width > Case acLBGetValue > varRetVal = strVelden(row) > Case acLBEnd > Erase strVelden > End Select > > ListMeetVelden = varRetVal > >ListMeetVelden_Exit: > Set oMeetTable = Nothing > Exit Function >ListMeetVelden_Error: > Set oMeetTable = Nothing > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >End Function > > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From DWUTKA at marlow.com Fri Sep 12 12:20:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 12 Sep 2003 12:20:20 -0500 Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271E0@main2.marlow.com> You can use VBA within PP, so I would say the answer is yes. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, September 12, 2003 8:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Can I create a slideshow page in Powerpoint (running endlessly in show) that displays a hitlist based on data in a Access database. The hitlist is dynamic, so each time the slideshow passes this slide in the endless slide loop, it should show live data on screen. The activity should be from Powerpoint, I mean by that that PP should get the data in the MDB file and NOT Access pushing (exporting) the data. thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Sep 12 12:21:23 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 12 Sep 2003 13:21:23 -0400 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F531@TTNEXCHSRV1.hshhp.com> Good suggestions Henry but I just want to point out that even though it's not done here the recordset could pull in no contents by using SQL "SELECT * FROM myTable WHERE FALSE" instead of the table name. Something like that might help performance too. Jim DeMarco -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Friday, September 12, 2003 1:07 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] listbox with rowsource type (ala MS) I would not open a recordset to get the fields collection. The recordset you are opening would pull the entire table contents to the client. You can iterate the fields collection from the linked table def object directly without pulling a single record. I also don't like the manner in which your exit/error handler runs here. This function is called many times as separate calls and called again as the list is repainted and on each exit the routine tries to destroy oMeetTable = Nothing. Only in the first call to the initialize should any objects be created and destroyed and it is sensible to close the object before setting the variable to nothing. In all subsequent calls your error handler is called because there is no object to destroy as it was only created in the first call. I would suggest an alternative that calls a separate sub procedure that returns a static variant containing the array to your function and only create/destroy object variables (in this case tabledef and possibly field variables) in that sub procedure. Have you considered the possibility of using a list for each table and setting the row souce type property to 'field list'? Hen >From: Sad Der >Reply-To: Access Developers discussion and problem >solving >To: Acces User Group >Subject: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 03:01:17 -0700 (PDT) > >Hi group, > >i've got a problem. I'm using a tab control. On all >tabs i've got listboxes wich are filled with field >names of a couple of tables. These listboxes are >filled using the rowsource type thingy. This seems to >be the original MS-way-of-programming. > >Below I pasted the code. In the property RowSourceType >of the listbox I fill in the function name. > >When I programmed it it worked fine. The client is on >the desktop of the user and the BE is on our test >network. It took about 4 seconds to load each >tab-page. > >Now it's in production (on another network) and if a >switch between tab pages now takes almost 2 MINUTES!!! > >Any ideas how this is possible?? > >tia > >Sander >Private Function ListMeetVelden(fld As Control, id As >Variant, row As Variant, col As Variant, code As >Variant) As Variant > > Static strVelden() As String > Static lngRows As Long > Dim varRetVal As Variant > Dim oMeetTable As DAO.Recordset > Dim i As Integer > > On Error GoTo ListMeetVelden_Error > > Select Case code > Case acLBInitialize > ReDim strVelden(0) > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "C_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "D_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strFields) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = >CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strVelden)) = "E_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > ReDim Preserve strVelden(0 To UBound(strVelden) >- 1) > > lngRows = UBound(strVelden) + 1 ' array is >0-based > varRetVal = lngRows > Case acLBOpen > varRetVal = Timer 'Unique ID for control > Case acLBGetRowCount > varRetVal = lngRows > Case acLBGetColumnCount > varRetVal = 1 > Case acLBGetColumnWidth > varRetVal = -1 'Default of -1 uses default >column width > Case acLBGetValue > varRetVal = strVelden(row) > Case acLBEnd > Erase strVelden > End Select > > ListMeetVelden = varRetVal > >ListMeetVelden_Exit: > Set oMeetTable = Nothing > Exit Function >ListMeetVelden_Error: > Set oMeetTable = Nothing > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >End Function > > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From hsimpson88 at hotmail.com Fri Sep 12 13:19:50 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 12 Sep 2003 12:19:50 -0600 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: Any steps taken to minimize the size of the recordset will help and your suggestion will probably result in nearly exactly the same performance improvement as the suggestion I made. I doubt that modifying the exit/error routine will result in a detectable performance difference. However... I'm not sure, but might that not still involve opening another request from the remote file? My understanding is that once you have a reference returned by CurrentDb, as is used in the example, you have refreshed the database collections making the field collection available locally and this would save the LAN wait time plus avoid the creation of a recordset object which is a pretty chunky obect as it has more properties and methods than a tabledef object even if it contains no records. I doubt that it is good practice to open a recordset to get at a tabledef's fields collection since it is directly accessible from the tabledef without opening a recordset based on that table. Hen >From: "Jim DeMarco" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem solving" > >Subject: RE: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 13:21:23 -0400 > >Good suggestions Henry but I just want to point out that even though it's >not done here the recordset could pull in no contents by using SQL "SELECT >* FROM myTable WHERE FALSE" instead of the table name. Something like that >might help performance too. > >Jim DeMarco > > > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Friday, September 12, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] listbox with rowsource type (ala MS) > > >I would not open a recordset to get the fields collection. The recordset >you are opening would pull the entire table contents to the client. You >can >iterate the fields collection from the linked table def object directly >without pulling a single record. > >I also don't like the manner in which your exit/error handler runs here. >This function is called many times as separate calls and called again as >the >list is repainted and on each exit the routine tries to destroy oMeetTable >= >Nothing. Only in the first call to the initialize should any objects be >created and destroyed and it is sensible to close the object before setting >the variable to nothing. In all subsequent calls your error handler is >called because there is no object to destroy as it was only created in the >first call. > >I would suggest an alternative that calls a separate sub procedure that >returns a static variant containing the array to your function and only >create/destroy object variables (in this case tabledef and possibly field >variables) in that sub procedure. > >Have you considered the possibility of using a list for each table and >setting the row souce type property to 'field list'? > >Hen > > >From: Sad Der > >Reply-To: Access Developers discussion and problem > >solving > >To: Acces User Group > >Subject: [AccessD] listbox with rowsource type (ala MS) > >Date: Fri, 12 Sep 2003 03:01:17 -0700 (PDT) > > > >Hi group, > > > >i've got a problem. I'm using a tab control. On all > >tabs i've got listboxes wich are filled with field > >names of a couple of tables. These listboxes are > >filled using the rowsource type thingy. This seems to > >be the original MS-way-of-programming. > > > >Below I pasted the code. In the property RowSourceType > >of the listbox I fill in the function name. > > > >When I programmed it it worked fine. The client is on > >the desktop of the user and the BE is on our test > >network. It took about 4 seconds to load each > >tab-page. > > > >Now it's in production (on another network) and if a > >switch between tab pages now takes almost 2 MINUTES!!! > > > >Any ideas how this is possible?? > > > >tia > > > >Sander > >Private Function ListMeetVelden(fld As Control, id As > >Variant, row As Variant, col As Variant, code As > >Variant) As Variant > > > > Static strVelden() As String > > Static lngRows As Long > > Dim varRetVal As Variant > > Dim oMeetTable As DAO.Recordset > > Dim i As Integer > > > > On Error GoTo ListMeetVelden_Error > > > > Select Case code > > Case acLBInitialize > > ReDim strVelden(0) > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strFields)) = "C_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strVelden) + 1) > > Next i > > End With > > > > Set oMeetTable = Nothing > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strFields)) = "D_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strFields) + 1) > > Next i > > End With > > > > Set oMeetTable = Nothing > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strVelden)) = "E_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strVelden) + 1) > > Next i > > End With > > > > ReDim Preserve strVelden(0 To UBound(strVelden) > >- 1) > > > > lngRows = UBound(strVelden) + 1 ' array is > >0-based > > varRetVal = lngRows > > Case acLBOpen > > varRetVal = Timer 'Unique ID for control > > Case acLBGetRowCount > > varRetVal = lngRows > > Case acLBGetColumnCount > > varRetVal = 1 > > Case acLBGetColumnWidth > > varRetVal = -1 'Default of -1 uses default > >column width > > Case acLBGetValue > > varRetVal = strVelden(row) > > Case acLBEnd > > Erase strVelden > > End Select > > > > ListMeetVelden = varRetVal > > > >ListMeetVelden_Exit: > > Set oMeetTable = Nothing > > Exit Function > >ListMeetVelden_Error: > > Set oMeetTable = Nothing > > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") > >End Function _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus From kaupca at chevrontexaco.com Fri Sep 12 13:39:13 2003 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Fri, 12 Sep 2003 13:39:13 -0500 Subject: [AccessD] Delete query will not run Message-ID: <193572B4E0FC1744BEDFEE63F82CEC9E011E3E9E@bocnte2k4.boc.chevrontexaco.net> I am probably missing something real simple here. Thought I had done this before. Keeps asking for parameter value. Anyway here is the sql. DELETE [tbl DOI data by well].WELLNOMST, [tbl DOI data by well].WellName, [tbl DOI data by well].APINUMBER, [tbl DOI data by well].Net, [tbl DOI data by well].Comment FROM [tbl DOI data by well] WHERE ((([tbl DOI data by well].WELLNOMST)=[tbl Ft Stockton DOI Info].[WELLNOMST])); No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Sep 12 13:40:39 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 12 Sep 2003 14:40:39 -0400 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F538@TTNEXCHSRV1.hshhp.com> Absolutely agree. In fact I wasn't disagreeing with anything you said. Just wanted to point out about the empty recordset. Jim D -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Friday, September 12, 2003 2:20 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] listbox with rowsource type (ala MS) Any steps taken to minimize the size of the recordset will help and your suggestion will probably result in nearly exactly the same performance improvement as the suggestion I made. I doubt that modifying the exit/error routine will result in a detectable performance difference. However... I'm not sure, but might that not still involve opening another request from the remote file? My understanding is that once you have a reference returned by CurrentDb, as is used in the example, you have refreshed the database collections making the field collection available locally and this would save the LAN wait time plus avoid the creation of a recordset object which is a pretty chunky obect as it has more properties and methods than a tabledef object even if it contains no records. I doubt that it is good practice to open a recordset to get at a tabledef's fields collection since it is directly accessible from the tabledef without opening a recordset based on that table. Hen >From: "Jim DeMarco" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem solving" > >Subject: RE: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 13:21:23 -0400 > >Good suggestions Henry but I just want to point out that even though it's >not done here the recordset could pull in no contents by using SQL "SELECT >* FROM myTable WHERE FALSE" instead of the table name. Something like that >might help performance too. > >Jim DeMarco > > > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Friday, September 12, 2003 1:07 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] listbox with rowsource type (ala MS) > > >I would not open a recordset to get the fields collection. The recordset >you are opening would pull the entire table contents to the client. You >can >iterate the fields collection from the linked table def object directly >without pulling a single record. > >I also don't like the manner in which your exit/error handler runs here. >This function is called many times as separate calls and called again as >the >list is repainted and on each exit the routine tries to destroy oMeetTable >= >Nothing. Only in the first call to the initialize should any objects be >created and destroyed and it is sensible to close the object before setting >the variable to nothing. In all subsequent calls your error handler is >called because there is no object to destroy as it was only created in the >first call. > >I would suggest an alternative that calls a separate sub procedure that >returns a static variant containing the array to your function and only >create/destroy object variables (in this case tabledef and possibly field >variables) in that sub procedure. > >Have you considered the possibility of using a list for each table and >setting the row souce type property to 'field list'? > >Hen > > >From: Sad Der > >Reply-To: Access Developers discussion and problem > >solving > >To: Acces User Group > >Subject: [AccessD] listbox with rowsource type (ala MS) > >Date: Fri, 12 Sep 2003 03:01:17 -0700 (PDT) > > > >Hi group, > > > >i've got a problem. I'm using a tab control. On all > >tabs i've got listboxes wich are filled with field > >names of a couple of tables. These listboxes are > >filled using the rowsource type thingy. This seems to > >be the original MS-way-of-programming. > > > >Below I pasted the code. In the property RowSourceType > >of the listbox I fill in the function name. > > > >When I programmed it it worked fine. The client is on > >the desktop of the user and the BE is on our test > >network. It took about 4 seconds to load each > >tab-page. > > > >Now it's in production (on another network) and if a > >switch between tab pages now takes almost 2 MINUTES!!! > > > >Any ideas how this is possible?? > > > >tia > > > >Sander > >Private Function ListMeetVelden(fld As Control, id As > >Variant, row As Variant, col As Variant, code As > >Variant) As Variant > > > > Static strVelden() As String > > Static lngRows As Long > > Dim varRetVal As Variant > > Dim oMeetTable As DAO.Recordset > > Dim i As Integer > > > > On Error GoTo ListMeetVelden_Error > > > > Select Case code > > Case acLBInitialize > > ReDim strVelden(0) > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strFields)) = "C_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strVelden) + 1) > > Next i > > End With > > > > Set oMeetTable = Nothing > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strFields)) = "D_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strFields) + 1) > > Next i > > End With > > > > Set oMeetTable = Nothing > > 'fill array with fields. > > Set oMeetTable = > >CurrentDb().OpenRecordset(Name:="tblxxx", > >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > With oMeetTable > > For i = 0 To .Fields.Count - 1 > > strVelden(UBound(strVelden)) = "E_" & > >.Fields(i).Name > > ReDim Preserve strVelden(0 To > >UBound(strVelden) + 1) > > Next i > > End With > > > > ReDim Preserve strVelden(0 To UBound(strVelden) > >- 1) > > > > lngRows = UBound(strVelden) + 1 ' array is > >0-based > > varRetVal = lngRows > > Case acLBOpen > > varRetVal = Timer 'Unique ID for control > > Case acLBGetRowCount > > varRetVal = lngRows > > Case acLBGetColumnCount > > varRetVal = 1 > > Case acLBGetColumnWidth > > varRetVal = -1 'Default of -1 uses default > >column width > > Case acLBGetValue > > varRetVal = strVelden(row) > > Case acLBEnd > > Erase strVelden > > End Select > > > > ListMeetVelden = varRetVal > > > >ListMeetVelden_Exit: > > Set oMeetTable = Nothing > > Exit Function > >ListMeetVelden_Error: > > Set oMeetTable = Nothing > > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") > >End Function _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From JRojas at tnco-inc.com Fri Sep 12 14:09:43 2003 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 12 Sep 2003 15:09:43 -0400 Subject: [AccessD] Delete query will not run Message-ID: <806536912C472E4A9D6515DF2E57261E2394FB@mercury.tnco-inc.com> You are referencing [tbl Ft Stockton DOI Info] in the WHERE clause but you do not have it in the FROM clause. JR -----Original Message----- From: Kaup, Chester A [mailto:kaupca at chevrontexaco.com] Sent: Friday, September 12, 2003 2:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Delete query will not run I am probably missing something real simple here. Thought I had done this before. Keeps asking for parameter value. Anyway here is the sql. DELETE [tbl DOI data by well].WELLNOMST, [tbl DOI data by well].WellName, [tbl DOI data by well].APINUMBER, [tbl DOI data by well].Net, [tbl DOI data by well].Comment FROM [tbl DOI data by well] WHERE ((([tbl DOI data by well].WELLNOMST)=[tbl Ft Stockton DOI Info].[WELLNOMST])); No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Fri Sep 12 14:22:42 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 12 Sep 2003 14:22:42 -0500 Subject: [AccessD] Delete query will not run Message-ID: Asking for unexpected parameter values usually means a typo in a field name for me. Also I see no Join info in your SQL. You're trying to delete the records in one table if they have a certain value in a joined table? Where's the join then? Gary Kjos garykjos at hotmail.com >From: "Kaup, Chester A" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Delete query will not run >Date: Fri, 12 Sep 2003 13:39:13 -0500 > >I am probably missing something real simple here. Thought I had done >this before. Keeps asking for parameter value. Anyway here is the sql. > >DELETE [tbl DOI data by well].WELLNOMST, [tbl DOI data by >well].WellName, [tbl DOI data by well].APINUMBER, [tbl DOI data by >well].Net, [tbl DOI data by well].Comment >FROM [tbl DOI data by well] >WHERE ((([tbl DOI data by well].WELLNOMST)=[tbl Ft Stockton DOI >Info].[WELLNOMST])); > >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 _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From rjhjr at cox.net Fri Sep 12 14:49:44 2003 From: rjhjr at cox.net (Bob Hall) Date: Fri, 12 Sep 2003 15:49:44 -0400 Subject: [AccessD] OT: Friday humour In-Reply-To: References: Message-ID: <20030912194943.GA3742@kongemord.krig.net> On a similar note, this has been on the HotJobs web site for several days: Experience: Entry Level The primary responsibilities of this position will be to: develop software solutions to project requirements; assist and train support staff; contribute to and maintain process improvements. Additional senior responsibilities include: leading teams of 2 5 members; and working with Business Analysts to develop requirements. Requirements: B.S. in Computer Science or equivalent, with career experience in all phases of software development, including requirements, design, implementation, support and the product release cycles. Experience in data base management, and object-oriented programming required. Candidates must have substantial knowledge of: Java and J2EE technologies; UML; XML; Web development (HTML, Javascript, CSS); Software development methodologies (RUP, XP, Scrum), and JUnit. Ideal candidates will also have knowledge/experience in any of the following: microsoft-centric technologies (.NET, ASP, COM, VB); scripting (Ruby, Python, Perl, AWK); project management; familiar From tortise at paradise.net.nz Fri Sep 12 14:49:22 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sat, 13 Sep 2003 07:49:22 +1200 Subject: [AccessD] Sensing Triggering Form Recordset Refreshing References: <2F8793082E00D4119A1700B0D0216BF8022271D0@main2.marlow.com> <1639266714.20030911105716@cactus.dk> <00e501c37851$4bd8f660$0900a8c0@P1200n> Message-ID: <002a01c37966$f6b04c80$0900a8c0@P1200n> For the record if anyone becomes interested I solved this by inserting me.form.requery in the dropdown box routine. I was concerned requerying the form's data with every search would degrade performance. In reality it didn't seem to matter, so testing for new records seems pointless. So code appears: Private Sub cboCompany_AfterUpdate() On Error GoTo cboCompany_AfterUpdate_Err ' Update form data in case new records added by other users.. Me.form.requery ' Find the record that matches the control. Me.RecordsetClone.FindFirst "[Counter] = " & Me![cboCompany] Me.Bookmark = Me.RecordsetClone.Bookmark etc... Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: "Tortise at Paradise" To: "Access Developers discussion and problem solving" Sent: Thursday, September 11, 2003 10:41 PM Subject: [AccessD] Sensing Triggering Form Recordset Refreshing Hi I have a form with multiple users using. When a new record is added by one user the other users dropdown boxes show the new records (once saved) but navigating to these new records fails, code below, finding the first record. Closing and reopening the form fixes the problem but this is labour intensive. Can someone tell me how to sense when a new record has been added elsewhere and to somehow to tell the form to somehow refresh when required? Navigation code from one dropdown box: Private Sub cboCompany_AfterUpdate() On Error GoTo cboCompany_AfterUpdate_Err ' Find the record that matches the control. ' >>> Need to add in some code here (I think) to sense that there are new records present and refresh the form records before navigating ' IF what? 'then 'Refresh something somehow... 'end if Me.RecordsetClone.FindFirst "[Counter] = " & Me![cboCompany] Me.Bookmark = Me.RecordsetClone.Bookmark 'Record each search Dim dbs As Database, rst As Recordset ' Return Database variable pointing to current database. Set dbs = CurrentDb Set rst = dbs.OpenRecordset("tblSearch") With rst ' Add new record to end of Recordset object. .AddNew !ContactsCounterNumber = Me![txtCounter] ' Add data. .Update ' Save changes. End With DoCmd.GoToControl "txtCompany" cboCompany_AfterUpdate_Exit: Exit Sub cboCompany_AfterUpdate_Err: MsgBox Error$ Resume cboCompany_AfterUpdate_Exit End Sub TIA Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Sep 12 15:33:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 12 Sep 2003 13:33:22 -0700 Subject: [AccessD] OT: Friday humour Message-ID: Right. If that's entry level, I don't even want to know about the senior position requirements. ROTFL Charlotte Foust -----Original Message----- From: Bob Hall [mailto:rjhjr at cox.net] Sent: Friday, September 12, 2003 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday humour On a similar note, this has been on the HotJobs web site for several days: Experience: Entry Level The primary responsibilities of this position will be to: develop software solutions to project requirements; assist and train support staff; contribute to and maintain process improvements. Additional senior responsibilities include: leading teams of 2 5 members; and working with Business Analysts to develop requirements. Requirements: B.S. in Computer Science or equivalent, with career experience in all phases of software development, including requirements, design, implementation, support and the product release cycles. Experience in data base management, and object-oriented programming required. Candidates must have substantial knowledge of: Java and J2EE technologies; UML; XML; Web development (HTML, Javascript, CSS); Software development methodologies (RUP, XP, Scrum), and JUnit. Ideal candidates will also have knowledge/experience in any of the following: microsoft-centric technologies (.NET, ASP, COM, VB); scripting (Ruby, Python, Perl, AWK); project management; familiar _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From PBudge at cbsol.com Fri Sep 12 15:43:33 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Fri, 12 Sep 2003 15:43:33 -0500 Subject: [AccessD]MORE OT: Friday humour Message-ID: And this one is *strictly* for grown ups. . . ;-)))))))))) http://www.scoutwalker.com/ Pamela G. Budge PBudge at cbsol.com Creative Business Solutions From jcolby at colbyconsulting.com Fri Sep 12 15:41:25 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 12 Sep 2003 16:41:25 -0400 Subject: [AccessD] OT: Friday humour In-Reply-To: <20030912194943.GA3742@kongemord.krig.net> Message-ID: Good one! Personally... I won't apply until they get to the senior level where experience required includes shifting planets out of orbit, destroying near miss comets with focused Vulcan mind probe mental blasts and extinguishing black holes in galaxies about to be demolished (using Scrum, Pearl, Ruby, Diamond, Dilithium crystals etc). Even then it's probably going to be a boring and menial job with no hope of fulfillment. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Hall Sent: Friday, September 12, 2003 3:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday humour On a similar note, this has been on the HotJobs web site for several days: Experience: Entry Level The primary responsibilities of this position will be to: develop software solutions to project requirements; assist and train support staff; contribute to and maintain process improvements. Additional senior responsibilities include: leading teams of 2 5 members; and working with Business Analysts to develop requirements. Requirements: B.S. in Computer Science or equivalent, with career experience in all phases of software development, including requirements, design, implementation, support and the product release cycles. Experience in data base management, and object-oriented programming required. Candidates must have substantial knowledge of: Java and J2EE technologies; UML; XML; Web development (HTML, Javascript, CSS); Software development methodologies (RUP, XP, Scrum), and JUnit. Ideal candidates will also have knowledge/experience in any of the following: microsoft-centric technologies (.NET, ASP, COM, VB); scripting (Ruby, Python, Perl, AWK); project management; familiar _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Sep 12 16:04:25 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 12 Sep 2003 15:04:25 -0600 Subject: [AccessD] Delete query will not run Message-ID: I see a '.Net' in your sql string and it's probably not ready for prime time. Microsoft is getting away from using dot net in their naming so it is probably wise to do so as well. It's Friday. Hen >From: "Kaup, Chester A" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] Delete query will not run >Date: Fri, 12 Sep 2003 13:39:13 -0500 > >I am probably missing something real simple here. Thought I had done >this before. Keeps asking for parameter value. Anyway here is the sql. > >DELETE [tbl DOI data by well].WELLNOMST, [tbl DOI data by >well].WellName, [tbl DOI data by well].APINUMBER, [tbl DOI data by >well].Net, [tbl DOI data by well].Comment >FROM [tbl DOI data by well] >WHERE ((([tbl DOI data by well].WELLNOMST)=[tbl Ft Stockton DOI >Info].[WELLNOMST])); > >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 _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From MPorter at acsalaska.com Fri Sep 12 16:28:21 2003 From: MPorter at acsalaska.com (Porter, Mark) Date: Fri, 12 Sep 2003 13:28:21 -0800 Subject: [AccessD] OT: Friday humour Message-ID: I found a little friday humor myself - worth a look if you need a lift. www.oddtodd.com Mark This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. From accessd at shaw.ca Fri Sep 12 19:36:58 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 12 Sep 2003 17:36:58 -0700 Subject: [AccessD] OT: Friday humour In-Reply-To: <20030912194943.GA3742@kongemord.krig.net> Message-ID: Translation: We what a highly trained, qualified and motivated person to work us that will not cost more than fifteen bucks an hour. My Two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Hall Sent: Friday, September 12, 2003 12:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday humour On a similar note, this has been on the HotJobs web site for several days: Experience: Entry Level The primary responsibilities of this position will be to: develop software solutions to project requirements; assist and train support staff; contribute to and maintain process improvements. Additional senior responsibilities include: leading teams of 2 5 members; and working with Business Analysts to develop requirements. Requirements: B.S. in Computer Science or equivalent, with career experience in all phases of software development, including requirements, design, implementation, support and the product release cycles. Experience in data base management, and object-oriented programming required. Candidates must have substantial knowledge of: Java and J2EE technologies; UML; XML; Web development (HTML, Javascript, CSS); Software development methodologies (RUP, XP, Scrum), and JUnit. Ideal candidates will also have knowledge/experience in any of the following: microsoft-centric technologies (.NET, ASP, COM, VB); scripting (Ruby, Python, Perl, AWK); project management; familiar _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Fri Sep 12 22:29:05 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Fri, 12 Sep 2003 21:29:05 -0600 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: The question specifies that the call back is getting lists of fields from a 'couple of tables' hence the 'xxx' part of the table name should probably be interpreted as a placeholder for various specific table names which is why I suggested using multiple lists if using a RowSourceType of field list. In addition, you may note that the size of the array is redimmed progressively larger to include fields for a total of three tables. The field list rowsource is not an option if the fields of several table must be included in a single list. Another thing I see that is objectionable is that there are three calls to CurrentDb in the initialize procedure which causes three calls over a LAN to the backend file to refresh the database collections and each of these calls takes time as well. Had a database variable been dimensioned and set in a single call to CurrentDb, there could have been a minor improvement. Far bigger is the improvement from limiting the size of the recordsets by setting a condition that returns no records (numeric pk = -1 or Where False). Looking at this sample again, I also note that the recordset variable is set to nothing twice in the initialize procedure and once in the function's general exit (which happens many times as the list is created and filled). I understand the desire to kill the object in an error handler to ensure that a crash in the initialize procedure doesn't leave any surviving objects to hang on to resources and there is no problem setting a nothing object to nothing, however, i believe the best approach is to close a recordset object before setting it to nothing and attempting to close an object that hasn't been opened will trigger an error. That would require an on error resume next in the exit procedure (which is also slower than an error handler without the resume next). The two alternatives are to close and set to nothing in the initialize case and in the error handler only and not in the exit routine or, better yet, call an external procedure that sets a module level array for the list box or have a function return a static array (not static in the redim sense, but in the variable lifetime sense, Microsoft sucks with their careless terminology) and properly create and destroy any object variable in a procedure that will only run once. If the ultimate need is to display field names from multiple tables, the best proposition is to avoid the recordset object and just pull the field collections of the tabledefs. Whenever I use callbacks that require the creation and destruction of object variables, I call an external procedure to initialize a data array in order that I can write the cleanest error handler that will run where it belongs and give the clearest indication of the actual source of the error. I too agree that two minutes is intolerable and that even four seconds is bad but we do not know how much of the tab change time is attibutable to this portion of the code. In fact, four seconds could be stunningly fast depending on the LAN speed and how much data and the number and type of controls. All we really know is that there is a minute and fifty six seconds difference between two different network environments and the question implies that the listbox rowsource is somehow at fault. Obviously the form tab is LAN sensitive or, all things being equal, there would be no difference between LANs, so the solution is to cut down on calls from the FE to the data file. Multiple calls to CurrentDb, opening recordsets, pulling tables of data to get a field list and even setting them to nothing before resetting them cause LAN traffic. If the two minutes can be improved on, then so can the four seconds. Hen >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 08:05:44 -0700 > >IMO 4 seconds is too long to load each tab page as well. Your callback >routine is repeatedly opening and closing what looks like the same >recordset or else you pasted the same acLBInitialize case code in 3 >times. A field list as the rowsourcetype would be a faster way to get a >list of fields for a single table. > >Charlotte Foust > >-----Original Message----- >From: Sad Der [mailto:accessd666 at yahoo.com] >Sent: Friday, September 12, 2003 2:01 AM >To: Acces User Group >Subject: [AccessD] listbox with rowsource type (ala MS) > > >Hi group, > >i've got a problem. I'm using a tab control. On all >tabs i've got listboxes wich are filled with field >names of a couple of tables. These listboxes are >filled using the rowsource type thingy. This seems to >be the original MS-way-of-programming. > >Below I pasted the code. In the property RowSourceType >of the listbox I fill in the function name. > >When I programmed it it worked fine. The client is on >the desktop of the user and the BE is on our test >network. It took about 4 seconds to load each >tab-page. > >Now it's in production (on another network) and if a >switch between tab pages now takes almost 2 MINUTES!!! > >Any ideas how this is possible?? > >tia > >Sander >Private Function ListMeetVelden(fld As Control, id As >Variant, row As Variant, col As Variant, code As >Variant) As Variant > > Static strVelden() As String > Static lngRows As Long > Dim varRetVal As Variant > Dim oMeetTable As DAO.Recordset > Dim i As Integer > > On Error GoTo ListMeetVelden_Error > > Select Case code > Case acLBInitialize > ReDim strVelden(0) > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "C_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "D_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strFields) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strVelden)) = "E_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > ReDim Preserve strVelden(0 To UBound(strVelden) >- 1) > > lngRows = UBound(strVelden) + 1 ' array is >0-based > varRetVal = lngRows > Case acLBOpen > varRetVal = Timer 'Unique ID for control > Case acLBGetRowCount > varRetVal = lngRows > Case acLBGetColumnCount > varRetVal = 1 > Case acLBGetColumnWidth > varRetVal = -1 'Default of -1 uses default >column width > Case acLBGetValue > varRetVal = strVelden(row) > Case acLBEnd > Erase strVelden > End Select > > ListMeetVelden = varRetVal > >ListMeetVelden_Exit: > Set oMeetTable = Nothing > Exit Function >ListMeetVelden_Error: > Set oMeetTable = Nothing > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >End Function > > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From rjhjr at cox.net Fri Sep 12 22:37:37 2003 From: rjhjr at cox.net (Bob Hall) Date: Fri, 12 Sep 2003 23:37:37 -0400 Subject: [AccessD] OT: Friday humour In-Reply-To: References: <20030912194943.GA3742@kongemord.krig.net> Message-ID: <20030913033735.GB16283@kongemord.krig.net> On Fri, Sep 12, 2003 at 05:36:58PM -0700, Jim Lawrence (AccessD) wrote: > Translation: > > We what a highly trained, qualified and motivated person to work us that > will not cost more than fifteen bucks an hour. > > My Two cents worth Two cents is less than $15. You should apply. I don't have the ad, but I also saw an ad for a web programming position, in which the company emphasized the high level of responsibility and skill involved, the importance to the company of the web sites, the time that would have to be committed to the job, and then stated that they would accept a college student. Or other low cost alternative. Bob Hall From gustav at cactus.dk Sat Sep 13 03:16:44 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 13 Sep 2003 10:16:44 +0200 Subject: [AccessD] Delete query will not run In-Reply-To: References: Message-ID: <853612454.20030913101644@cactus.dk> Hi Chester > I see a '.Net' in your sql string and it's probably not ready for prime > time. Microsoft is getting away from using dot net in their naming so it is > probably wise to do so as well. > It's Friday. > Hen Yeah, that's dangerous. Chester, try stripping it down to the essentials: DELETE * FROM [tbl DOI data by well] WHERE [tbl DOI data by well].WELLNOMST = [tbl Ft Stockton DOI Info].WELLNOMST; /gustav >>I am probably missing something real simple here. Thought I had done >>this before. Keeps asking for parameter value. Anyway here is the sql. >> >>DELETE [tbl DOI data by well].WELLNOMST, [tbl DOI data by >>well].WellName, [tbl DOI data by well].APINUMBER, [tbl DOI data by >>well].Net, [tbl DOI data by well].Comment >>FROM [tbl DOI data by well] >>WHERE ((([tbl DOI data by well].WELLNOMST)=[tbl Ft Stockton DOI >>Info].[WELLNOMST])); From gustav at cactus.dk Sat Sep 13 03:37:21 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 13 Sep 2003 10:37:21 +0200 Subject: [AccessD] listbox with rowsource type (ala MS) In-Reply-To: References: Message-ID: <834849693.20030913103721@cactus.dk> Hi Sander Maybe I'm missing something, but why all this trouble to get a field list? 1. Create a select query like this: SELECT tblOne.*, tblTwo.*, tblThree.* FROM tblOne, tblTwo, tblThree WHERE False; and save it as, say, qdyFieldList. This will retrieve all fields from the tables but no records. 2. In your form, adjust the combobox to have FieldList as RowSourceType and specify qdyFieldList as the RowSource. This should load in a fraction of a section. /gustav >>i've got a problem. I'm using a tab control. On all >>tabs i've got listboxes wich are filled with field >>names of a couple of tables. These listboxes are >>filled using the rowsource type thingy. This seems to >>be the original MS-way-of-programming. >> >>Below I pasted the code. In the property RowSourceType >>of the listbox I fill in the function name. >> >>When I programmed it it worked fine. The client is on >>the desktop of the user and the BE is on our test >>network. It took about 4 seconds to load each >>tab-page. >> >>Now it's in production (on another network) and if a >>switch between tab pages now takes almost 2 MINUTES!!! >> >>Any ideas how this is possible?? >> >>tia >> >>Sander >>Private Function ListMeetVelden(fld As Control, id As >>Variant, row As Variant, col As Variant, code As >>Variant) As Variant >> >> Static strVelden() As String >> Static lngRows As Long >> Dim varRetVal As Variant >> Dim oMeetTable As DAO.Recordset >> Dim i As Integer >> >> On Error GoTo ListMeetVelden_Error >> >> Select Case code >> Case acLBInitialize >> ReDim strVelden(0) >> 'fill array with fields. >> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", >>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >> With oMeetTable >> For i = 0 To .Fields.Count - 1 >> strVelden(UBound(strFields)) = "C_" & >>.Fields(i).Name >> ReDim Preserve strVelden(0 To >>UBound(strVelden) + 1) >> Next i >> End With >> >> Set oMeetTable = Nothing >> 'fill array with fields. >> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >> With oMeetTable >> For i = 0 To .Fields.Count - 1 >> strVelden(UBound(strFields)) = "D_" & >>.Fields(i).Name >> ReDim Preserve strVelden(0 To >>UBound(strFields) + 1) >> Next i >> End With >> >> Set oMeetTable = Nothing >> 'fill array with fields. >> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >> With oMeetTable >> For i = 0 To .Fields.Count - 1 >> strVelden(UBound(strVelden)) = "E_" & >>.Fields(i).Name >> ReDim Preserve strVelden(0 To >>UBound(strVelden) + 1) >> Next i >> End With >> >> ReDim Preserve strVelden(0 To UBound(strVelden) >>- 1) >> >> lngRows = UBound(strVelden) + 1 ' array is >>0-based >> varRetVal = lngRows >> Case acLBOpen >> varRetVal = Timer 'Unique ID for control >> Case acLBGetRowCount >> varRetVal = lngRows >> Case acLBGetColumnCount >> varRetVal = 1 >> Case acLBGetColumnWidth >> varRetVal = -1 'Default of -1 uses default >>column width >> Case acLBGetValue >> varRetVal = strVelden(row) >> Case acLBEnd >> Erase strVelden >> End Select >> >> ListMeetVelden = varRetVal >> >>ListMeetVelden_Exit: >> Set oMeetTable = Nothing >> Exit Function >>ListMeetVelden_Error: >> Set oMeetTable = Nothing >> Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >>End Function From Erwin.Craps at ithelps.be Sat Sep 13 03:56:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 13 Sep 2003 10:56:14 +0200 Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Message-ID: Ah yes ofcourse... I was hoping for a simple wizard thing.... Never use vba in pp. New challenge ahead... Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: vrijdag 12 september 2003 19:20 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Live Top 5 in Powerpoint based on Access data You can use VBA within PP, so I would say the answer is yes. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, September 12, 2003 8:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Can I create a slideshow page in Powerpoint (running endlessly in show) that displays a hitlist based on data in a Access database. The hitlist is dynamic, so each time the slideshow passes this slide in the endless slide loop, it should show live data on screen. The activity should be from Powerpoint, I mean by that that PP should get the data in the MDB file and NOT Access pushing (exporting) the data. thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Sat Sep 13 03:59:05 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Sat, 13 Sep 2003 10:59:05 +0200 Subject: [AccessD] OT: Friday humour Message-ID: I supose that they wanna have a "entry level" salary with huge experiance... Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Charlotte Foust Verzonden: vrijdag 12 september 2003 22:33 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT: Friday humour Right. If that's entry level, I don't even want to know about the senior position requirements. ROTFL Charlotte Foust -----Original Message----- From: Bob Hall [mailto:rjhjr at cox.net] Sent: Friday, September 12, 2003 11:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday humour On a similar note, this has been on the HotJobs web site for several days: Experience: Entry Level The primary responsibilities of this position will be to: develop software solutions to project requirements; assist and train support staff; contribute to and maintain process improvements. Additional senior responsibilities include: leading teams of 2 5 members; and working with Business Analysts to develop requirements. Requirements: B.S. in Computer Science or equivalent, with career experience in all phases of software development, including requirements, design, implementation, support and the product release cycles. Experience in data base management, and object-oriented programming required. Candidates must have substantial knowledge of: Java and J2EE technologies; UML; XML; Web development (HTML, Javascript, CSS); Software development methodologies (RUP, XP, Scrum), and JUnit. Ideal candidates will also have knowledge/experience in any of the following: microsoft-centric technologies (.NET, ASP, COM, VB); scripting (Ruby, Python, Perl, AWK); project management; familiar _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Sep 13 11:29:30 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 13 Sep 2003 09:29:30 -0700 Subject: [AccessD] listbox with rowsource type (ala MS) In-Reply-To: Message-ID: Hi Hen: Just cutting in here quickly and not really knowing the whole subject but assuming some things from various catch word.... A client side ADO recordset could be created, populated and used to populate the listbox. That would reduce network traffic to a single pass or to the programmer's controlled refresh. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Friday, September 12, 2003 8:29 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] listbox with rowsource type (ala MS) The question specifies that the call back is getting lists of fields from a 'couple of tables' hence the 'xxx' part of the table name should probably be interpreted as a placeholder for various specific table names which is why I suggested using multiple lists if using a RowSourceType of field list. In addition, you may note that the size of the array is redimmed progressively larger to include fields for a total of three tables. The field list rowsource is not an option if the fields of several table must be included in a single list. Another thing I see that is objectionable is that there are three calls to CurrentDb in the initialize procedure which causes three calls over a LAN to the backend file to refresh the database collections and each of these calls takes time as well. Had a database variable been dimensioned and set in a single call to CurrentDb, there could have been a minor improvement. Far bigger is the improvement from limiting the size of the recordsets by setting a condition that returns no records (numeric pk = -1 or Where False). Looking at this sample again, I also note that the recordset variable is set to nothing twice in the initialize procedure and once in the function's general exit (which happens many times as the list is created and filled). I understand the desire to kill the object in an error handler to ensure that a crash in the initialize procedure doesn't leave any surviving objects to hang on to resources and there is no problem setting a nothing object to nothing, however, i believe the best approach is to close a recordset object before setting it to nothing and attempting to close an object that hasn't been opened will trigger an error. That would require an on error resume next in the exit procedure (which is also slower than an error handler without the resume next). The two alternatives are to close and set to nothing in the initialize case and in the error handler only and not in the exit routine or, better yet, call an external procedure that sets a module level array for the list box or have a function return a static array (not static in the redim sense, but in the variable lifetime sense, Microsoft sucks with their careless terminology) and properly create and destroy any object variable in a procedure that will only run once. If the ultimate need is to display field names from multiple tables, the best proposition is to avoid the recordset object and just pull the field collections of the tabledefs. Whenever I use callbacks that require the creation and destruction of object variables, I call an external procedure to initialize a data array in order that I can write the cleanest error handler that will run where it belongs and give the clearest indication of the actual source of the error. I too agree that two minutes is intolerable and that even four seconds is bad but we do not know how much of the tab change time is attibutable to this portion of the code. In fact, four seconds could be stunningly fast depending on the LAN speed and how much data and the number and type of controls. All we really know is that there is a minute and fifty six seconds difference between two different network environments and the question implies that the listbox rowsource is somehow at fault. Obviously the form tab is LAN sensitive or, all things being equal, there would be no difference between LANs, so the solution is to cut down on calls from the FE to the data file. Multiple calls to CurrentDb, opening recordsets, pulling tables of data to get a field list and even setting them to nothing before resetting them cause LAN traffic. If the two minutes can be improved on, then so can the four seconds. Hen >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox with rowsource type (ala MS) >Date: Fri, 12 Sep 2003 08:05:44 -0700 > >IMO 4 seconds is too long to load each tab page as well. Your callback >routine is repeatedly opening and closing what looks like the same >recordset or else you pasted the same acLBInitialize case code in 3 >times. A field list as the rowsourcetype would be a faster way to get a >list of fields for a single table. > >Charlotte Foust > >-----Original Message----- >From: Sad Der [mailto:accessd666 at yahoo.com] >Sent: Friday, September 12, 2003 2:01 AM >To: Acces User Group >Subject: [AccessD] listbox with rowsource type (ala MS) > > >Hi group, > >i've got a problem. I'm using a tab control. On all >tabs i've got listboxes wich are filled with field >names of a couple of tables. These listboxes are >filled using the rowsource type thingy. This seems to >be the original MS-way-of-programming. > >Below I pasted the code. In the property RowSourceType >of the listbox I fill in the function name. > >When I programmed it it worked fine. The client is on >the desktop of the user and the BE is on our test >network. It took about 4 seconds to load each >tab-page. > >Now it's in production (on another network) and if a >switch between tab pages now takes almost 2 MINUTES!!! > >Any ideas how this is possible?? > >tia > >Sander >Private Function ListMeetVelden(fld As Control, id As >Variant, row As Variant, col As Variant, code As >Variant) As Variant > > Static strVelden() As String > Static lngRows As Long > Dim varRetVal As Variant > Dim oMeetTable As DAO.Recordset > Dim i As Integer > > On Error GoTo ListMeetVelden_Error > > Select Case code > Case acLBInitialize > ReDim strVelden(0) > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "C_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strFields)) = "D_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strFields) + 1) > Next i > End With > > Set oMeetTable = Nothing > 'fill array with fields. > Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > With oMeetTable > For i = 0 To .Fields.Count - 1 > strVelden(UBound(strVelden)) = "E_" & >.Fields(i).Name > ReDim Preserve strVelden(0 To >UBound(strVelden) + 1) > Next i > End With > > ReDim Preserve strVelden(0 To UBound(strVelden) >- 1) > > lngRows = UBound(strVelden) + 1 ' array is >0-based > varRetVal = lngRows > Case acLBOpen > varRetVal = Timer 'Unique ID for control > Case acLBGetRowCount > varRetVal = lngRows > Case acLBGetColumnCount > varRetVal = 1 > Case acLBGetColumnWidth > varRetVal = -1 'Default of -1 uses default >column width > Case acLBGetValue > varRetVal = strVelden(row) > Case acLBEnd > Erase strVelden > End Select > > ListMeetVelden = varRetVal > >ListMeetVelden_Exit: > Set oMeetTable = Nothing > Exit Function >ListMeetVelden_Error: > Set oMeetTable = Nothing > Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >End Function > > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Sep 13 19:09:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Sep 2003 17:09:11 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: Message-ID: <3F63B1A7.2040101@shaw.ca> I was looking at the Fortran95.Net compiler on this site when I came across this free for personal use Fortran 77 compiler. a bit dated but... Still useable with some of the good stat-math packs that are floating around on the net. http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml From kathryn at bassett.net Sat Sep 13 20:37:51 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 13 Sep 2003 18:37:51 -0700 Subject: [AccessD] cataloguing mp3 albums Message-ID: Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry for length of message but I wanted to put in several to show you the general patterns of the data. Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can eliminate those easily before doing the conversion. So, any volunteers to help? Album : 18 Original Greatest Hits 01. All Night Long - Jerry Lee Lewis (00:02:04) 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) 04. Breathless - Jerry Lee Lewis (00:02:43) 05. Crazy Arms - Jerry Lee Lewis (00:02:44) 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) Album : Biggest Hits 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) 04. Fifteen Beers - Johnny Paycheck (00:03:25) 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) Album : Gershwin : Rhapsody - Tilson Thomas 01. An American In Paris - George Gershwin (00:18:37) 02. Funny Face - George Gershwin (00:05:54) 03. Girl Crazy - George Gershwin (00:05:45) 04. Let 'Em Eat Cake - George Gershwin (00:08:18) 05. Of Thee I Sing - George Gershwin (00:04:40) 06. Oh, Kay - George Gershwin (00:07:11) 07. Rhapsody In Blue - George Gershwin (00:13:46) 08. Strike Up The Band - George Gershwin (00:07:11) Album : Messiah Highlights 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) Album : The Concert In Central Park 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) 02. America - Paul Simon - Art Garfunkel (00:05:50) 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From wdhindman at bellsouth.net Sat Sep 13 20:51:14 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 13 Sep 2003 21:51:14 -0400 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: <3F63B1A7.2040101@shaw.ca> Message-ID: <000401c37a62$ae673950$6001a8c0@dejpolsys> ...good heavens, its been 15 years since I used Fortran :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Saturday, September 13, 2003 8:09 PM Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > I was looking at the Fortran95.Net compiler on this site when I came > across this free for personal use Fortran 77 compiler. a bit dated > but... Still useable with some of the good stat-math packs that are > floating around on the net. > > http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davesharpe2 at cox.net Sat Sep 13 20:56:00 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 13 Sep 2003 21:56:00 -0400 Subject: [AccessD] cataloguing mp3 albums References: Message-ID: <000c01c37a63$59231c10$dd2f0a44@bcsext6137> Kathryn I feel that it would be simple to do, but would be tedious to explain how. If you'd post the complete list; I'll do it and return an mdb with the code that I write to do it. Dave ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Saturday, September 13, 2003 9:37 PM Subject: [AccessD] cataloguing mp3 albums > Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry for length of message but I wanted to put in several to show you the general patterns of the data. > > Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can eliminate those easily before doing the conversion. > > So, any volunteers to help? > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) > 02. America - Paul Simon - Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Sep 13 21:01:20 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 13 Sep 2003 22:01:20 -0400 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <000401c37a62$ae673950$6001a8c0@dejpolsys> Message-ID: LOL. 1986 was the last time for me if I remember correctly. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Saturday, September 13, 2003 9:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler ...good heavens, its been 15 years since I used Fortran :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Saturday, September 13, 2003 8:09 PM Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > I was looking at the Fortran95.Net compiler on this site when I came > across this free for personal use Fortran 77 compiler. a bit dated > but... Still useable with some of the good stat-math packs that are > floating around on the net. > > http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sat Sep 13 21:36:25 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 13 Sep 2003 19:36:25 -0700 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: <000c01c37a63$59231c10$dd2f0a44@bcsext6137> Message-ID: Bless you. It will probably be tomorrow before I send it. I've got 3 "books" of cd's altogether and have finished ripping one, have another one and a half books to go. I'll enjoy looking at the code of how you do it, and learning from it. BTW, I've got A2k, but can always convert 97 if that's what you have. Thank you, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of dave sharpe > Sent: 13 Sep 2003 6:56:PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] cataloguing mp3 albums > > > Kathryn > > I feel that it would be simple to do, but would be tedious to explain how. > > If you'd post the complete list; I'll do it and return an mdb with the code > that I write to do it. > > Dave > > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Saturday, September 13, 2003 9:37 PM > Subject: [AccessD] cataloguing mp3 albums > > > > Got one that I haven't a clue about trying to convert. I've got a text > report (about 50 albums of varying numbers of tracks) Sorry for length of > message but I wanted to put in several to show you the general patterns of > the data. > > > > Now, what I want is to have a query (or series of queries) put this into > Access as a database. It only has to be done once, one I'm finished ripping > all my CDs, as any new ones I don't mind entering by hand. I want to be able > to print a report that would be in order similar to below, plus a report in > order by title of the track, with what album it is on and the track number, > and lastly, by the artist, sub-ordered by track then album, also album then > track. I feel confident I can do the queries and reports, but need one of > you to help me with turning the text to tables. I do notice that I've got > some natural breaks, to break the components apart - the period for the > track number, the first - is the split between song title and the artist, > and the ( ) for the time track (which I do want). Note that Simon and > Garfunkel have a second - that might cause a problem, but when I've got the > final text file, I can eliminate those easily before doing the conversion. > > > > So, any volunteers to help? From kathryn at bassett.net Sat Sep 13 21:51:50 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 13 Sep 2003 19:51:50 -0700 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: <000c01c37a63$59231c10$dd2f0a44@bcsext6137> Message-ID: It dawned on me that I don't need to wait til I'm done to do this. I've got a good sampling so that the coding can be done, and I can always do the query again when I'm finished ripping. Album : 18 Original Greatest Hits 01. All Night Long - Jerry Lee Lewis (00:02:04) 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) 04. Breathless - Jerry Lee Lewis (00:02:43) 05. Crazy Arms - Jerry Lee Lewis (00:02:44) 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) Album : Biggest Hits 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) 04. Fifteen Beers - Johnny Paycheck (00:03:25) 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) Album : Gershwin : Rhapsody - Tilson Thomas 01. An American In Paris - George Gershwin (00:18:37) 02. Funny Face - George Gershwin (00:05:54) 03. Girl Crazy - George Gershwin (00:05:45) 04. Let 'Em Eat Cake - George Gershwin (00:08:18) 05. Of Thee I Sing - George Gershwin (00:04:40) 06. Oh, Kay - George Gershwin (00:07:11) 07. Rhapsody In Blue - George Gershwin (00:13:46) 08. Strike Up The Band - George Gershwin (00:07:11) Album : Greatest Hits 01. A Worried man - Kingston Trio (00:02:54) 02. America - Herb Alpert & The Tijuana Brass (00:02:50) 03. Bad Man's Blunder - Kingston Trio (00:02:40) 04. El Matador - Kingston Trio (00:02:29) 05. Everglades - Kingston Trio (00:02:23) 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass (00:02:13) 07. Greenback Dollar - Kingston Trio (00:02:54) 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) 09. Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) 10. Mexican Shuffle - Herb Alpert & The Tijuana Brass (00:02:13) 11. MTA - Kingston Trio (00:03:17) 12. Never On Sunday - Herb Alpert & The Tijuana Brass (00:02:43) 13. Reuben James - Kingston Trio (00:03:00) 14. Reverand Mr. Black - Kingston Trio (00:03:05) 15. Scotch and Soda - Kingston Trio (00:02:35) 16. South Of The Border - Herb Alpert & The Tijuana Brass (00:02:11) 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) 19. The Tijuana Jail - Kingston Trio (00:02:52) 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) 21. Tom Dooly - Kingston Trio (00:03:05) 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) Album : Guitar Sampler 01. Andecy - Andrew York (00:04:09) 02. Blue Ridge - Bruce Becvar (00:04:11) 03. Cheyenne - Peter Maunu (00:04:18) 04. Night Crossing - John Doan (00:06:21) 05. No City Lights - James Gordon (00:05:11) 06. On The Way - David Cullen (00:04:18) 07. Prelude From The Bridal Suite - Eric Tingstad (00:03:09) 08. Sun And Water - Danny Heines (00:05:37) 09. The Emperor's Choice - Chris Proctor & Paul Machlis (00:04:05) 10. The Handing Down - Edward Gerhard (00:04:03) 11. The Silver Plume Waltz - Bill Mize (00:03:34) Album : In The Digital Mood 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) 02. Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) 03. In The Mood - Glenn Miller Orchestra (00:03:40) 04. Kalamazoo - Glenn Miller Orchestra (00:02:42) 05. Little Brown Jug - Glenn Miller Orchestra (00:03:08) 06. Moonlight Serenade - Glenn Miller Orchestra (00:03:16) 07. Pennsylvania 6-5000 - Glenn Miller Orchestra (00:03:13) 08. St. Louis Blues March - Glenn Miller Orchestra (00:04:19) 09. The American Patrol - Glenn Miller Orchestra (00:03:25) 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) Album : It's A Sunshine Day: The Best Of The Brady Bunch 01. American Pie - The Brady Bunch (00:03:38) 02. Born To Say Goodbye - The Brady Bunch (00:02:53) 03. Candy (Sugar Shoppe) - The Brady Bunch (00:02:12) 04. Charlotte's Web - The Brady Bunch (00:02:56) 05. Cheyenne - The Brady Bunch (00:03:00) 06. Frosty The Snowman - The Brady Bunch (00:01:48) 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) 09. It's A Sunshine Day - The Brady Bunch (00:02:31) 10. Keep On - The Brady Bunch (00:02:35) 11. Merry Go Round - The Brady Bunch (00:01:58) 12. Promo Intro - The Brady Bunch (00:00:27) 13. Promo Outro - The Brady Bunch (00:00:12) 14. Road To Love - The Brady Bunch (00:03:17) 15. Sweet Sweetheart - The Brady Bunch (00:02:38) 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) 17. Time To Change - The Brady Bunch (00:02:08) 18. Truckin' Back To You - The Brady Bunch (00:02:51) 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch (00:02:23) 20. We'll Always Be Friends - The Brady Bunch (00:02:32) Album : Johnny Cash- Greatest Hits Volume 1 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) 02. Five Feet High And Rising - Johnny Cash (00:01:49) 03. I Walk The Line - Johnny Cash (00:02:36) 04. It Ain't Me Babe - Johnny Cash (00:03:04) 05. Jackson - Johnny Cash (00:02:48) 06. Orange Blossom Special - Johnny Cash (00:03:08) 07. Ring Of Fire - Johnny Cash (00:02:39) 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) 11. Understand Your Man - Johnny Cash (00:02:45) Album : Made In U.S.A. 01. 409 - Beach Boys (00:01:59) 02. Barbara Ann - Beach Boys (00:02:04) 03. Be True to Your School - Beach Boys (00:02:07) 04. California Dreamin' - Beach Boys (00:03:10) 05. California Girls - Beach Boys (00:02:36) 06. Caroline, No - Beach Boys (00:02:17) 07. Come Go With Me - Beach Boys (00:02:07) 08. Dance, Dance, Dance - Beach Boys (00:01:58) 09. Do It Again - Beach Boys (00:02:19) 10. Don't Worry Baby - Beach Boys (00:02:42) 11. Fun, Fun, Fun - Beach Boys (00:02:16) 12. Getcha Back - Beach Boys (00:03:01) 13. God Only Knows - Beach Boys (00:02:48) 14. Good Vibrations - Beach Boys (00:03:36) 15. Help Me, Rhonda - Beach Boys (00:02:45) 16. Heroes And Villians - Beach Boys (00:03:37) 17. I Get Around - Beach Boys (00:02:11) 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) 19. Rock And Roll Music - Beach Boys (00:02:28) 20. Sloop John B. - Beach Boys (00:02:55) 21. Surfer Girl - Beach Boys (00:02:23) 22. Surfin' Safari - Beach Boys (00:02:06) 23. Surfin' USA - Beach Boys (00:02:27) 24. When I Grow Up - Beach Boys (00:02:01) 25. Wouldn't It Be Nice - Beach Boys (00:02:22) Album : Messiah Highlights 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) Album : Night Music CD 1 01. Beethoven - Moonlight Sonata (00:05:18) 02. Chopin - Piano Concerto No. 2 (00:09:01) 03. Debussy - Clair de lune (00:05:48) 04. Faure - Sicilienne (00:03:40) 05. Godard - Berceuse (00:05:29) 06. Grieg - To Spring (00:02:12) 07. Haydn-String Quartet Op76 No. (00:05:19) 08. J.S. Bach-Brandenburg Concert (00:05:16) 09. Mozart - Symphony No. 40 (00:07:48) 10. Mozart-Eine kleine Nachtmusik (00:06:07) 11. Pachelbel - Canon (00:04:47) 12. Tchaikovsky - Melodie (00:04:31) 13. Torelli-Trumpet Concerto No.2 (00:02:29) Album : Night Music CD 2 01. Beethoven-Piano Concerto No. (00:05:40) 02. Debussy-String quartet op. 10 (00:07:59) 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) 04. Handel - Watermusic - Adagio (00:03:06) 05. Handel-Concerto Grosso Op. 6 (00:02:36) 06. Haydn-Symphony No.96-Andante (00:05:08) 07. Mendelssohn- A Midsummer Nigh (00:06:26) 08. Mozart- Flute & Harp Concerto (00:07:35) 09. Shubert- Moment musical (00:05:47) 10. Tchaikovsky-Swan Lake-Andante (00:06:45) 11. Vivaldi - Spring - Largo (00:02:42) Album : Night Music CD 2 01. Mozart- Piano sonata K.332 (00:05:23) Album : Night Music CD 3 01. Albinoni-Adagio (00:11:30) 02. Beethoven-Les Adieux (00:04:30) 03. Beethoven-Symphony No 1 (00:06:51) 04. Bizet-L'Arlesienne (00:03:36) 05. Boccherini-Cello Concerto (00:05:55) 06. Corelli-Christmas-Pastorale (00:04:10) 07. Faure-Pavane (00:07:46) 08. Haydn-StringQuartet Op.76No.4 (00:05:35) 09. Marcello-Oboe Concerto (00:04:48) 10. Mendelssohn-On Wings Of Song (00:04:38) 11. Mozart-Piano Concerto K.467 (00:06:21) 12. Mozart-Salzburg Symphony K138 (00:03:54) 13. Tchaikovsky-Chanson Triste (00:03:00) Album : Popular Classics 1 01. Beethoven - Romance in F (00:06:25) 02. Chopin - Waltz in C# minor (00:03:22) 03. Chopin-Nocturne in B Flat Min (00:05:25) 04. Faure-Song Without Words No. (00:02:19) 05. Handel - Passaccaglia (00:04:05) 06. Haydn - Surprise Symphony(2nd (00:07:21) 07. Liszt - Consolation No. 5 (00:03:13) 08. Mendelssohn - Wedding March (00:04:46) 09. Schumann - Pleading Child (00:01:36) Album : Popular Classics 2 01. Beethoven - Fur Elise (00:02:47) 02. Beethoven - Minuet in G (00:02:13) 03. Beethoven - Moonlight Sonata (00:05:39) 04. Bizet-Intermezzo(Carmen Suite (00:02:58) 05. Brahms - Hungarian Dance No. (00:02:51) 06. Grieg - Anitra's Dance (00:03:39) 07. Schubert - Serenade (00:03:35) 08. Strauss -Thunder and Lightnin (00:03:17) 09. Strauss-DieFledermaus Overtur (00:08:42) Album : Popular Classics 3 01. Bach - Prelude in C (00:02:10) 02. Beethoven - Symphony No. 5 (00:06:36) 03. Bizet - Intermezzo from Carme (00:03:06) 04. Bizet - Song of Toreadors (00:02:45) 05. Brahms - Hungarian No.5 (00:03:00) 06. Dvorak - New World Sym.(4th) (00:11:57) 07. Grieg - Anitra's Dance (00:03:47) 08. Mozart - Marriage of Figaro (00:04:42) 09. Strauss - Blue Danube (00:08:50) 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) Album : Popular Classics 4 01. Bach - Air On The G String (00:06:00) 02. Bizet - Aragonaise from Carme (00:02:34) 03. Bizet-Carillon from L'Arlesie (00:04:52) 04. Chopin - Fantasie Impromptu (00:05:00) 05. Chopin - Minute Waltz (00:01:56) 06. Chopin - Prelude in A (00:00:58) 07. Chopin - Waltz in A Flat (00:03:55) 08. Chopin-Etude in D Op.10 No.3 (00:04:17) 09. Debussy - 1st Arabesque (00:03:38) 10. Delibes - Coppelia Suite (00:02:50) 11. Saint-Saens - The Swan (00:03:24) 12. Schubert - Moments Musical (00:01:57) 13. Schubert - Trout Quintet (00:08:35) 14. Schumann - Warum (00:02:34) 15. Tchaikovsky -Chanson Triste (00:02:45) 16. Tchaikovsky-Dance of the Swan (00:01:49) Album : Popular Classics 5 01. Brahms - Waltz in A Flat (00:01:44) 02. Chopin - Raindrop Prelude (00:04:47) 03. Debussy - Clair De Lune (00:04:33) 04. Debussy-Girl With Flaxen Hair (00:02:36) 05. Dvorak - Humoresque (00:02:46) 06. Glinka - Russlan and Ludmilla (00:05:47) 07. Gossec - Gavotte In D (00:01:47) 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) 09. Massanet-Meditation from Thai (00:06:02) 10. Rubinstein-Melody in F (00:03:49) 11. Schumann - Traumerie (00:02:51) 12. Strauss - Pizzicato Polka (00:02:59) 13. Strauss - Radetzky March (00:02:27) 14. Suppe - Light Calvary Overtur (00:07:34) 15. Tchaikovsky - Swan Lake(Scene (00:02:57) Album : Rarities 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) 02. Beat Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) 03. Boogie Woogie Bugle Boy - The Andrew Sisters (00:02:41) 04. Don't Fence Me In - The Andrew Sisters (00:03:00) 05. Hit The Road - The Andrew Sisters (00:02:33) 06. I Love You Much Too Much - The Andrew Sisters (00:02:59) 07. Long Time No See - The Andrew Sisters (00:03:09) 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters (00:02:38) 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters (00:02:53) Album : Scott Joplin: Piano Rags 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) 02. Country Club Ragtime Two Step - Joshua Rifkin (00:04:58) 03. Elite Syncopations - Joshua Rifkin (00:03:02) 04. Euphonic Sounds A Syncopated Novelty - Joshua Rifkin (00:03:58) 05. Fig Leaf Rag - Joshua Rifkin (00:04:42) 06. Gladiolus Rag - Joshua Rifkin (00:04:29) 07. Magnetic Rag Syncopations Classiques - Joshua Rifkin (00:05:13) 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) 09. Paragon Rag - Joshua Rifkin (00:03:49) 10. Pine Apple Rag - Joshua Rifkin (00:03:30) 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) 13. Stoptime Rag - Joshua Rifkin (00:02:56) 14. The Cascades A Rag - Joshua Rifkin (00:03:09) 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) 16. The Ragtime Dance - Joshua Rifkin (00:03:18) 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) Album : The Concert In Central Park 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art Garfunkel (00:04:09) 02. America - Paul Simon Art Garfunkel (00:05:50) 03. American Tune - Paul Simon Art Garfunkel (00:04:13) 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) 05. Boxer - Paul Simon Art Garfunkel (00:03:55) 06. Bridge Over Troubled Water - Paul Simon Art Garfunkel (00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon Art Garfunkel (00:02:19) 08. Heart In New York - Paul Simon Art Garfunkel (00:03:22) 09. Homeward Bound - Paul Simon Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul Simon Art Garfunkel (00:03:52) 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By The Schoolyard - Paul Simon Art Garfunkel (00:04:48) 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon Art Garfunkel (00:04:23) 16. Slip Slidin' Away - Paul Simon Art Garfunkel (00:04:56) 17. Sound Of Silence - Paul Simon Art Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul Simon Art Garfunkel (00:02:01) 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) Album : The Liberace Collection 01. 12th Street Rag - Liberace (00:02:27) 02. Alley Cat - Liberace (00:02:03) 03. Beer barrel polka - Liberace (00:01:25) 04. Claire De Lune - Liberace (00:05:15) 05. Classic concertos - Liberace (00:11:03) 06. Exodus - Liberace (00:01:42) 07. Footprints On The Moon - Liberace (00:02:46) 08. French medley - Liberace (00:04:42) 09. How insensitive - Liberace (00:03:05) 10. Johnson rag - Liberace (00:02:09) 11. Mixed Emotions - Liberace (00:05:05) 12. Moon River - Liberace (00:01:33) 13. Moonlight Sonata - Liberace (00:06:02) 14. Nocturne in E Flat - Liberace (00:02:21) 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace (00:04:16) 16. Sometime I'm Happy - Liberace (00:03:26) 17. Stardust - Liberace (00:04:25) 18. Suite: Judy blue eyes - Liberace (00:03:57) 19. Third man theme - Liberace (00:01:50) 20. Tico - Tico - Liberace (00:01:48) Album : Voices Of Harmony 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) 02. Home On The Range - The Mormon Tabernacle Choir (00:03:10) 03. How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) 04. I Walked Today Where Jesus Walked - The Mormon Tabernacle Choir (00:04:50) 05. I'll Walk With God - The Mormon Tabernacle Choir (00:02:52) 06. Love At Home - The Mormon Tabernacle Choir (00:05:31) 07. Nearer My God To Thee - The Mormon Tabernacle Choir (00:04:22) 08. Ode To Music - The Mormon Tabernacle Choir (00:04:11) 09. One Voice - The Mormon Tabernacle Choir (00:02:29) 10. Suddenly You're Older - The Mormon Tabernacle Choir (00:04:05) 11. Sweet Hour Of Prayer - The Mormon Tabernacle Choir (00:04:00) 12. The Long Day Closes - The Mormon Tabernacle Choir (00:03:46) 13. The Lost Chord - The Mormon Tabernacle Choir (00:05:06) 14. The Wondows Of The World - The Mormon Tabernacle Choir (00:04:08) Album : Welcome To Hip Hop Country 01. Blank - George Lee Jr. & The Crazed Cowboys (00:00:03) 02. Bonus - George Lee Jr. & The Crazed Cowboys (00:03:23) 03. Deep In The Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) 04. Eight Angels From The Sky - George Lee Jr. & The Crazed Cowboys (00:03:02) 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) 06. I Never Wanna Make You Cry - George Lee Jr. & The Crazed Cowboys (00:03:03) 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys (00:02:58) 08. Keep Your Hands Offa My Stetson - George Lee Jr. & The Crazed Cowboys (00:02:57) 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys (00:03:39) 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) 11. Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys (00:03:08) 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys (00:03:30) 13. Summer Days - George Lee Jr. & The Crazed Cowboys (00:03:27) 14. Time To Say Goodbye - George Lee Jr. & The Crazed Cowboys (00:03:02) 15. Wake Up And Smell The Coffee - George Lee Jr. & The Crazed Cowboys (00:03:10) 16. Welcome To Hip Hop Country - George Lee Jr. & The Crazed Cowboys (00:03:02) Album : Windham Hill Piano Sampler 01. A Morning With The Roses- (00:04:36) 02. Amy's Song -(00:02:41) 03. Consolation- (00:06:32) 04. In Flight- (00:06:02) 05. In This Small Spot- (00:04:09) 06. Listening To Evening -(00:07:02) 07. LouAnn -(00:04:21) 08. Messenger of the Son- (00:03:16) 09. Out To Play- (00:03:44) Thanks Dave and William for offering. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From tortise at paradise.net.nz Sat Sep 13 22:01:34 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sun, 14 Sep 2003 15:01:34 +1200 Subject: [AccessD] cataloguing mp3 albums References: Message-ID: <00de01c37a6c$821189f0$0900a8c0@P1200n> Try Chequers Softwares "MP3Detective" at http://www.cheqsoft.com/mp3detective.html you may find you don't even need to write the database..... Feedback welcomed. Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: "Kathryn Bassett" To: "dbAdvisors (AccessD)" Sent: Sunday, September 14, 2003 1:37 PM Subject: [AccessD] cataloguing mp3 albums Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry for length of message but I wanted to put in several to show you the general patterns of the data. Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can eliminate those easily before doing the conversion. So, any volunteers to help? Album : 18 Original Greatest Hits 01. All Night Long - Jerry Lee Lewis (00:02:04) 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) 04. Breathless - Jerry Lee Lewis (00:02:43) 05. Crazy Arms - Jerry Lee Lewis (00:02:44) 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) Album : Biggest Hits 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) 04. Fifteen Beers - Johnny Paycheck (00:03:25) 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) Album : Gershwin : Rhapsody - Tilson Thomas 01. An American In Paris - George Gershwin (00:18:37) 02. Funny Face - George Gershwin (00:05:54) 03. Girl Crazy - George Gershwin (00:05:45) 04. Let 'Em Eat Cake - George Gershwin (00:08:18) 05. Of Thee I Sing - George Gershwin (00:04:40) 06. Oh, Kay - George Gershwin (00:07:11) 07. Rhapsody In Blue - George Gershwin (00:13:46) 08. Strike Up The Band - George Gershwin (00:07:11) Album : Messiah Highlights 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) Album : The Concert In Central Park 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) 02. America - Paul Simon - Art Garfunkel (00:05:50) 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sat Sep 13 22:20:45 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 13 Sep 2003 20:20:45 -0700 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: <00de01c37a6c$821189f0$0900a8c0@P1200n> Message-ID: Looks like a good program, but I don't have the albums on my computer and the program doesn't have a way to look at the mp4 player. I'm ripping direct to the player as I don't have room for 50+ cd's of music on computer. Thanks for the idea though, I can at least catalog the music that *is* on my computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: 13 Sep 2003 8:02:PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] cataloguing mp3 albums > > > Try Chequers Softwares "MP3Detective" at http://www.cheqsoft.com/mp3detective.html > you may find you don't even need to write the > database..... > Feedback welcomed. > Kind regards, > David Hingston > _________________________________________________________________________ > > Engines2Go - Now THAT's a Search Engine! > Automated major search engine manager > Makes searching quicker and easier - Have you tried it? > http://www.engines2go.com/ > http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and > Break Reminder. > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Sunday, September 14, 2003 1:37 PM > Subject: [AccessD] cataloguing mp3 albums > > > Got one that I haven't a clue about trying to convert. I've got a text report (about > 50 albums of varying numbers of tracks) Sorry > for length of message but I wanted to put in several to show you the general patterns > of the data. > > Now, what I want is to have a query (or series of queries) put this into Access as a > database. It only has to be done once, one I'm > finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to > be able to print a report that would be in > order similar to below, plus a report in order by title of the track, with what album > it is on and the track number, and lastly, by > the artist, sub-ordered by track then album, also album then track. I feel confident > I can do the queries and reports, but need one > of you to help me with turning the text to tables. I do notice that I've got some > natural breaks, to break the components apart - > the period for the track number, the first - is the split between song title and the > artist, and the ( ) for the time track (which I > do want). Note that Simon and Garfunkel have a second - that might cause a problem, > but when I've got the final text file, I can > eliminate those easily before doing the conversion. > > So, any volunteers to help? > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) > 02. America - Paul Simon - Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Sat Sep 13 22:36:54 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 13 Sep 2003 23:36:54 -0400 Subject: [AccessD] cataloguing mp3 albums References: <00de01c37a6c$821189f0$0900a8c0@P1200n> Message-ID: <001301c37a71$719aa840$6001a8c0@dejpolsys> ...what does this do that WinXP's Media Player won't? William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Tortise at Paradise" To: "Access Developers discussion and problem solving" Sent: Saturday, September 13, 2003 11:01 PM Subject: Re: [AccessD] cataloguing mp3 albums > Try Chequers Softwares "MP3Detective" at http://www.cheqsoft.com/mp3detective.html you may find you don't even need to write the > database..... > Feedback welcomed. > Kind regards, > David Hingston > _________________________________________________________________________ > > Engines2Go - Now THAT's a Search Engine! > Automated major search engine manager > Makes searching quicker and easier - Have you tried it? > http://www.engines2go.com/ > http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Sunday, September 14, 2003 1:37 PM > Subject: [AccessD] cataloguing mp3 albums > > > Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry > for length of message but I wanted to put in several to show you the general patterns of the data. > > Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm > finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in > order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by > the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one > of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - > the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I > do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can > eliminate those easily before doing the conversion. > > So, any volunteers to help? > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) > 02. America - Paul Simon - Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jcolby at colbyconsulting.com Sat Sep 13 22:50:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 13 Sep 2003 23:50:50 -0400 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: Message-ID: I have 315 albums ripped on my computer. 11.8 gb, 2339 files. Definitely doable on a modern hard drive. ;-) John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kathryn Bassett Sent: Saturday, September 13, 2003 11:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] cataloguing mp3 albums Looks like a good program, but I don't have the albums on my computer and the program doesn't have a way to look at the mp4 player. I'm ripping direct to the player as I don't have room for 50+ cd's of music on computer. Thanks for the idea though, I can at least catalog the music that *is* on my computer. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Tortise at Paradise > Sent: 13 Sep 2003 8:02:PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] cataloguing mp3 albums > > > Try Chequers Softwares "MP3Detective" at http://www.cheqsoft.com/mp3detective.html > you may find you don't even need to write the > database..... > Feedback welcomed. > Kind regards, > David Hingston > _________________________________________________________________________ > > Engines2Go - Now THAT's a Search Engine! > Automated major search engine manager > Makes searching quicker and easier - Have you tried it? > http://www.engines2go.com/ > http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and > Break Reminder. > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Sunday, September 14, 2003 1:37 PM > Subject: [AccessD] cataloguing mp3 albums > > > Got one that I haven't a clue about trying to convert. I've got a text report (about > 50 albums of varying numbers of tracks) Sorry > for length of message but I wanted to put in several to show you the general patterns > of the data. > > Now, what I want is to have a query (or series of queries) put this into Access as a > database. It only has to be done once, one I'm > finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to > be able to print a report that would be in > order similar to below, plus a report in order by title of the track, with what album > it is on and the track number, and lastly, by > the artist, sub-ordered by track then album, also album then track. I feel confident > I can do the queries and reports, but need one > of you to help me with turning the text to tables. I do notice that I've got some > natural breaks, to break the components apart - > the period for the track number, the first - is the split between song title and the > artist, and the ( ) for the time track (which I > do want). Note that Simon and Garfunkel have a second - that might cause a problem, > but when I've got the final text file, I can > eliminate those easily before doing the conversion. > > So, any volunteers to help? > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) > 02. America - Paul Simon - Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sat Sep 13 23:13:12 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sat, 13 Sep 2003 21:13:12 -0700 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: Message-ID: ah, but I've only got 20 gigs, and it's a laptop. That's why I was asking a few weeks ago about the pc card hard drives, I was running out of room. But that only added 5 gigs for me. I've got stuff on external things, but the space that goes with me all the time is limited. Besides, I don't need them on the computer, just the mp3 player. BTW, I tried that MP3Detective for the stuff on my computer and was NOT impressed at all. I can do much more, much easier, with the Creative Play Center software that came with my mp3 player. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: 13 Sep 2003 8:51:PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] cataloguing mp3 albums > > > I have 315 albums ripped on my computer. 11.8 gb, 2339 files. Definitely > doable on a modern hard drive. ;-) > > John W. Colby > www.colbyconsulting.com From accessd at shaw.ca Sun Sep 14 02:24:48 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 14 Sep 2003 00:24:48 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <3F63B1A7.2040101@shaw.ca> Message-ID: Wow, that dates things...I was pretty decent Fortran programmer back in the late seventies, early eighties...I build a complete cadastral AutoCAD application that translated coordinates from Clarke's 1886 global positional formula spheroid to conic and mecaider map projections, on an Intergraph system, running on an old PDP11-70 VAX. I was a lot brighter then and remember little about it except that one period missing in a the code could result in 100 plus pages of errors. I hope they have improved the error handling routines. Thanks for the heads up Marty and maybe I will take a stroll down memory lane. (Even though it is a bit over-grown.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Saturday, September 13, 2003 5:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] Info: Free Windows Fortran 77 Compiler I was looking at the Fortran95.Net compiler on this site when I came across this free for personal use Fortran 77 compiler. a bit dated but... Still useable with some of the good stat-math packs that are floating around on the net. http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 14 02:52:59 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 14 Sep 2003 09:52:59 +0200 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: References: Message-ID: <567823169.20030914095259@cactus.dk> Hi Jim Sounds impressive. But cadastral? Even my trusted "American Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on this. Google, however, revealed this page among others: http://www.co.blm.gov/cadastral/cadhome.htm Is that what your project was about? /gustav > Wow, that dates things...I was pretty decent Fortran programmer back in the > late seventies, early eighties...I build a complete cadastral AutoCAD > application that translated coordinates from Clarke's 1886 global positional > formula spheroid to conic and mecaider map projections, on an Intergraph > system, running on an old PDP11-70 VAX. I was a lot brighter then and > remember little about it except that one period missing in a the code could > result in 100 plus pages of errors. I hope they have improved the error > handling routines. > Thanks for the heads up Marty and maybe I will take a stroll down memory > lane. (Even though it is a bit over-grown.) > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Saturday, September 13, 2003 5:09 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > I was looking at the Fortran95.Net compiler on this site when I came > across this free for personal use Fortran 77 compiler. a bit dated > but... Still useable with some of the good stat-math packs that are > floating around on the net. > http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml From accessd at shaw.ca Sun Sep 14 03:42:26 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 14 Sep 2003 01:42:26 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <567823169.20030914095259@cactus.dk> Message-ID: Hi Gustav: I worked for the Provincial Survey Generals Branch doing manual and computerized mapping for almost ten years...(fifteen if you count forestry.) It was a major project that transferred all the individual legal plans and surveys from paper and linen to computer graphics. It was great fun but I got tired of working in continuously rotating shift work. (the computers were too expensive to not be used 24 hours a day at $125,000 per station) When I left, each station had two 24 inch colour screen, 4 mother boards with two 68000 CPU per board, a digitizer that was a big as a kitchen table, one twelve by eighteen inch digitizing tablet and a twelve button cursor. Behind the scenes was a room full of VAX 751s and rows of Alpha harddrives. (It took two people, 6 hours to do a full backup, done once a night.) It is almost fifteen years later and I still can not sleep more than six hours a night. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, September 14, 2003 12:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler Hi Jim Sounds impressive. But cadastral? Even my trusted "American Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on this. Google, however, revealed this page among others: http://www.co.blm.gov/cadastral/cadhome.htm Is that what your project was about? /gustav > Wow, that dates things...I was pretty decent Fortran programmer back in the > late seventies, early eighties...I build a complete cadastral AutoCAD > application that translated coordinates from Clarke's 1886 global positional > formula spheroid to conic and mecaider map projections, on an Intergraph > system, running on an old PDP11-70 VAX. I was a lot brighter then and > remember little about it except that one period missing in a the code could > result in 100 plus pages of errors. I hope they have improved the error > handling routines. > Thanks for the heads up Marty and maybe I will take a stroll down memory > lane. (Even though it is a bit over-grown.) > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Saturday, September 13, 2003 5:09 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > I was looking at the Fortran95.Net compiler on this site when I came > across this free for personal use Fortran 77 compiler. a bit dated > but... Still useable with some of the good stat-math packs that are > floating around on the net. > http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Sep 14 05:40:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 14 Sep 2003 12:40:13 +0200 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: References: Message-ID: <8017857347.20030914124013@cactus.dk> Hi Jim Ahh - brings back memories of Genigraphic and Dicomed designer stations for computer graphics. At our sister company those were also manned 24 hours a day due to the cost. I still remember the super stressed look of those operators when we met in the morning ... I surely understand your decision. Later my old company sold some lower level design stations manufactured by AVL including a Polaroid processing camera; great fun calibrating these all the time. However, those were the days of the XT and AT with close to zero professional graphic capabilities. And certainly no Freelance or PowerPoint ... /gustav > I worked for the Provincial Survey Generals Branch doing manual and > computerized mapping for almost ten years...(fifteen if you count forestry.) > It was a major project that transferred all the individual legal plans and > surveys from paper and linen to computer graphics. It was great fun but I > got tired of working in continuously rotating shift work. (the computers > were too expensive to not be used 24 hours a day at $125,000 per station) > When I left, each station had two 24 inch colour screen, 4 mother boards > with two 68000 CPU per board, a digitizer that was a big as a kitchen table, > one twelve by eighteen inch digitizing tablet and a twelve button cursor. > Behind the scenes was a room full of VAX 751s and rows of Alpha harddrives. > (It took two people, 6 hours to do a full backup, done once a night.) > It is almost fifteen years later and I still can not sleep more than six > hours a night. > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Sunday, September 14, 2003 12:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > Hi Jim > Sounds impressive. But cadastral? Even my trusted "American Heritage > Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on > this. Google, however, revealed this page among others: > http://www.co.blm.gov/cadastral/cadhome.htm > Is that what your project was about? > /gustav >> Wow, that dates things...I was pretty decent Fortran programmer back in >> the >> late seventies, early eighties...I build a complete cadastral AutoCAD >> application that translated coordinates from Clarke's 1886 global >> positional >> formula spheroid to conic and mecaider map projections, on an Intergraph >> system, running on an old PDP11-70 VAX. I was a lot brighter then and >> remember little about it except that one period missing in a the code >> could >> result in 100 plus pages of errors. I hope they have improved the error >> handling routines. >> Thanks for the heads up Marty and maybe I will take a stroll down memory >> lane. (Even though it is a bit over-grown.) >> Jim >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >> Sent: Saturday, September 13, 2003 5:09 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >> I was looking at the Fortran95.Net compiler on this site when I came >> across this free for personal use Fortran 77 compiler. a bit dated >> but... Still useable with some of the good stat-math packs that are >> floating around on the net. >> http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml From tortise at paradise.net.nz Sun Sep 14 06:11:10 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Sun, 14 Sep 2003 23:11:10 +1200 Subject: [AccessD] cataloguing mp3 albums References: <00de01c37a6c$821189f0$0900a8c0@P1200n> <001301c37a71$719aa840$6001a8c0@dejpolsys> Message-ID: <017301c37ab0$e6fae160$0900a8c0@P1200n> Dear William, Seeing you ask..... Without being rigorous it will: => Rapidly search nominated MULTIPLE specified directory locations for specified music and play it in order or randomnly. e.g. search on "2", abba, roll etc - whatever for many hits and play them randomnly....or much more specifically...And load Media Player up..... Media player will still be looking while you're already playing with MP3Detective..... You can load up many many songs and leave it to play....probably a little more than most need....Or find the single track you want fast.... => Place a list on the desktop of all music files in specified directories - in txt or html hyperlink format (Probably import more easily into access if that's still required...) => More easily allow the management of favorites (Right click the search results) => I think of it as a front end to Media Player, (which I don't think is specific to XP?) => Try it! I am not sure where MP4's came into this..... I hope that keeps you all swinging! Kind regards, David Hingston _________________________________________________________________________ Engines2Go - Now THAT's a Search Engine! Automated major search engine manager Makes searching quicker and easier - Have you tried it? http://www.engines2go.com/ http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Sunday, September 14, 2003 3:36 PM Subject: Re: [AccessD] cataloguing mp3 albums ...what does this do that WinXP's Media Player won't? William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Tortise at Paradise" To: "Access Developers discussion and problem solving" Sent: Saturday, September 13, 2003 11:01 PM Subject: Re: [AccessD] cataloguing mp3 albums > Try Chequers Softwares "MP3Detective" at http://www.cheqsoft.com/mp3detective.html you may find you don't even need to write the > database..... > Feedback welcomed. > Kind regards, > David Hingston > _________________________________________________________________________ > > Engines2Go - Now THAT's a Search Engine! > Automated major search engine manager > Makes searching quicker and easier - Have you tried it? > http://www.engines2go.com/ > http://www.cheqsoft.com/ The home of Clipboard Express, MP3 Detective, TimesOwn and Break Reminder. > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "dbAdvisors (AccessD)" > Sent: Sunday, September 14, 2003 1:37 PM > Subject: [AccessD] cataloguing mp3 albums > > > Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry > for length of message but I wanted to put in several to show you the general patterns of the data. > > Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm > finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in > order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by > the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one > of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - > the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I > do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can > eliminate those easily before doing the conversion. > > So, any volunteers to help? > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) > 02. America - Paul Simon - Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Sun Sep 14 08:31:43 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sun, 14 Sep 2003 08:31:43 -0500 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: Message-ID: <004901c37ac4$b39f5c10$330ad018@W2k> Jim, ...and "mecaider" map projections? Was that PDP-11 really named PDP11-70 VAX? The VAX series was a separate product line. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From davesharpe2 at cox.net Sun Sep 14 08:50:52 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sun, 14 Sep 2003 09:50:52 -0400 Subject: [AccessD] cataloguing mp3 albums References: Message-ID: <00d001c37ac7$3655d060$dd2f0a44@bcsext6137> Kathryn I have Your listings. I have to run out for a little while. Should have done by 13:00 edt Dave ----- Original Message ----- From: "Kathryn Bassett" To: "Access Developers discussion and problem solving" Sent: Saturday, September 13, 2003 10:51 PM Subject: RE: [AccessD] cataloguing mp3 albums > It dawned on me that I don't need to wait til I'm done to do this. I've got a good sampling so that the coding can be done, and I can always do the query again when I'm finished ripping. > > Album : 18 Original Greatest Hits > 01. All Night Long - Jerry Lee Lewis (00:02:04) > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > 04. Breathless - Jerry Lee Lewis (00:02:43) > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > 12. Matchbox - Jerry Lee Lewis (00:01:43) > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > 18. Wild One - Jerry Lee Lewis (00:01:48) > > Album : Biggest Hits > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) > 07. She'S All I Got - Johnny Paycheck (00:02:42) > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > Album : Gershwin : Rhapsody - Tilson Thomas > 01. An American In Paris - George Gershwin (00:18:37) > 02. Funny Face - George Gershwin (00:05:54) > 03. Girl Crazy - George Gershwin (00:05:45) > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > 05. Of Thee I Sing - George Gershwin (00:04:40) > 06. Oh, Kay - George Gershwin (00:07:11) > 07. Rhapsody In Blue - George Gershwin (00:13:46) > 08. Strike Up The Band - George Gershwin (00:07:11) > > Album : Greatest Hits > 01. A Worried man - Kingston Trio (00:02:54) > 02. America - Herb Alpert & The Tijuana Brass (00:02:50) > 03. Bad Man's Blunder - Kingston Trio (00:02:40) > 04. El Matador - Kingston Trio (00:02:29) > 05. Everglades - Kingston Trio (00:02:23) > 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass (00:02:13) > 07. Greenback Dollar - Kingston Trio (00:02:54) > 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) > 09. Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) > 10. Mexican Shuffle - Herb Alpert & The Tijuana Brass (00:02:13) > 11. MTA - Kingston Trio (00:03:17) > 12. Never On Sunday - Herb Alpert & The Tijuana Brass (00:02:43) > 13. Reuben James - Kingston Trio (00:03:00) > 14. Reverand Mr. Black - Kingston Trio (00:03:05) > 15. Scotch and Soda - Kingston Trio (00:02:35) > 16. South Of The Border - Herb Alpert & The Tijuana Brass (00:02:11) > 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) > 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) > 19. The Tijuana Jail - Kingston Trio (00:02:52) > 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) > 21. Tom Dooly - Kingston Trio (00:03:05) > 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) > 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) > 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) > > Album : Guitar Sampler > 01. Andecy - Andrew York (00:04:09) > 02. Blue Ridge - Bruce Becvar (00:04:11) > 03. Cheyenne - Peter Maunu (00:04:18) > 04. Night Crossing - John Doan (00:06:21) > 05. No City Lights - James Gordon (00:05:11) > 06. On The Way - David Cullen (00:04:18) > 07. Prelude From The Bridal Suite - Eric Tingstad (00:03:09) > 08. Sun And Water - Danny Heines (00:05:37) > 09. The Emperor's Choice - Chris Proctor & Paul Machlis (00:04:05) > 10. The Handing Down - Edward Gerhard (00:04:03) > 11. The Silver Plume Waltz - Bill Mize (00:03:34) > > Album : In The Digital Mood > 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) > 02. Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) > 03. In The Mood - Glenn Miller Orchestra (00:03:40) > 04. Kalamazoo - Glenn Miller Orchestra (00:02:42) > 05. Little Brown Jug - Glenn Miller Orchestra (00:03:08) > 06. Moonlight Serenade - Glenn Miller Orchestra (00:03:16) > 07. Pennsylvania 6-5000 - Glenn Miller Orchestra (00:03:13) > 08. St. Louis Blues March - Glenn Miller Orchestra (00:04:19) > 09. The American Patrol - Glenn Miller Orchestra (00:03:25) > 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) > > Album : It's A Sunshine Day: The Best Of The Brady Bunch > 01. American Pie - The Brady Bunch (00:03:38) > 02. Born To Say Goodbye - The Brady Bunch (00:02:53) > 03. Candy (Sugar Shoppe) - The Brady Bunch (00:02:12) > 04. Charlotte's Web - The Brady Bunch (00:02:56) > 05. Cheyenne - The Brady Bunch (00:03:00) > 06. Frosty The Snowman - The Brady Bunch (00:01:48) > 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) > 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) > 09. It's A Sunshine Day - The Brady Bunch (00:02:31) > 10. Keep On - The Brady Bunch (00:02:35) > 11. Merry Go Round - The Brady Bunch (00:01:58) > 12. Promo Intro - The Brady Bunch (00:00:27) > 13. Promo Outro - The Brady Bunch (00:00:12) > 14. Road To Love - The Brady Bunch (00:03:17) > 15. Sweet Sweetheart - The Brady Bunch (00:02:38) > 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) > 17. Time To Change - The Brady Bunch (00:02:08) > 18. Truckin' Back To You - The Brady Bunch (00:02:51) > 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch (00:02:23) > 20. We'll Always Be Friends - The Brady Bunch (00:02:32) > > Album : Johnny Cash- Greatest Hits Volume 1 > 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) > 02. Five Feet High And Rising - Johnny Cash (00:01:49) > 03. I Walk The Line - Johnny Cash (00:02:36) > 04. It Ain't Me Babe - Johnny Cash (00:03:04) > 05. Jackson - Johnny Cash (00:02:48) > 06. Orange Blossom Special - Johnny Cash (00:03:08) > 07. Ring Of Fire - Johnny Cash (00:02:39) > 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) > 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) > 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) > 11. Understand Your Man - Johnny Cash (00:02:45) > > Album : Made In U.S.A. > 01. 409 - Beach Boys (00:01:59) > 02. Barbara Ann - Beach Boys (00:02:04) > 03. Be True to Your School - Beach Boys (00:02:07) > 04. California Dreamin' - Beach Boys (00:03:10) > 05. California Girls - Beach Boys (00:02:36) > 06. Caroline, No - Beach Boys (00:02:17) > 07. Come Go With Me - Beach Boys (00:02:07) > 08. Dance, Dance, Dance - Beach Boys (00:01:58) > 09. Do It Again - Beach Boys (00:02:19) > 10. Don't Worry Baby - Beach Boys (00:02:42) > 11. Fun, Fun, Fun - Beach Boys (00:02:16) > 12. Getcha Back - Beach Boys (00:03:01) > 13. God Only Knows - Beach Boys (00:02:48) > 14. Good Vibrations - Beach Boys (00:03:36) > 15. Help Me, Rhonda - Beach Boys (00:02:45) > 16. Heroes And Villians - Beach Boys (00:03:37) > 17. I Get Around - Beach Boys (00:02:11) > 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) > 19. Rock And Roll Music - Beach Boys (00:02:28) > 20. Sloop John B. - Beach Boys (00:02:55) > 21. Surfer Girl - Beach Boys (00:02:23) > 22. Surfin' Safari - Beach Boys (00:02:06) > 23. Surfin' USA - Beach Boys (00:02:27) > 24. When I Grow Up - Beach Boys (00:02:01) > 25. Wouldn't It Be Nice - Beach Boys (00:02:22) > > Album : Messiah Highlights > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) > > Album : Night Music CD 1 > 01. Beethoven - Moonlight Sonata (00:05:18) > 02. Chopin - Piano Concerto No. 2 (00:09:01) > 03. Debussy - Clair de lune (00:05:48) > 04. Faure - Sicilienne (00:03:40) > 05. Godard - Berceuse (00:05:29) > 06. Grieg - To Spring (00:02:12) > 07. Haydn-String Quartet Op76 No. (00:05:19) > 08. J.S. Bach-Brandenburg Concert (00:05:16) > 09. Mozart - Symphony No. 40 (00:07:48) > 10. Mozart-Eine kleine Nachtmusik (00:06:07) > 11. Pachelbel - Canon (00:04:47) > 12. Tchaikovsky - Melodie (00:04:31) > 13. Torelli-Trumpet Concerto No.2 (00:02:29) > > Album : Night Music CD 2 > 01. Beethoven-Piano Concerto No. (00:05:40) > 02. Debussy-String quartet op. 10 (00:07:59) > 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) > 04. Handel - Watermusic - Adagio (00:03:06) > 05. Handel-Concerto Grosso Op. 6 (00:02:36) > 06. Haydn-Symphony No.96-Andante (00:05:08) > 07. Mendelssohn- A Midsummer Nigh (00:06:26) > 08. Mozart- Flute & Harp Concerto (00:07:35) > 09. Shubert- Moment musical (00:05:47) > 10. Tchaikovsky-Swan Lake-Andante (00:06:45) > 11. Vivaldi - Spring - Largo (00:02:42) > > Album : Night Music CD 2 > 01. Mozart- Piano sonata K.332 (00:05:23) > > Album : Night Music CD 3 > 01. Albinoni-Adagio (00:11:30) > 02. Beethoven-Les Adieux (00:04:30) > 03. Beethoven-Symphony No 1 (00:06:51) > 04. Bizet-L'Arlesienne (00:03:36) > 05. Boccherini-Cello Concerto (00:05:55) > 06. Corelli-Christmas-Pastorale (00:04:10) > 07. Faure-Pavane (00:07:46) > 08. Haydn-StringQuartet Op.76No.4 (00:05:35) > 09. Marcello-Oboe Concerto (00:04:48) > 10. Mendelssohn-On Wings Of Song (00:04:38) > 11. Mozart-Piano Concerto K.467 (00:06:21) > 12. Mozart-Salzburg Symphony K138 (00:03:54) > 13. Tchaikovsky-Chanson Triste (00:03:00) > > Album : Popular Classics 1 > 01. Beethoven - Romance in F (00:06:25) > 02. Chopin - Waltz in C# minor (00:03:22) > 03. Chopin-Nocturne in B Flat Min (00:05:25) > 04. Faure-Song Without Words No. (00:02:19) > 05. Handel - Passaccaglia (00:04:05) > 06. Haydn - Surprise Symphony(2nd (00:07:21) > 07. Liszt - Consolation No. 5 (00:03:13) > 08. Mendelssohn - Wedding March (00:04:46) > 09. Schumann - Pleading Child (00:01:36) > > Album : Popular Classics 2 > 01. Beethoven - Fur Elise (00:02:47) > 02. Beethoven - Minuet in G (00:02:13) > 03. Beethoven - Moonlight Sonata (00:05:39) > 04. Bizet-Intermezzo(Carmen Suite (00:02:58) > 05. Brahms - Hungarian Dance No. (00:02:51) > 06. Grieg - Anitra's Dance (00:03:39) > 07. Schubert - Serenade (00:03:35) > 08. Strauss -Thunder and Lightnin (00:03:17) > 09. Strauss-DieFledermaus Overtur (00:08:42) > > Album : Popular Classics 3 > 01. Bach - Prelude in C (00:02:10) > 02. Beethoven - Symphony No. 5 (00:06:36) > 03. Bizet - Intermezzo from Carme (00:03:06) > 04. Bizet - Song of Toreadors (00:02:45) > 05. Brahms - Hungarian No.5 (00:03:00) > 06. Dvorak - New World Sym.(4th) (00:11:57) > 07. Grieg - Anitra's Dance (00:03:47) > 08. Mozart - Marriage of Figaro (00:04:42) > 09. Strauss - Blue Danube (00:08:50) > 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) > > Album : Popular Classics 4 > 01. Bach - Air On The G String (00:06:00) > 02. Bizet - Aragonaise from Carme (00:02:34) > 03. Bizet-Carillon from L'Arlesie (00:04:52) > 04. Chopin - Fantasie Impromptu (00:05:00) > 05. Chopin - Minute Waltz (00:01:56) > 06. Chopin - Prelude in A (00:00:58) > 07. Chopin - Waltz in A Flat (00:03:55) > 08. Chopin-Etude in D Op.10 No.3 (00:04:17) > 09. Debussy - 1st Arabesque (00:03:38) > 10. Delibes - Coppelia Suite (00:02:50) > 11. Saint-Saens - The Swan (00:03:24) > 12. Schubert - Moments Musical (00:01:57) > 13. Schubert - Trout Quintet (00:08:35) > 14. Schumann - Warum (00:02:34) > 15. Tchaikovsky -Chanson Triste (00:02:45) > 16. Tchaikovsky-Dance of the Swan (00:01:49) > > Album : Popular Classics 5 > 01. Brahms - Waltz in A Flat (00:01:44) > 02. Chopin - Raindrop Prelude (00:04:47) > 03. Debussy - Clair De Lune (00:04:33) > 04. Debussy-Girl With Flaxen Hair (00:02:36) > 05. Dvorak - Humoresque (00:02:46) > 06. Glinka - Russlan and Ludmilla (00:05:47) > 07. Gossec - Gavotte In D (00:01:47) > 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) > 09. Massanet-Meditation from Thai (00:06:02) > 10. Rubinstein-Melody in F (00:03:49) > 11. Schumann - Traumerie (00:02:51) > 12. Strauss - Pizzicato Polka (00:02:59) > 13. Strauss - Radetzky March (00:02:27) > 14. Suppe - Light Calvary Overtur (00:07:34) > 15. Tchaikovsky - Swan Lake(Scene (00:02:57) > > Album : Rarities > 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) > 02. Beat Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) > 03. Boogie Woogie Bugle Boy - The Andrew Sisters (00:02:41) > 04. Don't Fence Me In - The Andrew Sisters (00:03:00) > 05. Hit The Road - The Andrew Sisters (00:02:33) > 06. I Love You Much Too Much - The Andrew Sisters (00:02:59) > 07. Long Time No See - The Andrew Sisters (00:03:09) > 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) > 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters (00:02:38) > 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters (00:02:53) > > Album : Scott Joplin: Piano Rags > 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) > 02. Country Club Ragtime Two Step - Joshua Rifkin (00:04:58) > 03. Elite Syncopations - Joshua Rifkin (00:03:02) > 04. Euphonic Sounds A Syncopated Novelty - Joshua Rifkin (00:03:58) > 05. Fig Leaf Rag - Joshua Rifkin (00:04:42) > 06. Gladiolus Rag - Joshua Rifkin (00:04:29) > 07. Magnetic Rag Syncopations Classiques - Joshua Rifkin (00:05:13) > 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) > 09. Paragon Rag - Joshua Rifkin (00:03:49) > 10. Pine Apple Rag - Joshua Rifkin (00:03:30) > 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) > 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) > 13. Stoptime Rag - Joshua Rifkin (00:02:56) > 14. The Cascades A Rag - Joshua Rifkin (00:03:09) > 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) > 16. The Ragtime Dance - Joshua Rifkin (00:03:18) > 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) > > Album : The Concert In Central Park > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art Garfunkel (00:04:09) > 02. America - Paul Simon Art Garfunkel (00:05:50) > 03. American Tune - Paul Simon Art Garfunkel (00:04:13) > 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) > 05. Boxer - Paul Simon Art Garfunkel (00:03:55) > 06. Bridge Over Troubled Water - Paul Simon Art Garfunkel (00:02:37) > 07. Fifty Ways To Leave Your Lover - Paul Simon Art Garfunkel (00:02:19) > 08. Heart In New York - Paul Simon Art Garfunkel (00:03:22) > 09. Homeward Bound - Paul Simon Art Garfunkel (00:02:49) > 10. Kodachrome/Maybellene - Paul Simon Art Garfunkel (00:03:52) > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > 12. Me And Julio Down By The Schoolyard - Paul Simon Art Garfunkel (00:04:48) > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > 15. Scarborough Fair - Paul Simon Art Garfunkel (00:04:23) > 16. Slip Slidin' Away - Paul Simon Art Garfunkel (00:04:56) > 17. Sound Of Silence - Paul Simon Art Garfunkel (00:04:54) > 18. Still Crazy After All These Years - Paul Simon Art Garfunkel (00:02:01) > 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) > > Album : The Liberace Collection > 01. 12th Street Rag - Liberace (00:02:27) > 02. Alley Cat - Liberace (00:02:03) > 03. Beer barrel polka - Liberace (00:01:25) > 04. Claire De Lune - Liberace (00:05:15) > 05. Classic concertos - Liberace (00:11:03) > 06. Exodus - Liberace (00:01:42) > 07. Footprints On The Moon - Liberace (00:02:46) > 08. French medley - Liberace (00:04:42) > 09. How insensitive - Liberace (00:03:05) > 10. Johnson rag - Liberace (00:02:09) > 11. Mixed Emotions - Liberace (00:05:05) > 12. Moon River - Liberace (00:01:33) > 13. Moonlight Sonata - Liberace (00:06:02) > 14. Nocturne in E Flat - Liberace (00:02:21) > 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace (00:04:16) > 16. Sometime I'm Happy - Liberace (00:03:26) > 17. Stardust - Liberace (00:04:25) > 18. Suite: Judy blue eyes - Liberace (00:03:57) > 19. Third man theme - Liberace (00:01:50) > 20. Tico - Tico - Liberace (00:01:48) > > Album : Voices Of Harmony > 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) > 02. Home On The Range - The Mormon Tabernacle Choir (00:03:10) > 03. How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) > 04. I Walked Today Where Jesus Walked - The Mormon Tabernacle Choir (00:04:50) > 05. I'll Walk With God - The Mormon Tabernacle Choir (00:02:52) > 06. Love At Home - The Mormon Tabernacle Choir (00:05:31) > 07. Nearer My God To Thee - The Mormon Tabernacle Choir (00:04:22) > 08. Ode To Music - The Mormon Tabernacle Choir (00:04:11) > 09. One Voice - The Mormon Tabernacle Choir (00:02:29) > 10. Suddenly You're Older - The Mormon Tabernacle Choir (00:04:05) > 11. Sweet Hour Of Prayer - The Mormon Tabernacle Choir (00:04:00) > 12. The Long Day Closes - The Mormon Tabernacle Choir (00:03:46) > 13. The Lost Chord - The Mormon Tabernacle Choir (00:05:06) > 14. The Wondows Of The World - The Mormon Tabernacle Choir (00:04:08) > > Album : Welcome To Hip Hop Country > 01. Blank - George Lee Jr. & The Crazed Cowboys (00:00:03) > 02. Bonus - George Lee Jr. & The Crazed Cowboys (00:03:23) > 03. Deep In The Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) > 04. Eight Angels From The Sky - George Lee Jr. & The Crazed Cowboys (00:03:02) > 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) > 06. I Never Wanna Make You Cry - George Lee Jr. & The Crazed Cowboys (00:03:03) > 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys (00:02:58) > 08. Keep Your Hands Offa My Stetson - George Lee Jr. & The Crazed Cowboys (00:02:57) > 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys (00:03:39) > 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) > 11. Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys (00:03:08) > 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys (00:03:30) > 13. Summer Days - George Lee Jr. & The Crazed Cowboys (00:03:27) > 14. Time To Say Goodbye - George Lee Jr. & The Crazed Cowboys (00:03:02) > 15. Wake Up And Smell The Coffee - George Lee Jr. & The Crazed Cowboys (00:03:10) > 16. Welcome To Hip Hop Country - George Lee Jr. & The Crazed Cowboys (00:03:02) > > Album : Windham Hill Piano Sampler > 01. A Morning With The Roses- (00:04:36) > 02. Amy's Song -(00:02:41) > 03. Consolation- (00:06:32) > 04. In Flight- (00:06:02) > 05. In This Small Spot- (00:04:09) > 06. Listening To Evening -(00:07:02) > 07. LouAnn -(00:04:21) > 08. Messenger of the Son- (00:03:16) > 09. Out To Play- (00:03:44) > > Thanks Dave and William for offering. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Sun Sep 14 10:28:51 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 14 Sep 2003 08:28:51 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <004901c37ac4$b39f5c10$330ad018@W2k> Message-ID: Just for clarity, we statred with two PDP11-70s and ended up with eight separate VAXs...the PDP was melted for gold I understand and eventually the VAXs. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Sunday, September 14, 2003 6:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler Jim, ...and "mecaider" map projections? Was that PDP-11 really named PDP11-70 VAX? The VAX series was a separate product line. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sun Sep 14 11:39:21 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 14 Sep 2003 12:39:21 -0400 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: Message-ID: In ~ 1984 I built my second homebuilt PC, a single board computer kit with an 80286 processor and 512 kbytes of Ram. I got CPM and a programming compiler called Turbo Pascal from the new kid on the block who started a company called Borland. I was working for Megatek Corporation back then, a graphics company that made high end graphics workstations for Vaxes and Data General minicomputers. The whole company was run by a VAX 11750 with 1/2 mbyte of RAM. There were about 150 dumb terminals attached to this thing including one that we used in the repair lab for inventory purposes. When the programmers would start a compile, the whole system slowed to a crawl. And I DREAMED of having a VAX of my own. Now of course I have four computers, the least powerful a PII 233 mhz laptop, which is still close to 100 times more powerful than that VAX I dreamed about 18 years ago. I LOVE technology! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Sunday, September 14, 2003 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Info: Free Windows Fortran 77 Compiler Just for clarity, we statred with two PDP11-70s and ended up with eight separate VAXs...the PDP was melted for gold I understand and eventually the VAXs. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Sunday, September 14, 2003 6:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler Jim, ...and "mecaider" map projections? Was that PDP-11 really named PDP11-70 VAX? The VAX series was a separate product line. Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Sun Sep 14 11:54:11 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sun, 14 Sep 2003 12:54:11 -0400 Subject: [AccessD] cataloguing mp3 albums References: <00d001c37ac7$3655d060$dd2f0a44@bcsext6137> Message-ID: <006401c37ae0$d259a860$dd2f0a44@bcsext6137> ( Drew if We can POST please advise how. ) Friends I didn't see a way to POST files for the list. I have sent the MDB directly to Kathryn. Assuming that We can't; if any one would like a copy, let Me know and I'll send You a copy directly ( zip is only 35K ). Dave ----- Original Message ----- From: "dave sharpe" To: "Access Developers discussion and problem solving" Sent: Sunday, September 14, 2003 9:50 AM Subject: Re: [AccessD] cataloguing mp3 albums > Kathryn > > I have Your listings. I have to run out for a little while. Should have done > by 13:00 edt > > Dave > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, September 13, 2003 10:51 PM > Subject: RE: [AccessD] cataloguing mp3 albums > > > > It dawned on me that I don't need to wait til I'm done to do this. I've > got a good sampling so that the coding can be done, and I can always do the > query again when I'm finished ripping. > > > > Album : 18 Original Greatest Hits > > 01. All Night Long - Jerry Lee Lewis (00:02:04) > > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > > 04. Breathless - Jerry Lee Lewis (00:02:43) > > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > > 12. Matchbox - Jerry Lee Lewis (00:01:43) > > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > > 18. Wild One - Jerry Lee Lewis (00:01:48) > > > > Album : Biggest Hits > > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck > (00:03:05) > > 07. She'S All I Got - Johnny Paycheck (00:02:42) > > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > > > Album : Gershwin : Rhapsody - Tilson Thomas > > 01. An American In Paris - George Gershwin (00:18:37) > > 02. Funny Face - George Gershwin (00:05:54) > > 03. Girl Crazy - George Gershwin (00:05:45) > > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > > 05. Of Thee I Sing - George Gershwin (00:04:40) > > 06. Oh, Kay - George Gershwin (00:07:11) > > 07. Rhapsody In Blue - George Gershwin (00:13:46) > > 08. Strike Up The Band - George Gershwin (00:07:11) > > > > Album : Greatest Hits > > 01. A Worried man - Kingston Trio (00:02:54) > > 02. America - Herb Alpert & The Tijuana Brass (00:02:50) > > 03. Bad Man's Blunder - Kingston Trio (00:02:40) > > 04. El Matador - Kingston Trio (00:02:29) > > 05. Everglades - Kingston Trio (00:02:23) > > 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass > (00:02:13) > > 07. Greenback Dollar - Kingston Trio (00:02:54) > > 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) > > 09. Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) > > 10. Mexican Shuffle - Herb Alpert & The Tijuana Brass (00:02:13) > > 11. MTA - Kingston Trio (00:03:17) > > 12. Never On Sunday - Herb Alpert & The Tijuana Brass (00:02:43) > > 13. Reuben James - Kingston Trio (00:03:00) > > 14. Reverand Mr. Black - Kingston Trio (00:03:05) > > 15. Scotch and Soda - Kingston Trio (00:02:35) > > 16. South Of The Border - Herb Alpert & The Tijuana Brass (00:02:11) > > 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) > > 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) > > 19. The Tijuana Jail - Kingston Trio (00:02:52) > > 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) > > 21. Tom Dooly - Kingston Trio (00:03:05) > > 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) > > 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) > > 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) > > > > Album : Guitar Sampler > > 01. Andecy - Andrew York (00:04:09) > > 02. Blue Ridge - Bruce Becvar (00:04:11) > > 03. Cheyenne - Peter Maunu (00:04:18) > > 04. Night Crossing - John Doan (00:06:21) > > 05. No City Lights - James Gordon (00:05:11) > > 06. On The Way - David Cullen (00:04:18) > > 07. Prelude From The Bridal Suite - Eric Tingstad (00:03:09) > > 08. Sun And Water - Danny Heines (00:05:37) > > 09. The Emperor's Choice - Chris Proctor & Paul Machlis (00:04:05) > > 10. The Handing Down - Edward Gerhard (00:04:03) > > 11. The Silver Plume Waltz - Bill Mize (00:03:34) > > > > Album : In The Digital Mood > > 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) > > 02. Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) > > 03. In The Mood - Glenn Miller Orchestra (00:03:40) > > 04. Kalamazoo - Glenn Miller Orchestra (00:02:42) > > 05. Little Brown Jug - Glenn Miller Orchestra (00:03:08) > > 06. Moonlight Serenade - Glenn Miller Orchestra (00:03:16) > > 07. Pennsylvania 6-5000 - Glenn Miller Orchestra (00:03:13) > > 08. St. Louis Blues March - Glenn Miller Orchestra (00:04:19) > > 09. The American Patrol - Glenn Miller Orchestra (00:03:25) > > 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) > > > > Album : It's A Sunshine Day: The Best Of The Brady Bunch > > 01. American Pie - The Brady Bunch (00:03:38) > > 02. Born To Say Goodbye - The Brady Bunch (00:02:53) > > 03. Candy (Sugar Shoppe) - The Brady Bunch (00:02:12) > > 04. Charlotte's Web - The Brady Bunch (00:02:56) > > 05. Cheyenne - The Brady Bunch (00:03:00) > > 06. Frosty The Snowman - The Brady Bunch (00:01:48) > > 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) > > 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) > > 09. It's A Sunshine Day - The Brady Bunch (00:02:31) > > 10. Keep On - The Brady Bunch (00:02:35) > > 11. Merry Go Round - The Brady Bunch (00:01:58) > > 12. Promo Intro - The Brady Bunch (00:00:27) > > 13. Promo Outro - The Brady Bunch (00:00:12) > > 14. Road To Love - The Brady Bunch (00:03:17) > > 15. Sweet Sweetheart - The Brady Bunch (00:02:38) > > 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) > > 17. Time To Change - The Brady Bunch (00:02:08) > > 18. Truckin' Back To You - The Brady Bunch (00:02:51) > > 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch > (00:02:23) > > 20. We'll Always Be Friends - The Brady Bunch (00:02:32) > > > > Album : Johnny Cash- Greatest Hits Volume 1 > > 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) > > 02. Five Feet High And Rising - Johnny Cash (00:01:49) > > 03. I Walk The Line - Johnny Cash (00:02:36) > > 04. It Ain't Me Babe - Johnny Cash (00:03:04) > > 05. Jackson - Johnny Cash (00:02:48) > > 06. Orange Blossom Special - Johnny Cash (00:03:08) > > 07. Ring Of Fire - Johnny Cash (00:02:39) > > 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) > > 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) > > 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) > > 11. Understand Your Man - Johnny Cash (00:02:45) > > > > Album : Made In U.S.A. > > 01. 409 - Beach Boys (00:01:59) > > 02. Barbara Ann - Beach Boys (00:02:04) > > 03. Be True to Your School - Beach Boys (00:02:07) > > 04. California Dreamin' - Beach Boys (00:03:10) > > 05. California Girls - Beach Boys (00:02:36) > > 06. Caroline, No - Beach Boys (00:02:17) > > 07. Come Go With Me - Beach Boys (00:02:07) > > 08. Dance, Dance, Dance - Beach Boys (00:01:58) > > 09. Do It Again - Beach Boys (00:02:19) > > 10. Don't Worry Baby - Beach Boys (00:02:42) > > 11. Fun, Fun, Fun - Beach Boys (00:02:16) > > 12. Getcha Back - Beach Boys (00:03:01) > > 13. God Only Knows - Beach Boys (00:02:48) > > 14. Good Vibrations - Beach Boys (00:03:36) > > 15. Help Me, Rhonda - Beach Boys (00:02:45) > > 16. Heroes And Villians - Beach Boys (00:03:37) > > 17. I Get Around - Beach Boys (00:02:11) > > 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) > > 19. Rock And Roll Music - Beach Boys (00:02:28) > > 20. Sloop John B. - Beach Boys (00:02:55) > > 21. Surfer Girl - Beach Boys (00:02:23) > > 22. Surfin' Safari - Beach Boys (00:02:06) > > 23. Surfin' USA - Beach Boys (00:02:27) > > 24. When I Grow Up - Beach Boys (00:02:01) > > 25. Wouldn't It Be Nice - Beach Boys (00:02:22) > > > > Album : Messiah Highlights > > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus > (00:03:11) > > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus > (00:07:42) > > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus > (00:04:11) > > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And > Chorus (00:07:28) > > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus > (00:03:06) > > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus > (00:07:04) > > > > Album : Night Music CD 1 > > 01. Beethoven - Moonlight Sonata (00:05:18) > > 02. Chopin - Piano Concerto No. 2 (00:09:01) > > 03. Debussy - Clair de lune (00:05:48) > > 04. Faure - Sicilienne (00:03:40) > > 05. Godard - Berceuse (00:05:29) > > 06. Grieg - To Spring (00:02:12) > > 07. Haydn-String Quartet Op76 No. (00:05:19) > > 08. J.S. Bach-Brandenburg Concert (00:05:16) > > 09. Mozart - Symphony No. 40 (00:07:48) > > 10. Mozart-Eine kleine Nachtmusik (00:06:07) > > 11. Pachelbel - Canon (00:04:47) > > 12. Tchaikovsky - Melodie (00:04:31) > > 13. Torelli-Trumpet Concerto No.2 (00:02:29) > > > > Album : Night Music CD 2 > > 01. Beethoven-Piano Concerto No. (00:05:40) > > 02. Debussy-String quartet op. 10 (00:07:59) > > 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) > > 04. Handel - Watermusic - Adagio (00:03:06) > > 05. Handel-Concerto Grosso Op. 6 (00:02:36) > > 06. Haydn-Symphony No.96-Andante (00:05:08) > > 07. Mendelssohn- A Midsummer Nigh (00:06:26) > > 08. Mozart- Flute & Harp Concerto (00:07:35) > > 09. Shubert- Moment musical (00:05:47) > > 10. Tchaikovsky-Swan Lake-Andante (00:06:45) > > 11. Vivaldi - Spring - Largo (00:02:42) > > > > Album : Night Music CD 2 > > 01. Mozart- Piano sonata K.332 (00:05:23) > > > > Album : Night Music CD 3 > > 01. Albinoni-Adagio (00:11:30) > > 02. Beethoven-Les Adieux (00:04:30) > > 03. Beethoven-Symphony No 1 (00:06:51) > > 04. Bizet-L'Arlesienne (00:03:36) > > 05. Boccherini-Cello Concerto (00:05:55) > > 06. Corelli-Christmas-Pastorale (00:04:10) > > 07. Faure-Pavane (00:07:46) > > 08. Haydn-StringQuartet Op.76No.4 (00:05:35) > > 09. Marcello-Oboe Concerto (00:04:48) > > 10. Mendelssohn-On Wings Of Song (00:04:38) > > 11. Mozart-Piano Concerto K.467 (00:06:21) > > 12. Mozart-Salzburg Symphony K138 (00:03:54) > > 13. Tchaikovsky-Chanson Triste (00:03:00) > > > > Album : Popular Classics 1 > > 01. Beethoven - Romance in F (00:06:25) > > 02. Chopin - Waltz in C# minor (00:03:22) > > 03. Chopin-Nocturne in B Flat Min (00:05:25) > > 04. Faure-Song Without Words No. (00:02:19) > > 05. Handel - Passaccaglia (00:04:05) > > 06. Haydn - Surprise Symphony(2nd (00:07:21) > > 07. Liszt - Consolation No. 5 (00:03:13) > > 08. Mendelssohn - Wedding March (00:04:46) > > 09. Schumann - Pleading Child (00:01:36) > > > > Album : Popular Classics 2 > > 01. Beethoven - Fur Elise (00:02:47) > > 02. Beethoven - Minuet in G (00:02:13) > > 03. Beethoven - Moonlight Sonata (00:05:39) > > 04. Bizet-Intermezzo(Carmen Suite (00:02:58) > > 05. Brahms - Hungarian Dance No. (00:02:51) > > 06. Grieg - Anitra's Dance (00:03:39) > > 07. Schubert - Serenade (00:03:35) > > 08. Strauss -Thunder and Lightnin (00:03:17) > > 09. Strauss-DieFledermaus Overtur (00:08:42) > > > > Album : Popular Classics 3 > > 01. Bach - Prelude in C (00:02:10) > > 02. Beethoven - Symphony No. 5 (00:06:36) > > 03. Bizet - Intermezzo from Carme (00:03:06) > > 04. Bizet - Song of Toreadors (00:02:45) > > 05. Brahms - Hungarian No.5 (00:03:00) > > 06. Dvorak - New World Sym.(4th) (00:11:57) > > 07. Grieg - Anitra's Dance (00:03:47) > > 08. Mozart - Marriage of Figaro (00:04:42) > > 09. Strauss - Blue Danube (00:08:50) > > 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) > > > > Album : Popular Classics 4 > > 01. Bach - Air On The G String (00:06:00) > > 02. Bizet - Aragonaise from Carme (00:02:34) > > 03. Bizet-Carillon from L'Arlesie (00:04:52) > > 04. Chopin - Fantasie Impromptu (00:05:00) > > 05. Chopin - Minute Waltz (00:01:56) > > 06. Chopin - Prelude in A (00:00:58) > > 07. Chopin - Waltz in A Flat (00:03:55) > > 08. Chopin-Etude in D Op.10 No.3 (00:04:17) > > 09. Debussy - 1st Arabesque (00:03:38) > > 10. Delibes - Coppelia Suite (00:02:50) > > 11. Saint-Saens - The Swan (00:03:24) > > 12. Schubert - Moments Musical (00:01:57) > > 13. Schubert - Trout Quintet (00:08:35) > > 14. Schumann - Warum (00:02:34) > > 15. Tchaikovsky -Chanson Triste (00:02:45) > > 16. Tchaikovsky-Dance of the Swan (00:01:49) > > > > Album : Popular Classics 5 > > 01. Brahms - Waltz in A Flat (00:01:44) > > 02. Chopin - Raindrop Prelude (00:04:47) > > 03. Debussy - Clair De Lune (00:04:33) > > 04. Debussy-Girl With Flaxen Hair (00:02:36) > > 05. Dvorak - Humoresque (00:02:46) > > 06. Glinka - Russlan and Ludmilla (00:05:47) > > 07. Gossec - Gavotte In D (00:01:47) > > 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) > > 09. Massanet-Meditation from Thai (00:06:02) > > 10. Rubinstein-Melody in F (00:03:49) > > 11. Schumann - Traumerie (00:02:51) > > 12. Strauss - Pizzicato Polka (00:02:59) > > 13. Strauss - Radetzky March (00:02:27) > > 14. Suppe - Light Calvary Overtur (00:07:34) > > 15. Tchaikovsky - Swan Lake(Scene (00:02:57) > > > > Album : Rarities > > 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) > > 02. Beat Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) > > 03. Boogie Woogie Bugle Boy - The Andrew Sisters (00:02:41) > > 04. Don't Fence Me In - The Andrew Sisters (00:03:00) > > 05. Hit The Road - The Andrew Sisters (00:02:33) > > 06. I Love You Much Too Much - The Andrew Sisters (00:02:59) > > 07. Long Time No See - The Andrew Sisters (00:03:09) > > 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) > > 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters (00:02:38) > > 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters > (00:02:53) > > > > Album : Scott Joplin: Piano Rags > > 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) > > 02. Country Club Ragtime Two Step - Joshua Rifkin (00:04:58) > > 03. Elite Syncopations - Joshua Rifkin (00:03:02) > > 04. Euphonic Sounds A Syncopated Novelty - Joshua Rifkin (00:03:58) > > 05. Fig Leaf Rag - Joshua Rifkin (00:04:42) > > 06. Gladiolus Rag - Joshua Rifkin (00:04:29) > > 07. Magnetic Rag Syncopations Classiques - Joshua Rifkin (00:05:13) > > 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) > > 09. Paragon Rag - Joshua Rifkin (00:03:49) > > 10. Pine Apple Rag - Joshua Rifkin (00:03:30) > > 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) > > 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) > > 13. Stoptime Rag - Joshua Rifkin (00:02:56) > > 14. The Cascades A Rag - Joshua Rifkin (00:03:09) > > 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) > > 16. The Ragtime Dance - Joshua Rifkin (00:03:18) > > 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) > > > > Album : The Concert In Central Park > > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art Garfunkel > (00:04:09) > > 02. America - Paul Simon Art Garfunkel (00:05:50) > > 03. American Tune - Paul Simon Art Garfunkel (00:04:13) > > 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) > > 05. Boxer - Paul Simon Art Garfunkel (00:03:55) > > 06. Bridge Over Troubled Water - Paul Simon Art Garfunkel (00:02:37) > > 07. Fifty Ways To Leave Your Lover - Paul Simon Art Garfunkel (00:02:19) > > 08. Heart In New York - Paul Simon Art Garfunkel (00:03:22) > > 09. Homeward Bound - Paul Simon Art Garfunkel (00:02:49) > > 10. Kodachrome/Maybellene - Paul Simon Art Garfunkel (00:03:52) > > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > > 12. Me And Julio Down By The Schoolyard - Paul Simon Art Garfunkel > (00:04:48) > > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > > 15. Scarborough Fair - Paul Simon Art Garfunkel (00:04:23) > > 16. Slip Slidin' Away - Paul Simon Art Garfunkel (00:04:56) > > 17. Sound Of Silence - Paul Simon Art Garfunkel (00:04:54) > > 18. Still Crazy After All These Years - Paul Simon Art Garfunkel > (00:02:01) > > 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) > > > > Album : The Liberace Collection > > 01. 12th Street Rag - Liberace (00:02:27) > > 02. Alley Cat - Liberace (00:02:03) > > 03. Beer barrel polka - Liberace (00:01:25) > > 04. Claire De Lune - Liberace (00:05:15) > > 05. Classic concertos - Liberace (00:11:03) > > 06. Exodus - Liberace (00:01:42) > > 07. Footprints On The Moon - Liberace (00:02:46) > > 08. French medley - Liberace (00:04:42) > > 09. How insensitive - Liberace (00:03:05) > > 10. Johnson rag - Liberace (00:02:09) > > 11. Mixed Emotions - Liberace (00:05:05) > > 12. Moon River - Liberace (00:01:33) > > 13. Moonlight Sonata - Liberace (00:06:02) > > 14. Nocturne in E Flat - Liberace (00:02:21) > > 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace (00:04:16) > > 16. Sometime I'm Happy - Liberace (00:03:26) > > 17. Stardust - Liberace (00:04:25) > > 18. Suite: Judy blue eyes - Liberace (00:03:57) > > 19. Third man theme - Liberace (00:01:50) > > 20. Tico - Tico - Liberace (00:01:48) > > > > Album : Voices Of Harmony > > 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) > > 02. Home On The Range - The Mormon Tabernacle Choir (00:03:10) > > 03. How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) > > 04. I Walked Today Where Jesus Walked - The Mormon Tabernacle Choir > (00:04:50) > > 05. I'll Walk With God - The Mormon Tabernacle Choir (00:02:52) > > 06. Love At Home - The Mormon Tabernacle Choir (00:05:31) > > 07. Nearer My God To Thee - The Mormon Tabernacle Choir (00:04:22) > > 08. Ode To Music - The Mormon Tabernacle Choir (00:04:11) > > 09. One Voice - The Mormon Tabernacle Choir (00:02:29) > > 10. Suddenly You're Older - The Mormon Tabernacle Choir (00:04:05) > > 11. Sweet Hour Of Prayer - The Mormon Tabernacle Choir (00:04:00) > > 12. The Long Day Closes - The Mormon Tabernacle Choir (00:03:46) > > 13. The Lost Chord - The Mormon Tabernacle Choir (00:05:06) > > 14. The Wondows Of The World - The Mormon Tabernacle Choir (00:04:08) > > > > Album : Welcome To Hip Hop Country > > 01. Blank - George Lee Jr. & The Crazed Cowboys (00:00:03) > > 02. Bonus - George Lee Jr. & The Crazed Cowboys (00:03:23) > > 03. Deep In The Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) > > 04. Eight Angels From The Sky - George Lee Jr. & The Crazed Cowboys > (00:03:02) > > 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) > > 06. I Never Wanna Make You Cry - George Lee Jr. & The Crazed Cowboys > (00:03:03) > > 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys (00:02:58) > > 08. Keep Your Hands Offa My Stetson - George Lee Jr. & The Crazed Cowboys > (00:02:57) > > 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys (00:03:39) > > 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) > > 11. Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys > (00:03:08) > > 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys (00:03:30) > > 13. Summer Days - George Lee Jr. & The Crazed Cowboys (00:03:27) > > 14. Time To Say Goodbye - George Lee Jr. & The Crazed Cowboys (00:03:02) > > 15. Wake Up And Smell The Coffee - George Lee Jr. & The Crazed Cowboys > (00:03:10) > > 16. Welcome To Hip Hop Country - George Lee Jr. & The Crazed Cowboys > (00:03:02) > > > > Album : Windham Hill Piano Sampler > > 01. A Morning With The Roses- (00:04:36) > > 02. Amy's Song -(00:02:41) > > 03. Consolation- (00:06:32) > > 04. In Flight- (00:06:02) > > 05. In This Small Spot- (00:04:09) > > 06. Listening To Evening -(00:07:02) > > 07. LouAnn -(00:04:21) > > 08. Messenger of the Son- (00:03:16) > > 09. Out To Play- (00:03:44) > > > > Thanks Dave and William for offering. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sep 14 12:01:16 2003 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 14 Sep 2003 12:01:16 -0500 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: Message-ID: <000201c37ae1$d3f2c980$de1811d8@DanWaters> Kathryn, You might want to look at a program called CD Trustee. It's pretty slick at reading CD's, recording tracks, and other stuff. Also, it uses an access db so if you want to do extra stuff of your own you can. I think it's about $20. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kathryn Bassett Sent: Saturday, September 13, 2003 7:38 PM To: dbAdvisors (AccessD) Subject: [AccessD] cataloguing mp3 albums Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry for length of message but I wanted to put in several to show you the general patterns of the data. Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can eliminate those easily before doing the conversion. So, any volunteers to help? Album : 18 Original Greatest Hits 01. All Night Long - Jerry Lee Lewis (00:02:04) 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) 04. Breathless - Jerry Lee Lewis (00:02:43) 05. Crazy Arms - Jerry Lee Lewis (00:02:44) 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) Album : Biggest Hits 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) 04. Fifteen Beers - Johnny Paycheck (00:03:25) 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) Album : Gershwin : Rhapsody - Tilson Thomas 01. An American In Paris - George Gershwin (00:18:37) 02. Funny Face - George Gershwin (00:05:54) 03. Girl Crazy - George Gershwin (00:05:45) 04. Let 'Em Eat Cake - George Gershwin (00:08:18) 05. Of Thee I Sing - George Gershwin (00:04:40) 06. Oh, Kay - George Gershwin (00:07:11) 07. Rhapsody In Blue - George Gershwin (00:13:46) 08. Strike Up The Band - George Gershwin (00:07:11) Album : Messiah Highlights 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) Album : The Concert In Central Park 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) 02. America - Paul Simon - Art Garfunkel (00:05:50) 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From serbach at new.rr.com Sun Sep 14 12:08:23 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Sun, 14 Sep 2003 12:08:23 -0500 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: Message-ID: <002001c37ae2$d05959a0$330ad018@W2k> John, >> And I DREAMED of having a VAX of my own. << Heck, for a while, there, in 1983-84 I dreamed about owning a DEC Pro 350, a PDP-11 in a desktop case. I worked at that time for a company that developed DEC software. The VP of the company was one of the diehards who still worked on PDP-8s. He even made revisions to the operating system...by himself! Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. From andy at minstersystems.co.uk Sun Sep 14 13:39:08 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 14 Sep 2003 19:39:08 +0100 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: <006401c37ae0$d259a860$dd2f0a44@bcsext6137> Message-ID: <012a01c37aef$7e3d8800$b274d0d5@minster33c3r25> Dave I'm afraid there's a (necessary) limit on sizes of posts, so sending stuff direct as you have done is the only way to do this. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dave sharpe > Sent: 14 September 2003 17:54 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] cataloguing mp3 albums > > > ( Drew if We can POST please advise how. ) > > Friends > > I didn't see a way to POST files for the list. > > I have sent the MDB directly to Kathryn. > > Assuming that We can't; if any one would > like a copy, let Me know and I'll send You > a copy directly ( zip is only 35K ). > > Dave > > ----- Original Message ----- > From: "dave sharpe" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, September 14, 2003 9:50 AM > Subject: Re: [AccessD] cataloguing mp3 albums > > > > Kathryn > > > > I have Your listings. I have to run out for a little while. Should > > have > done > > by 13:00 edt > > > > Dave > > > > ----- Original Message ----- > > From: "Kathryn Bassett" > > To: "Access Developers discussion and problem solving" > > > > Sent: Saturday, September 13, 2003 10:51 PM > > Subject: RE: [AccessD] cataloguing mp3 albums > > > > > > > It dawned on me that I don't need to wait til I'm done to > do this. > > > I've > > got a good sampling so that the coding can be done, and I > can always > > do > the > > query again when I'm finished ripping. > > > > > > Album : 18 Original Greatest Hits > > > 01. All Night Long - Jerry Lee Lewis (00:02:04) > > > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > > > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > > > 04. Breathless - Jerry Lee Lewis (00:02:43) > > > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > > > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. > > > Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School > > > Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry > > > Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) > > > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > > > 12. Matchbox - Jerry Lee Lewis (00:01:43) > > > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > > > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > > > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > > > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > > > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > > > 18. Wild One - Jerry Lee Lewis (00:01:48) > > > > > > Album : Biggest Hits > > > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > > > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > > > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > > > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > > > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > > > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny > > > Paycheck > > (00:03:05) > > > 07. She'S All I Got - Johnny Paycheck (00:02:42) > > > 08. Take This Job And Shove It - Johnny Paycheck > (00:03:47) 09. The > > > Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News > > > Just Hit Home Today - Johnny Paycheck (00:02:36) > > > > > > Album : Gershwin : Rhapsody - Tilson Thomas > > > 01. An American In Paris - George Gershwin (00:18:37) > > > 02. Funny Face - George Gershwin (00:05:54) > > > 03. Girl Crazy - George Gershwin (00:05:45) > > > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > > > 05. Of Thee I Sing - George Gershwin (00:04:40) > > > 06. Oh, Kay - George Gershwin (00:07:11) > > > 07. Rhapsody In Blue - George Gershwin (00:13:46) > > > 08. Strike Up The Band - George Gershwin (00:07:11) > > > > > > Album : Greatest Hits > > > 01. A Worried man - Kingston Trio (00:02:54) > > > 02. America - Herb Alpert & The Tijuana Brass (00:02:50) 03. Bad > > > Man's Blunder - Kingston Trio (00:02:40) 04. El Matador - > Kingston > > > Trio (00:02:29) 05. Everglades - Kingston Trio (00:02:23) > > > 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass > > (00:02:13) > > > 07. Greenback Dollar - Kingston Trio (00:02:54) > > > 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) 09. > > > Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) 10. > > > Mexican Shuffle - Herb Alpert & The Tijuana Brass > (00:02:13) 11. MTA > > > - Kingston Trio (00:03:17) 12. Never On Sunday - Herb > Alpert & The > > > Tijuana Brass (00:02:43) 13. Reuben James - Kingston Trio > (00:03:00) > > > 14. Reverand Mr. Black - Kingston Trio (00:03:05) > > > 15. Scotch and Soda - Kingston Trio (00:02:35) > > > 16. South Of The Border - Herb Alpert & The Tijuana Brass > (00:02:11) > > > 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) > > > 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) > > > 19. The Tijuana Jail - Kingston Trio (00:02:52) > > > 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) > > > 21. Tom Dooly - Kingston Trio (00:03:05) > > > 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) > > > 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) > > > 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) > > > > > > Album : Guitar Sampler > > > 01. Andecy - Andrew York (00:04:09) > > > 02. Blue Ridge - Bruce Becvar (00:04:11) > > > 03. Cheyenne - Peter Maunu (00:04:18) > > > 04. Night Crossing - John Doan (00:06:21) > > > 05. No City Lights - James Gordon (00:05:11) > > > 06. On The Way - David Cullen (00:04:18) > > > 07. Prelude From The Bridal Suite - Eric Tingstad > (00:03:09) 08. Sun > > > And Water - Danny Heines (00:05:37) 09. The Emperor's > Choice - Chris > > > Proctor & Paul Machlis (00:04:05) 10. The Handing Down - Edward > > > Gerhard (00:04:03) 11. The Silver Plume Waltz - Bill Mize > (00:03:34) > > > > > > Album : In The Digital Mood > > > 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) 02. > > > Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) 03. In > > > The Mood - Glenn Miller Orchestra (00:03:40) 04. > Kalamazoo - Glenn > > > Miller Orchestra (00:02:42) 05. Little Brown Jug - Glenn Miller > > > Orchestra (00:03:08) 06. Moonlight Serenade - Glenn > Miller Orchestra > > > (00:03:16) 07. Pennsylvania 6-5000 - Glenn Miller Orchestra > > > (00:03:13) 08. St. Louis Blues March - Glenn Miller Orchestra > > > (00:04:19) 09. The American Patrol - Glenn Miller Orchestra > > > (00:03:25) 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) > > > > > > Album : It's A Sunshine Day: The Best Of The Brady Bunch 01. > > > American Pie - The Brady Bunch (00:03:38) 02. Born To Say > Goodbye - > > > The Brady Bunch (00:02:53) 03. Candy (Sugar Shoppe) - The Brady > > > Bunch (00:02:12) 04. Charlotte's Web - The Brady Bunch (00:02:56) > > > 05. Cheyenne - The Brady Bunch (00:03:00) > > > 06. Frosty The Snowman - The Brady Bunch (00:01:48) > > > 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) > > > 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) > > > 09. It's A Sunshine Day - The Brady Bunch (00:02:31) > > > 10. Keep On - The Brady Bunch (00:02:35) > > > 11. Merry Go Round - The Brady Bunch (00:01:58) > > > 12. Promo Intro - The Brady Bunch (00:00:27) > > > 13. Promo Outro - The Brady Bunch (00:00:12) > > > 14. Road To Love - The Brady Bunch (00:03:17) > > > 15. Sweet Sweetheart - The Brady Bunch (00:02:38) > > > 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) > > > 17. Time To Change - The Brady Bunch (00:02:08) > > > 18. Truckin' Back To You - The Brady Bunch (00:02:51) > > > 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch > > (00:02:23) > > > 20. We'll Always Be Friends - The Brady Bunch (00:02:32) > > > > > > Album : Johnny Cash- Greatest Hits Volume 1 > > > 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) 02. Five > > > Feet High And Rising - Johnny Cash (00:01:49) 03. I Walk > The Line - > > > Johnny Cash (00:02:36) 04. It Ain't Me Babe - Johnny Cash > (00:03:04) > > > 05. Jackson - Johnny Cash (00:02:48) > > > 06. Orange Blossom Special - Johnny Cash (00:03:08) > > > 07. Ring Of Fire - Johnny Cash (00:02:39) > > > 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) > > > 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) > > > 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) > > > 11. Understand Your Man - Johnny Cash (00:02:45) > > > > > > Album : Made In U.S.A. > > > 01. 409 - Beach Boys (00:01:59) > > > 02. Barbara Ann - Beach Boys (00:02:04) > > > 03. Be True to Your School - Beach Boys (00:02:07) > > > 04. California Dreamin' - Beach Boys (00:03:10) > > > 05. California Girls - Beach Boys (00:02:36) > > > 06. Caroline, No - Beach Boys (00:02:17) > > > 07. Come Go With Me - Beach Boys (00:02:07) > > > 08. Dance, Dance, Dance - Beach Boys (00:01:58) > > > 09. Do It Again - Beach Boys (00:02:19) > > > 10. Don't Worry Baby - Beach Boys (00:02:42) > > > 11. Fun, Fun, Fun - Beach Boys (00:02:16) > > > 12. Getcha Back - Beach Boys (00:03:01) > > > 13. God Only Knows - Beach Boys (00:02:48) > > > 14. Good Vibrations - Beach Boys (00:03:36) > > > 15. Help Me, Rhonda - Beach Boys (00:02:45) > > > 16. Heroes And Villians - Beach Boys (00:03:37) > > > 17. I Get Around - Beach Boys (00:02:11) > > > 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) > > > 19. Rock And Roll Music - Beach Boys (00:02:28) > > > 20. Sloop John B. - Beach Boys (00:02:55) > > > 21. Surfer Girl - Beach Boys (00:02:23) > > > 22. Surfin' Safari - Beach Boys (00:02:06) > > > 23. Surfin' USA - Beach Boys (00:02:27) > > > 24. When I Grow Up - Beach Boys (00:02:01) > > > 25. Wouldn't It Be Nice - Beach Boys (00:02:22) > > > > > > Album : Messiah Highlights > > > 01. And The Glory Of The Lord - London Philharmonic Orchestra And > > > Chorus > > (00:03:11) > > > 02. Comfort Ye My People - London Philharmonic Orchestra > And Chorus > > (00:07:42) > > > 03. For Unto Us A Child Is Born - London Philharmonic > Orchestra And > Chorus > > (00:04:11) > > > 04. Hallelujah! - London Philharmonic Orchestra And Chorus > > > (00:04:15) 05. I Know That My Redeemer Liveth - London > Philharmonic > > > Orchestra And > > Chorus (00:07:28) > > > 06. Overture - London Philharmonic Orchestra And Chorus > (00:03:21) > > > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus > > (00:03:06) > > > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus > > (00:07:04) > > > > > > Album : Night Music CD 1 > > > 01. Beethoven - Moonlight Sonata (00:05:18) > > > 02. Chopin - Piano Concerto No. 2 (00:09:01) > > > 03. Debussy - Clair de lune (00:05:48) > > > 04. Faure - Sicilienne (00:03:40) > > > 05. Godard - Berceuse (00:05:29) > > > 06. Grieg - To Spring (00:02:12) > > > 07. Haydn-String Quartet Op76 No. (00:05:19) > > > 08. J.S. Bach-Brandenburg Concert (00:05:16) > > > 09. Mozart - Symphony No. 40 (00:07:48) > > > 10. Mozart-Eine kleine Nachtmusik (00:06:07) > > > 11. Pachelbel - Canon (00:04:47) > > > 12. Tchaikovsky - Melodie (00:04:31) > > > 13. Torelli-Trumpet Concerto No.2 (00:02:29) > > > > > > Album : Night Music CD 2 > > > 01. Beethoven-Piano Concerto No. (00:05:40) > > > 02. Debussy-String quartet op. 10 (00:07:59) > > > 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) > > > 04. Handel - Watermusic - Adagio (00:03:06) > > > 05. Handel-Concerto Grosso Op. 6 (00:02:36) > > > 06. Haydn-Symphony No.96-Andante (00:05:08) > > > 07. Mendelssohn- A Midsummer Nigh (00:06:26) > > > 08. Mozart- Flute & Harp Concerto (00:07:35) > > > 09. Shubert- Moment musical (00:05:47) > > > 10. Tchaikovsky-Swan Lake-Andante (00:06:45) > > > 11. Vivaldi - Spring - Largo (00:02:42) > > > > > > Album : Night Music CD 2 > > > 01. Mozart- Piano sonata K.332 (00:05:23) > > > > > > Album : Night Music CD 3 > > > 01. Albinoni-Adagio (00:11:30) > > > 02. Beethoven-Les Adieux (00:04:30) > > > 03. Beethoven-Symphony No 1 (00:06:51) > > > 04. Bizet-L'Arlesienne (00:03:36) > > > 05. Boccherini-Cello Concerto (00:05:55) > > > 06. Corelli-Christmas-Pastorale (00:04:10) > > > 07. Faure-Pavane (00:07:46) > > > 08. Haydn-StringQuartet Op.76No.4 (00:05:35) > > > 09. Marcello-Oboe Concerto (00:04:48) > > > 10. Mendelssohn-On Wings Of Song (00:04:38) > > > 11. Mozart-Piano Concerto K.467 (00:06:21) > > > 12. Mozart-Salzburg Symphony K138 (00:03:54) > > > 13. Tchaikovsky-Chanson Triste (00:03:00) > > > > > > Album : Popular Classics 1 > > > 01. Beethoven - Romance in F (00:06:25) > > > 02. Chopin - Waltz in C# minor (00:03:22) > > > 03. Chopin-Nocturne in B Flat Min (00:05:25) > > > 04. Faure-Song Without Words No. (00:02:19) > > > 05. Handel - Passaccaglia (00:04:05) > > > 06. Haydn - Surprise Symphony(2nd (00:07:21) > > > 07. Liszt - Consolation No. 5 (00:03:13) > > > 08. Mendelssohn - Wedding March (00:04:46) > > > 09. Schumann - Pleading Child (00:01:36) > > > > > > Album : Popular Classics 2 > > > 01. Beethoven - Fur Elise (00:02:47) > > > 02. Beethoven - Minuet in G (00:02:13) > > > 03. Beethoven - Moonlight Sonata (00:05:39) > > > 04. Bizet-Intermezzo(Carmen Suite (00:02:58) > > > 05. Brahms - Hungarian Dance No. (00:02:51) > > > 06. Grieg - Anitra's Dance (00:03:39) > > > 07. Schubert - Serenade (00:03:35) > > > 08. Strauss -Thunder and Lightnin (00:03:17) > > > 09. Strauss-DieFledermaus Overtur (00:08:42) > > > > > > Album : Popular Classics 3 > > > 01. Bach - Prelude in C (00:02:10) > > > 02. Beethoven - Symphony No. 5 (00:06:36) > > > 03. Bizet - Intermezzo from Carme (00:03:06) > > > 04. Bizet - Song of Toreadors (00:02:45) > > > 05. Brahms - Hungarian No.5 (00:03:00) > > > 06. Dvorak - New World Sym.(4th) (00:11:57) > > > 07. Grieg - Anitra's Dance (00:03:47) > > > 08. Mozart - Marriage of Figaro (00:04:42) > > > 09. Strauss - Blue Danube (00:08:50) > > > 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) > > > > > > Album : Popular Classics 4 > > > 01. Bach - Air On The G String (00:06:00) > > > 02. Bizet - Aragonaise from Carme (00:02:34) > > > 03. Bizet-Carillon from L'Arlesie (00:04:52) > > > 04. Chopin - Fantasie Impromptu (00:05:00) > > > 05. Chopin - Minute Waltz (00:01:56) > > > 06. Chopin - Prelude in A (00:00:58) > > > 07. Chopin - Waltz in A Flat (00:03:55) > > > 08. Chopin-Etude in D Op.10 No.3 (00:04:17) > > > 09. Debussy - 1st Arabesque (00:03:38) > > > 10. Delibes - Coppelia Suite (00:02:50) > > > 11. Saint-Saens - The Swan (00:03:24) > > > 12. Schubert - Moments Musical (00:01:57) > > > 13. Schubert - Trout Quintet (00:08:35) > > > 14. Schumann - Warum (00:02:34) > > > 15. Tchaikovsky -Chanson Triste (00:02:45) > > > 16. Tchaikovsky-Dance of the Swan (00:01:49) > > > > > > Album : Popular Classics 5 > > > 01. Brahms - Waltz in A Flat (00:01:44) > > > 02. Chopin - Raindrop Prelude (00:04:47) > > > 03. Debussy - Clair De Lune (00:04:33) > > > 04. Debussy-Girl With Flaxen Hair (00:02:36) > > > 05. Dvorak - Humoresque (00:02:46) > > > 06. Glinka - Russlan and Ludmilla (00:05:47) > > > 07. Gossec - Gavotte In D (00:01:47) > > > 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) > > > 09. Massanet-Meditation from Thai (00:06:02) > > > 10. Rubinstein-Melody in F (00:03:49) > > > 11. Schumann - Traumerie (00:02:51) > > > 12. Strauss - Pizzicato Polka (00:02:59) > > > 13. Strauss - Radetzky March (00:02:27) > > > 14. Suppe - Light Calvary Overtur (00:07:34) > > > 15. Tchaikovsky - Swan Lake(Scene (00:02:57) > > > > > > Album : Rarities > > > 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) > 02. Beat > > > Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) > 03. Boogie > > > Woogie Bugle Boy - The Andrew Sisters (00:02:41) 04. > Don't Fence Me > > > In - The Andrew Sisters (00:03:00) 05. Hit The Road - The Andrew > > > Sisters (00:02:33) 06. I Love You Much Too Much - The > Andrew Sisters > > > (00:02:59) 07. Long Time No See - The Andrew Sisters (00:03:09) > > > 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) > > > 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters > (00:02:38) > > > 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters > > (00:02:53) > > > > > > Album : Scott Joplin: Piano Rags > > > 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) > 02. Country > > > Club Ragtime Two Step - Joshua Rifkin (00:04:58) 03. Elite > > > Syncopations - Joshua Rifkin (00:03:02) 04. Euphonic Sounds A > > > Syncopated Novelty - Joshua Rifkin (00:03:58) 05. Fig Leaf Rag - > > > Joshua Rifkin (00:04:42) 06. Gladiolus Rag - Joshua Rifkin > > > (00:04:29) 07. Magnetic Rag Syncopations Classiques - > Joshua Rifkin > > > (00:05:13) 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) > > > 09. Paragon Rag - Joshua Rifkin (00:03:49) > > > 10. Pine Apple Rag - Joshua Rifkin (00:03:30) > > > 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) > > > 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) > > > 13. Stoptime Rag - Joshua Rifkin (00:02:56) > > > 14. The Cascades A Rag - Joshua Rifkin (00:03:09) > > > 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) > > > 16. The Ragtime Dance - Joshua Rifkin (00:03:18) > > > 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) > > > > > > Album : The Concert In Central Park > > > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art > > > Garfunkel > > (00:04:09) > > > 02. America - Paul Simon Art Garfunkel (00:05:50) > > > 03. American Tune - Paul Simon Art Garfunkel (00:04:13) > > > 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) 05. > > > Boxer - Paul Simon Art Garfunkel (00:03:55) 06. Bridge > Over Troubled > > > Water - Paul Simon Art Garfunkel (00:02:37) 07. Fifty > Ways To Leave > > > Your Lover - Paul Simon Art Garfunkel (00:02:19) 08. Heart In New > > > York - Paul Simon Art Garfunkel (00:03:22) 09. Homeward > Bound - Paul > > > Simon Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul > > > Simon Art Garfunkel (00:03:52) 11. Late In The Evening - > Paul Simon > > > - Art Garfunkel (00:04:22) 12. Me And Julio Down By The > Schoolyard - > > > Paul Simon Art Garfunkel > > (00:04:48) > > > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old > > > Friends - Paul Simon - Art Garfunkel (00:04:33) 15. > Scarborough Fair > > > - Paul Simon Art Garfunkel (00:04:23) 16. Slip Slidin' > Away - Paul > > > Simon Art Garfunkel (00:04:56) 17. Sound Of Silence - > Paul Simon Art > > > Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul > > > Simon Art Garfunkel > > (00:02:01) > > > 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) > > > > > > Album : The Liberace Collection > > > 01. 12th Street Rag - Liberace (00:02:27) > > > 02. Alley Cat - Liberace (00:02:03) > > > 03. Beer barrel polka - Liberace (00:01:25) > > > 04. Claire De Lune - Liberace (00:05:15) > > > 05. Classic concertos - Liberace (00:11:03) > > > 06. Exodus - Liberace (00:01:42) > > > 07. Footprints On The Moon - Liberace (00:02:46) > > > 08. French medley - Liberace (00:04:42) > > > 09. How insensitive - Liberace (00:03:05) > > > 10. Johnson rag - Liberace (00:02:09) > > > 11. Mixed Emotions - Liberace (00:05:05) > > > 12. Moon River - Liberace (00:01:33) > > > 13. Moonlight Sonata - Liberace (00:06:02) > > > 14. Nocturne in E Flat - Liberace (00:02:21) > > > 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace > > > (00:04:16) 16. Sometime I'm Happy - Liberace (00:03:26) > 17. Stardust > > > - Liberace (00:04:25) 18. Suite: Judy blue eyes - Liberace > > > (00:03:57) 19. Third man theme - Liberace (00:01:50) > > > 20. Tico - Tico - Liberace (00:01:48) > > > > > > Album : Voices Of Harmony > > > 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) > > > 02. Home On The Range - The Mormon Tabernacle Choir > (00:03:10) 03. > > > How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) 04. I > > > Walked Today Where Jesus Walked - The Mormon Tabernacle Choir > > (00:04:50) > > > 05. I'll Walk With God - The Mormon Tabernacle Choir > (00:02:52) 06. > > > Love At Home - The Mormon Tabernacle Choir (00:05:31) 07. > Nearer My > > > God To Thee - The Mormon Tabernacle Choir (00:04:22) 08. Ode To > > > Music - The Mormon Tabernacle Choir (00:04:11) 09. One > Voice - The > > > Mormon Tabernacle Choir (00:02:29) 10. Suddenly You're > Older - The > > > Mormon Tabernacle Choir (00:04:05) 11. Sweet Hour Of Prayer - The > > > Mormon Tabernacle Choir (00:04:00) 12. The Long Day Closes - The > > > Mormon Tabernacle Choir (00:03:46) 13. The Lost Chord - > The Mormon > > > Tabernacle Choir (00:05:06) 14. The Wondows Of The World - The > > > Mormon Tabernacle Choir (00:04:08) > > > > > > Album : Welcome To Hip Hop Country > > > 01. Blank - George Lee Jr. & The Crazed Cowboys > (00:00:03) 02. Bonus > > > - George Lee Jr. & The Crazed Cowboys (00:03:23) 03. Deep In The > > > Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) 04. Eight > > > Angels From The Sky - George Lee Jr. & The Crazed Cowboys > > (00:03:02) > > > 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) > > > 06. I Never Wanna Make You Cry - George Lee Jr. & The > Crazed Cowboys > > (00:03:03) > > > 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys > > > (00:02:58) 08. Keep Your Hands Offa My Stetson - George Lee Jr. & > > > The Crazed > Cowboys > > (00:02:57) > > > 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys > (00:03:39) > > > 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) 11. > > > Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys > > (00:03:08) > > > 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys > > > (00:03:30) 13. Summer Days - George Lee Jr. & The Crazed Cowboys > > > (00:03:27) 14. Time To Say Goodbye - George Lee Jr. & The Crazed > > > Cowboys (00:03:02) 15. Wake Up And Smell The Coffee - > George Lee Jr. > > > & The Crazed Cowboys > > (00:03:10) > > > 16. Welcome To Hip Hop Country - George Lee Jr. & The > Crazed Cowboys > > (00:03:02) > > > > > > Album : Windham Hill Piano Sampler > > > 01. A Morning With The Roses- (00:04:36) > > > 02. Amy's Song -(00:02:41) > > > 03. Consolation- (00:06:32) > > > 04. In Flight- (00:06:02) > > > 05. In This Small Spot- (00:04:09) > > > 06. Listening To Evening -(00:07:02) > > > 07. LouAnn -(00:04:21) > > > 08. Messenger of the Son- (00:03:16) > > > 09. Out To Play- (00:03:44) > > > > > > Thanks Dave and William for offering. > > > > > > -- > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > "Genealogy is my bag" "GH is my soap" > > > kathryn at bassett.net > > > http://bassett.net > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From hsimpson88 at hotmail.com Sun Sep 14 13:42:06 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sun, 14 Sep 2003 12:42:06 -0600 Subject: [AccessD] Where False, was listbox with rowsource type Message-ID: I had a look at Gustav's suggestion for filling a listbox with the field names from three different tables to test a few of the assumptions and to do some timing tests. I chose 3 linked tables, all located on a local drive tbl1: 33 fields and 1640 records tbl2: 7 fields and 451 records tbl3: 5 fields and 15 records I created a cross product query: Select tbl1.*, tbl2.*, tbl3.* When opened in datasheet view, it appeared in under a second. When I hit the new record button, it took over a minute for the datasheet to display the new record line and the row count showed 11,094,600 records which equals 1640 * 451 * 15 as expected. I then modified the query to add the 'Where False' condition. When I opened the query in datasheet view, the wait was 37 seconds. I then timed the no condition cross product and the time was 87 seconds. The next modification was to add a condtion that the autonumber ID of tbl1 (the largest) be equal to -1. I had to create a test module that used timeGetTime to determine that this took less than 10 milliseconds. Another useful modification was to join the tables on similar type fields with different data on indexed fields. For example, joining the LastName field of tbl1 to the Address field of tbl2 to the ZipCode field of tbl3 also returned no records in under 10 milliseconds. I quit testing at this point but it was my assumption that setting an impossible condition on a known invalid numeric key on the table with the smallest number of rows would result in the quickest return of no records. Bottom line, 'Where False' seems not to take advantage of available indexes and seems to require some kind of join processing otherwise there is no way three quite tiny local tables would require 37 seconds to open a querydef. Even the full cross product query opened in under a second though without showing the (irrelevant) record count. Getting back to the callback vs saved querydef fieldlist approaches. I created two forms. Each had a single list and no other controls. The first used a fast querydef (pk of the largest table = -1) and the second used a callback function. I then wrote a test module as follows: Public Declare Function timeGetTime Lib "Winmm" () As Long Sub loadtimes() Dim lngt As Long lngt = timeGetTime DoCmd.OpenForm ("QueryDefFieldList") MsgBox timeGetTime - lngt lngt = timeGetTime DoCmd.OpenForm ("CallBack") MsgBox timeGetTime - lngt End Sub The callback function and list fill procedure using a module level string array was in the code behind the CallBack version of the form as shown below: Dim strVelden() As String Sub setData() Dim db As DAO.Database Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim Ar Dim lngI As Long Dim lngJ As Long Dim ArStr() As String Ar = Array("tb1", "tbl2", "tbl3") Set db = CurrentDb For lngI = 0 To UBound(Ar) Set tdf = db(Ar(lngI)) ReDim Preserve strVelden(lngJ + tdf.Fields.Count - 1) For Each fld In tdf.Fields strVelden(lngJ) = fld.Name lngJ = lngJ + 1 Next Next Set fld = Nothing Set tdf = Nothing Set db = Nothing End Sub Private Function ListMeetVelden(fld As Control, ID As Variant, row As Variant, col As Variant, code As Variant) As Variant Dim varRetVal As Variant Select Case code Case acLBInitialize setData varRetVal = 1 Case acLBOpen varRetVal = Timer 'Unique ID for control Case acLBGetRowCount varRetVal = UBound(strVelden) + 1 Case acLBGetColumnCount varRetVal = 1 Case acLBGetColumnWidth varRetVal = -1 'Default of -1 uses default Column Width Case acLBGetValue varRetVal = strVelden(row) Case acLBEnd End Select ListMeetVelden = varRetVal End Function I then ran the test procedure a few times and it showed that it made little or no difference whether the saved querydef had conditions on it or not, it only pulled the field names from the querydef (which was created as a local querydef in the FE). I had expected that the fieldlist method would be faster than the callback but on initial load, the callback consistently loaded twice as fast as the fieldlist. Reloading, the callback remained twice as fast, ranging from 1.2 times to 4.7 times as fast. Times for both methods ranged from 12 to 90 milliseconds and the slowest load I have for an initial load using a field list was 150 milliseconds. A few closing notes: The test code I wrote does not have proper error handling but does allow the error on the list filler to return the specific table name on which an error occurs. The test code does not take into account array dimensions should a tabledef have no fields but this is not production code and this can be readily accomodated. Using an array allows your code to sort field names and it allows you to concatenate the table name as a prefix when the array is written. To do this with a field list you would have to specify all the names in order in the querydef and it could not automatically take account of revisions in the table design. If you write a proper error handler and you use an invalid table name, or your table names change, the resulting error using a querydef field list is an Access UI error whereas the callback version error is easily trapped, logged and handled. Using a saved querydef is another object in the database window that adds to the number of objects that need to be refreshed when currentdb is called explictly (or implicitly by Access). Using a saved querydef adds another object that someone maintaining the database down the road is going to wonder about where or whether it is required whereas the callback code is obvious to anyone competent in their use. The original code erased the array in the Case acLBEnd and this appears to free up some resources but Access requires continued access to the list data when the list is scrolled. The array cannot be erased until the form unloads or closes. It is possible to use Databases(0)(0), a global database variable or a function that returns a static pointer to a database to improve on the callback performance when used in a LAN environment and this optimization is neither available nor necessary using a fieldlist approach, but it might make the performance advantage even greater in such an environment and should certainly make it no less. Although Gustav's suggestion is a nice simple approach that I hadn't considered and it is quite fast, it is neither quite as fast nor as flexible as using a callback. Another approach someone may want to try is parsing the msysQueries table but I believe that using DAO with a callback remains one of the best approaches. Hen _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From davesharpe2 at cox.net Sun Sep 14 13:47:07 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sun, 14 Sep 2003 14:47:07 -0400 Subject: [AccessD] cataloguing mp3 albums References: <012a01c37aef$7e3d8800$b274d0d5@minster33c3r25> Message-ID: <014c01c37af0$995c2b40$dd2f0a44@bcsext6137> Andy I understand completely. Dave ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, September 14, 2003 2:39 PM Subject: RE: [AccessD] cataloguing mp3 albums > Dave > I'm afraid there's a (necessary) limit on sizes of posts, so sending > stuff direct as you have done is the only way to do this. > > Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dave sharpe > > Sent: 14 September 2003 17:54 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] cataloguing mp3 albums > > > > > > ( Drew if We can POST please advise how. ) > > > > Friends > > > > I didn't see a way to POST files for the list. > > > > I have sent the MDB directly to Kathryn. > > > > Assuming that We can't; if any one would > > like a copy, let Me know and I'll send You > > a copy directly ( zip is only 35K ). > > > > Dave > > > > ----- Original Message ----- > > From: "dave sharpe" > > To: "Access Developers discussion and problem solving" > > > > Sent: Sunday, September 14, 2003 9:50 AM > > Subject: Re: [AccessD] cataloguing mp3 albums > > > > > > > Kathryn > > > > > > I have Your listings. I have to run out for a little while. Should > > > have > > done > > > by 13:00 edt > > > > > > Dave > > > > > > ----- Original Message ----- > > > From: "Kathryn Bassett" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Saturday, September 13, 2003 10:51 PM > > > Subject: RE: [AccessD] cataloguing mp3 albums > > > > > > > > > > It dawned on me that I don't need to wait til I'm done to > > do this. > > > > I've > > > got a good sampling so that the coding can be done, and I > > can always > > > do > > the > > > query again when I'm finished ripping. > > > > > > > > Album : 18 Original Greatest Hits > > > > 01. All Night Long - Jerry Lee Lewis (00:02:04) > > > > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > > > > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > > > > 04. Breathless - Jerry Lee Lewis (00:02:43) > > > > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > > > > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. > > > > Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School > > > > Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry > > > > Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) > > > > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > > > > 12. Matchbox - Jerry Lee Lewis (00:01:43) > > > > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > > > > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > > > > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > > > > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > > > > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > > > > 18. Wild One - Jerry Lee Lewis (00:01:48) > > > > > > > > Album : Biggest Hits > > > > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > > > > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > > > > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > > > > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > > > > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > > > > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny > > > > Paycheck > > > (00:03:05) > > > > 07. She'S All I Got - Johnny Paycheck (00:02:42) > > > > 08. Take This Job And Shove It - Johnny Paycheck > > (00:03:47) 09. The > > > > Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News > > > > Just Hit Home Today - Johnny Paycheck (00:02:36) > > > > > > > > Album : Gershwin : Rhapsody - Tilson Thomas > > > > 01. An American In Paris - George Gershwin (00:18:37) > > > > 02. Funny Face - George Gershwin (00:05:54) > > > > 03. Girl Crazy - George Gershwin (00:05:45) > > > > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > > > > 05. Of Thee I Sing - George Gershwin (00:04:40) > > > > 06. Oh, Kay - George Gershwin (00:07:11) > > > > 07. Rhapsody In Blue - George Gershwin (00:13:46) > > > > 08. Strike Up The Band - George Gershwin (00:07:11) > > > > > > > > Album : Greatest Hits > > > > 01. A Worried man - Kingston Trio (00:02:54) > > > > 02. America - Herb Alpert & The Tijuana Brass (00:02:50) 03. Bad > > > > Man's Blunder - Kingston Trio (00:02:40) 04. El Matador - > > Kingston > > > > Trio (00:02:29) 05. Everglades - Kingston Trio (00:02:23) > > > > 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass > > > (00:02:13) > > > > 07. Greenback Dollar - Kingston Trio (00:02:54) > > > > 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) 09. > > > > Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) 10. > > > > Mexican Shuffle - Herb Alpert & The Tijuana Brass > > (00:02:13) 11. MTA > > > > - Kingston Trio (00:03:17) 12. Never On Sunday - Herb > > Alpert & The > > > > Tijuana Brass (00:02:43) 13. Reuben James - Kingston Trio > > (00:03:00) > > > > 14. Reverand Mr. Black - Kingston Trio (00:03:05) > > > > 15. Scotch and Soda - Kingston Trio (00:02:35) > > > > 16. South Of The Border - Herb Alpert & The Tijuana Brass > > (00:02:11) > > > > 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) > > > > 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) > > > > 19. The Tijuana Jail - Kingston Trio (00:02:52) > > > > 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) > > > > 21. Tom Dooly - Kingston Trio (00:03:05) > > > > 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) > > > > 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) > > > > 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) > > > > > > > > Album : Guitar Sampler > > > > 01. Andecy - Andrew York (00:04:09) > > > > 02. Blue Ridge - Bruce Becvar (00:04:11) > > > > 03. Cheyenne - Peter Maunu (00:04:18) > > > > 04. Night Crossing - John Doan (00:06:21) > > > > 05. No City Lights - James Gordon (00:05:11) > > > > 06. On The Way - David Cullen (00:04:18) > > > > 07. Prelude From The Bridal Suite - Eric Tingstad > > (00:03:09) 08. Sun > > > > And Water - Danny Heines (00:05:37) 09. The Emperor's > > Choice - Chris > > > > Proctor & Paul Machlis (00:04:05) 10. The Handing Down - Edward > > > > Gerhard (00:04:03) 11. The Silver Plume Waltz - Bill Mize > > (00:03:34) > > > > > > > > Album : In The Digital Mood > > > > 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) 02. > > > > Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) 03. In > > > > The Mood - Glenn Miller Orchestra (00:03:40) 04. > > Kalamazoo - Glenn > > > > Miller Orchestra (00:02:42) 05. Little Brown Jug - Glenn Miller > > > > Orchestra (00:03:08) 06. Moonlight Serenade - Glenn > > Miller Orchestra > > > > (00:03:16) 07. Pennsylvania 6-5000 - Glenn Miller Orchestra > > > > (00:03:13) 08. St. Louis Blues March - Glenn Miller Orchestra > > > > (00:04:19) 09. The American Patrol - Glenn Miller Orchestra > > > > (00:03:25) 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) > > > > > > > > Album : It's A Sunshine Day: The Best Of The Brady Bunch 01. > > > > American Pie - The Brady Bunch (00:03:38) 02. Born To Say > > Goodbye - > > > > The Brady Bunch (00:02:53) 03. Candy (Sugar Shoppe) - The Brady > > > > Bunch (00:02:12) 04. Charlotte's Web - The Brady Bunch (00:02:56) > > > > 05. Cheyenne - The Brady Bunch (00:03:00) > > > > 06. Frosty The Snowman - The Brady Bunch (00:01:48) > > > > 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) > > > > 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) > > > > 09. It's A Sunshine Day - The Brady Bunch (00:02:31) > > > > 10. Keep On - The Brady Bunch (00:02:35) > > > > 11. Merry Go Round - The Brady Bunch (00:01:58) > > > > 12. Promo Intro - The Brady Bunch (00:00:27) > > > > 13. Promo Outro - The Brady Bunch (00:00:12) > > > > 14. Road To Love - The Brady Bunch (00:03:17) > > > > 15. Sweet Sweetheart - The Brady Bunch (00:02:38) > > > > 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) > > > > 17. Time To Change - The Brady Bunch (00:02:08) > > > > 18. Truckin' Back To You - The Brady Bunch (00:02:51) > > > > 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch > > > (00:02:23) > > > > 20. We'll Always Be Friends - The Brady Bunch (00:02:32) > > > > > > > > Album : Johnny Cash- Greatest Hits Volume 1 > > > > 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) 02. Five > > > > Feet High And Rising - Johnny Cash (00:01:49) 03. I Walk > > The Line - > > > > Johnny Cash (00:02:36) 04. It Ain't Me Babe - Johnny Cash > > (00:03:04) > > > > 05. Jackson - Johnny Cash (00:02:48) > > > > 06. Orange Blossom Special - Johnny Cash (00:03:08) > > > > 07. Ring Of Fire - Johnny Cash (00:02:39) > > > > 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) > > > > 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) > > > > 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) > > > > 11. Understand Your Man - Johnny Cash (00:02:45) > > > > > > > > Album : Made In U.S.A. > > > > 01. 409 - Beach Boys (00:01:59) > > > > 02. Barbara Ann - Beach Boys (00:02:04) > > > > 03. Be True to Your School - Beach Boys (00:02:07) > > > > 04. California Dreamin' - Beach Boys (00:03:10) > > > > 05. California Girls - Beach Boys (00:02:36) > > > > 06. Caroline, No - Beach Boys (00:02:17) > > > > 07. Come Go With Me - Beach Boys (00:02:07) > > > > 08. Dance, Dance, Dance - Beach Boys (00:01:58) > > > > 09. Do It Again - Beach Boys (00:02:19) > > > > 10. Don't Worry Baby - Beach Boys (00:02:42) > > > > 11. Fun, Fun, Fun - Beach Boys (00:02:16) > > > > 12. Getcha Back - Beach Boys (00:03:01) > > > > 13. God Only Knows - Beach Boys (00:02:48) > > > > 14. Good Vibrations - Beach Boys (00:03:36) > > > > 15. Help Me, Rhonda - Beach Boys (00:02:45) > > > > 16. Heroes And Villians - Beach Boys (00:03:37) > > > > 17. I Get Around - Beach Boys (00:02:11) > > > > 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) > > > > 19. Rock And Roll Music - Beach Boys (00:02:28) > > > > 20. Sloop John B. - Beach Boys (00:02:55) > > > > 21. Surfer Girl - Beach Boys (00:02:23) > > > > 22. Surfin' Safari - Beach Boys (00:02:06) > > > > 23. Surfin' USA - Beach Boys (00:02:27) > > > > 24. When I Grow Up - Beach Boys (00:02:01) > > > > 25. Wouldn't It Be Nice - Beach Boys (00:02:22) > > > > > > > > Album : Messiah Highlights > > > > 01. And The Glory Of The Lord - London Philharmonic Orchestra And > > > > Chorus > > > (00:03:11) > > > > 02. Comfort Ye My People - London Philharmonic Orchestra > > And Chorus > > > (00:07:42) > > > > 03. For Unto Us A Child Is Born - London Philharmonic > > Orchestra And > > Chorus > > > (00:04:11) > > > > 04. Hallelujah! - London Philharmonic Orchestra And Chorus > > > > (00:04:15) 05. I Know That My Redeemer Liveth - London > > Philharmonic > > > > Orchestra And > > > Chorus (00:07:28) > > > > 06. Overture - London Philharmonic Orchestra And Chorus > > (00:03:21) > > > > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus > > > (00:03:06) > > > > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus > > > (00:07:04) > > > > > > > > Album : Night Music CD 1 > > > > 01. Beethoven - Moonlight Sonata (00:05:18) > > > > 02. Chopin - Piano Concerto No. 2 (00:09:01) > > > > 03. Debussy - Clair de lune (00:05:48) > > > > 04. Faure - Sicilienne (00:03:40) > > > > 05. Godard - Berceuse (00:05:29) > > > > 06. Grieg - To Spring (00:02:12) > > > > 07. Haydn-String Quartet Op76 No. (00:05:19) > > > > 08. J.S. Bach-Brandenburg Concert (00:05:16) > > > > 09. Mozart - Symphony No. 40 (00:07:48) > > > > 10. Mozart-Eine kleine Nachtmusik (00:06:07) > > > > 11. Pachelbel - Canon (00:04:47) > > > > 12. Tchaikovsky - Melodie (00:04:31) > > > > 13. Torelli-Trumpet Concerto No.2 (00:02:29) > > > > > > > > Album : Night Music CD 2 > > > > 01. Beethoven-Piano Concerto No. (00:05:40) > > > > 02. Debussy-String quartet op. 10 (00:07:59) > > > > 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) > > > > 04. Handel - Watermusic - Adagio (00:03:06) > > > > 05. Handel-Concerto Grosso Op. 6 (00:02:36) > > > > 06. Haydn-Symphony No.96-Andante (00:05:08) > > > > 07. Mendelssohn- A Midsummer Nigh (00:06:26) > > > > 08. Mozart- Flute & Harp Concerto (00:07:35) > > > > 09. Shubert- Moment musical (00:05:47) > > > > 10. Tchaikovsky-Swan Lake-Andante (00:06:45) > > > > 11. Vivaldi - Spring - Largo (00:02:42) > > > > > > > > Album : Night Music CD 2 > > > > 01. Mozart- Piano sonata K.332 (00:05:23) > > > > > > > > Album : Night Music CD 3 > > > > 01. Albinoni-Adagio (00:11:30) > > > > 02. Beethoven-Les Adieux (00:04:30) > > > > 03. Beethoven-Symphony No 1 (00:06:51) > > > > 04. Bizet-L'Arlesienne (00:03:36) > > > > 05. Boccherini-Cello Concerto (00:05:55) > > > > 06. Corelli-Christmas-Pastorale (00:04:10) > > > > 07. Faure-Pavane (00:07:46) > > > > 08. Haydn-StringQuartet Op.76No.4 (00:05:35) > > > > 09. Marcello-Oboe Concerto (00:04:48) > > > > 10. Mendelssohn-On Wings Of Song (00:04:38) > > > > 11. Mozart-Piano Concerto K.467 (00:06:21) > > > > 12. Mozart-Salzburg Symphony K138 (00:03:54) > > > > 13. Tchaikovsky-Chanson Triste (00:03:00) > > > > > > > > Album : Popular Classics 1 > > > > 01. Beethoven - Romance in F (00:06:25) > > > > 02. Chopin - Waltz in C# minor (00:03:22) > > > > 03. Chopin-Nocturne in B Flat Min (00:05:25) > > > > 04. Faure-Song Without Words No. (00:02:19) > > > > 05. Handel - Passaccaglia (00:04:05) > > > > 06. Haydn - Surprise Symphony(2nd (00:07:21) > > > > 07. Liszt - Consolation No. 5 (00:03:13) > > > > 08. Mendelssohn - Wedding March (00:04:46) > > > > 09. Schumann - Pleading Child (00:01:36) > > > > > > > > Album : Popular Classics 2 > > > > 01. Beethoven - Fur Elise (00:02:47) > > > > 02. Beethoven - Minuet in G (00:02:13) > > > > 03. Beethoven - Moonlight Sonata (00:05:39) > > > > 04. Bizet-Intermezzo(Carmen Suite (00:02:58) > > > > 05. Brahms - Hungarian Dance No. (00:02:51) > > > > 06. Grieg - Anitra's Dance (00:03:39) > > > > 07. Schubert - Serenade (00:03:35) > > > > 08. Strauss -Thunder and Lightnin (00:03:17) > > > > 09. Strauss-DieFledermaus Overtur (00:08:42) > > > > > > > > Album : Popular Classics 3 > > > > 01. Bach - Prelude in C (00:02:10) > > > > 02. Beethoven - Symphony No. 5 (00:06:36) > > > > 03. Bizet - Intermezzo from Carme (00:03:06) > > > > 04. Bizet - Song of Toreadors (00:02:45) > > > > 05. Brahms - Hungarian No.5 (00:03:00) > > > > 06. Dvorak - New World Sym.(4th) (00:11:57) > > > > 07. Grieg - Anitra's Dance (00:03:47) > > > > 08. Mozart - Marriage of Figaro (00:04:42) > > > > 09. Strauss - Blue Danube (00:08:50) > > > > 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) > > > > > > > > Album : Popular Classics 4 > > > > 01. Bach - Air On The G String (00:06:00) > > > > 02. Bizet - Aragonaise from Carme (00:02:34) > > > > 03. Bizet-Carillon from L'Arlesie (00:04:52) > > > > 04. Chopin - Fantasie Impromptu (00:05:00) > > > > 05. Chopin - Minute Waltz (00:01:56) > > > > 06. Chopin - Prelude in A (00:00:58) > > > > 07. Chopin - Waltz in A Flat (00:03:55) > > > > 08. Chopin-Etude in D Op.10 No.3 (00:04:17) > > > > 09. Debussy - 1st Arabesque (00:03:38) > > > > 10. Delibes - Coppelia Suite (00:02:50) > > > > 11. Saint-Saens - The Swan (00:03:24) > > > > 12. Schubert - Moments Musical (00:01:57) > > > > 13. Schubert - Trout Quintet (00:08:35) > > > > 14. Schumann - Warum (00:02:34) > > > > 15. Tchaikovsky -Chanson Triste (00:02:45) > > > > 16. Tchaikovsky-Dance of the Swan (00:01:49) > > > > > > > > Album : Popular Classics 5 > > > > 01. Brahms - Waltz in A Flat (00:01:44) > > > > 02. Chopin - Raindrop Prelude (00:04:47) > > > > 03. Debussy - Clair De Lune (00:04:33) > > > > 04. Debussy-Girl With Flaxen Hair (00:02:36) > > > > 05. Dvorak - Humoresque (00:02:46) > > > > 06. Glinka - Russlan and Ludmilla (00:05:47) > > > > 07. Gossec - Gavotte In D (00:01:47) > > > > 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) > > > > 09. Massanet-Meditation from Thai (00:06:02) > > > > 10. Rubinstein-Melody in F (00:03:49) > > > > 11. Schumann - Traumerie (00:02:51) > > > > 12. Strauss - Pizzicato Polka (00:02:59) > > > > 13. Strauss - Radetzky March (00:02:27) > > > > 14. Suppe - Light Calvary Overtur (00:07:34) > > > > 15. Tchaikovsky - Swan Lake(Scene (00:02:57) > > > > > > > > Album : Rarities > > > > 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) > > 02. Beat > > > > Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) > > 03. Boogie > > > > Woogie Bugle Boy - The Andrew Sisters (00:02:41) 04. > > Don't Fence Me > > > > In - The Andrew Sisters (00:03:00) 05. Hit The Road - The Andrew > > > > Sisters (00:02:33) 06. I Love You Much Too Much - The > > Andrew Sisters > > > > (00:02:59) 07. Long Time No See - The Andrew Sisters (00:03:09) > > > > 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) > > > > 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters > > (00:02:38) > > > > 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters > > > (00:02:53) > > > > > > > > Album : Scott Joplin: Piano Rags > > > > 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) > > 02. Country > > > > Club Ragtime Two Step - Joshua Rifkin (00:04:58) 03. Elite > > > > Syncopations - Joshua Rifkin (00:03:02) 04. Euphonic Sounds A > > > > Syncopated Novelty - Joshua Rifkin (00:03:58) 05. Fig Leaf Rag - > > > > Joshua Rifkin (00:04:42) 06. Gladiolus Rag - Joshua Rifkin > > > > (00:04:29) 07. Magnetic Rag Syncopations Classiques - > > Joshua Rifkin > > > > (00:05:13) 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) > > > > 09. Paragon Rag - Joshua Rifkin (00:03:49) > > > > 10. Pine Apple Rag - Joshua Rifkin (00:03:30) > > > > 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) > > > > 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) > > > > 13. Stoptime Rag - Joshua Rifkin (00:02:56) > > > > 14. The Cascades A Rag - Joshua Rifkin (00:03:09) > > > > 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) > > > > 16. The Ragtime Dance - Joshua Rifkin (00:03:18) > > > > 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) > > > > > > > > Album : The Concert In Central Park > > > > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art > > > > Garfunkel > > > (00:04:09) > > > > 02. America - Paul Simon Art Garfunkel (00:05:50) > > > > 03. American Tune - Paul Simon Art Garfunkel (00:04:13) > > > > 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) 05. > > > > Boxer - Paul Simon Art Garfunkel (00:03:55) 06. Bridge > > Over Troubled > > > > Water - Paul Simon Art Garfunkel (00:02:37) 07. Fifty > > Ways To Leave > > > > Your Lover - Paul Simon Art Garfunkel (00:02:19) 08. Heart In New > > > > York - Paul Simon Art Garfunkel (00:03:22) 09. Homeward > > Bound - Paul > > > > Simon Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul > > > > Simon Art Garfunkel (00:03:52) 11. Late In The Evening - > > Paul Simon > > > > - Art Garfunkel (00:04:22) 12. Me And Julio Down By The > > Schoolyard - > > > > Paul Simon Art Garfunkel > > > (00:04:48) > > > > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old > > > > Friends - Paul Simon - Art Garfunkel (00:04:33) 15. > > Scarborough Fair > > > > - Paul Simon Art Garfunkel (00:04:23) 16. Slip Slidin' > > Away - Paul > > > > Simon Art Garfunkel (00:04:56) 17. Sound Of Silence - > > Paul Simon Art > > > > Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul > > > > Simon Art Garfunkel > > > (00:02:01) > > > > 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) > > > > > > > > Album : The Liberace Collection > > > > 01. 12th Street Rag - Liberace (00:02:27) > > > > 02. Alley Cat - Liberace (00:02:03) > > > > 03. Beer barrel polka - Liberace (00:01:25) > > > > 04. Claire De Lune - Liberace (00:05:15) > > > > 05. Classic concertos - Liberace (00:11:03) > > > > 06. Exodus - Liberace (00:01:42) > > > > 07. Footprints On The Moon - Liberace (00:02:46) > > > > 08. French medley - Liberace (00:04:42) > > > > 09. How insensitive - Liberace (00:03:05) > > > > 10. Johnson rag - Liberace (00:02:09) > > > > 11. Mixed Emotions - Liberace (00:05:05) > > > > 12. Moon River - Liberace (00:01:33) > > > > 13. Moonlight Sonata - Liberace (00:06:02) > > > > 14. Nocturne in E Flat - Liberace (00:02:21) > > > > 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace > > > > (00:04:16) 16. Sometime I'm Happy - Liberace (00:03:26) > > 17. Stardust > > > > - Liberace (00:04:25) 18. Suite: Judy blue eyes - Liberace > > > > (00:03:57) 19. Third man theme - Liberace (00:01:50) > > > > 20. Tico - Tico - Liberace (00:01:48) > > > > > > > > Album : Voices Of Harmony > > > > 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) > > > > 02. Home On The Range - The Mormon Tabernacle Choir > > (00:03:10) 03. > > > > How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) 04. I > > > > Walked Today Where Jesus Walked - The Mormon Tabernacle Choir > > > (00:04:50) > > > > 05. I'll Walk With God - The Mormon Tabernacle Choir > > (00:02:52) 06. > > > > Love At Home - The Mormon Tabernacle Choir (00:05:31) 07. > > Nearer My > > > > God To Thee - The Mormon Tabernacle Choir (00:04:22) 08. Ode To > > > > Music - The Mormon Tabernacle Choir (00:04:11) 09. One > > Voice - The > > > > Mormon Tabernacle Choir (00:02:29) 10. Suddenly You're > > Older - The > > > > Mormon Tabernacle Choir (00:04:05) 11. Sweet Hour Of Prayer - The > > > > Mormon Tabernacle Choir (00:04:00) 12. The Long Day Closes - The > > > > Mormon Tabernacle Choir (00:03:46) 13. The Lost Chord - > > The Mormon > > > > Tabernacle Choir (00:05:06) 14. The Wondows Of The World - The > > > > Mormon Tabernacle Choir (00:04:08) > > > > > > > > Album : Welcome To Hip Hop Country > > > > 01. Blank - George Lee Jr. & The Crazed Cowboys > > (00:00:03) 02. Bonus > > > > - George Lee Jr. & The Crazed Cowboys (00:03:23) 03. Deep In The > > > > Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) 04. Eight > > > > Angels From The Sky - George Lee Jr. & The Crazed Cowboys > > > (00:03:02) > > > > 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) > > > > 06. I Never Wanna Make You Cry - George Lee Jr. & The > > Crazed Cowboys > > > (00:03:03) > > > > 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys > > > > (00:02:58) 08. Keep Your Hands Offa My Stetson - George Lee Jr. & > > > > The Crazed > > Cowboys > > > (00:02:57) > > > > 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys > > (00:03:39) > > > > 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) 11. > > > > Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys > > > (00:03:08) > > > > 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys > > > > (00:03:30) 13. Summer Days - George Lee Jr. & The Crazed Cowboys > > > > (00:03:27) 14. Time To Say Goodbye - George Lee Jr. & The Crazed > > > > Cowboys (00:03:02) 15. Wake Up And Smell The Coffee - > > George Lee Jr. > > > > & The Crazed Cowboys > > > (00:03:10) > > > > 16. Welcome To Hip Hop Country - George Lee Jr. & The > > Crazed Cowboys > > > (00:03:02) > > > > > > > > Album : Windham Hill Piano Sampler > > > > 01. A Morning With The Roses- (00:04:36) > > > > 02. Amy's Song -(00:02:41) > > > > 03. Consolation- (00:06:32) > > > > 04. In Flight- (00:06:02) > > > > 05. In This Small Spot- (00:04:09) > > > > 06. Listening To Evening -(00:07:02) > > > > 07. LouAnn -(00:04:21) > > > > 08. Messenger of the Son- (00:03:16) > > > > 09. Out To Play- (00:03:44) > > > > > > > > Thanks Dave and William for offering. > > > > > > > > -- > > > > Kathryn Rhinehart Bassett (Pasadena CA) > > > > "Genealogy is my bag" "GH is my soap" > > > > kathryn at bassett.net > > > > http://bassett.net > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/a> ccessd > > Website: > > http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Sun Sep 14 17:15:47 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 14 Sep 2003 15:15:47 -0700 Subject: [AccessD] Cataloguing CDs not MP3s In-Reply-To: <002001c37ae2$d05959a0$330ad018@W2k> Message-ID: I've been halfheartedly following the former thread and wonder if there's a way to simply stick a CD into the drive, catalogue it and add it to a database, rather than MP3ing the music and copying it to the hard disk. In the best possible world, I would like to take my several thousand CDs, catalogue them and then be able to produce lists such as "Martha My Dear" and get every instance of that jazz classic so I could burn a CD composed of nothing but said tune. I think I have asked this before, but I also have an Oracle turntable and about 6000 superb-quality vinyl records. What technology and software do I need to be able to burn them? (I have everything Coltrane and Mingus ever recorded, plus oh about 100 Beethoven records, almost all of Stravinsky etc.) Can I burn this stuff? A. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From artful at rogers.com Sun Sep 14 17:33:18 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 14 Sep 2003 15:33:18 -0700 Subject: [AccessD] Where False, was listbox with rowsource type In-Reply-To: Message-ID: Where False by definition cannot take advantage of any indexes. Your approach which directs the focus to the PKs in question is vastly superior. This should not be surprising. I think that the PK tests will scale to millions of rows. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Henry Simpson Sent: Sunday, September 14, 2003 11:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Where False, was listbox with rowsource type I had a look at Gustav's suggestion for filling a listbox with the field names from three different tables to test a few of the assumptions and to do some timing tests. I chose 3 linked tables, all located on a local drive tbl1: 33 fields and 1640 records tbl2: 7 fields and 451 records tbl3: 5 fields and 15 records I created a cross product query: Select tbl1.*, tbl2.*, tbl3.* When opened in datasheet view, it appeared in under a second. When I hit the new record button, it took over a minute for the datasheet to display the new record line and the row count showed 11,094,600 records which equals 1640 * 451 * 15 as expected. I then modified the query to add the 'Where False' condition. When I opened the query in datasheet view, the wait was 37 seconds. I then timed the no condition cross product and the time was 87 seconds. The next modification was to add a condtion that the autonumber ID of tbl1 (the largest) be equal to -1. I had to create a test module that used timeGetTime to determine that this took less than 10 milliseconds. Another useful modification was to join the tables on similar type fields with different data on indexed fields. For example, joining the LastName field of tbl1 to the Address field of tbl2 to the ZipCode field of tbl3 also returned no records in under 10 milliseconds. I quit testing at this point but it was my assumption that setting an impossible condition on a known invalid numeric key on the table with the smallest number of rows would result in the quickest return of no records. Bottom line, 'Where False' seems not to take advantage of available indexes and seems to require some kind of join processing otherwise there is no way three quite tiny local tables would require 37 seconds to open a querydef. Even the full cross product query opened in under a second though without showing the (irrelevant) record count. Getting back to the callback vs saved querydef fieldlist approaches. I created two forms. Each had a single list and no other controls. The first used a fast querydef (pk of the largest table = -1) and the second used a callback function. I then wrote a test module as follows: Public Declare Function timeGetTime Lib "Winmm" () As Long Sub loadtimes() Dim lngt As Long lngt = timeGetTime DoCmd.OpenForm ("QueryDefFieldList") MsgBox timeGetTime - lngt lngt = timeGetTime DoCmd.OpenForm ("CallBack") MsgBox timeGetTime - lngt End Sub The callback function and list fill procedure using a module level string array was in the code behind the CallBack version of the form as shown below: Dim strVelden() As String Sub setData() Dim db As DAO.Database Dim tdf As DAO.TableDef Dim fld As DAO.Field Dim Ar Dim lngI As Long Dim lngJ As Long Dim ArStr() As String Ar = Array("tb1", "tbl2", "tbl3") Set db = CurrentDb For lngI = 0 To UBound(Ar) Set tdf = db(Ar(lngI)) ReDim Preserve strVelden(lngJ + tdf.Fields.Count - 1) For Each fld In tdf.Fields strVelden(lngJ) = fld.Name lngJ = lngJ + 1 Next Next Set fld = Nothing Set tdf = Nothing Set db = Nothing End Sub Private Function ListMeetVelden(fld As Control, ID As Variant, row As Variant, col As Variant, code As Variant) As Variant Dim varRetVal As Variant Select Case code Case acLBInitialize setData varRetVal = 1 Case acLBOpen varRetVal = Timer 'Unique ID for control Case acLBGetRowCount varRetVal = UBound(strVelden) + 1 Case acLBGetColumnCount varRetVal = 1 Case acLBGetColumnWidth varRetVal = -1 'Default of -1 uses default Column Width Case acLBGetValue varRetVal = strVelden(row) Case acLBEnd End Select ListMeetVelden = varRetVal End Function I then ran the test procedure a few times and it showed that it made little or no difference whether the saved querydef had conditions on it or not, it only pulled the field names from the querydef (which was created as a local querydef in the FE). I had expected that the fieldlist method would be faster than the callback but on initial load, the callback consistently loaded twice as fast as the fieldlist. Reloading, the callback remained twice as fast, ranging from 1.2 times to 4.7 times as fast. Times for both methods ranged from 12 to 90 milliseconds and the slowest load I have for an initial load using a field list was 150 milliseconds. A few closing notes: The test code I wrote does not have proper error handling but does allow the error on the list filler to return the specific table name on which an error occurs. The test code does not take into account array dimensions should a tabledef have no fields but this is not production code and this can be readily accomodated. Using an array allows your code to sort field names and it allows you to concatenate the table name as a prefix when the array is written. To do this with a field list you would have to specify all the names in order in the querydef and it could not automatically take account of revisions in the table design. If you write a proper error handler and you use an invalid table name, or your table names change, the resulting error using a querydef field list is an Access UI error whereas the callback version error is easily trapped, logged and handled. Using a saved querydef is another object in the database window that adds to the number of objects that need to be refreshed when currentdb is called explictly (or implicitly by Access). Using a saved querydef adds another object that someone maintaining the database down the road is going to wonder about where or whether it is required whereas the callback code is obvious to anyone competent in their use. The original code erased the array in the Case acLBEnd and this appears to free up some resources but Access requires continued access to the list data when the list is scrolled. The array cannot be erased until the form unloads or closes. It is possible to use Databases(0)(0), a global database variable or a function that returns a static pointer to a database to improve on the callback performance when used in a LAN environment and this optimization is neither available nor necessary using a fieldlist approach, but it might make the performance advantage even greater in such an environment and should certainly make it no less. Although Gustav's suggestion is a nice simple approach that I hadn't considered and it is quite fast, it is neither quite as fast nor as flexible as using a callback. Another approach someone may want to try is parsing the msysQueries table but I believe that using DAO with a callback remains one of the best approaches. Hen _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From andy at minstersystems.co.uk Sun Sep 14 15:09:26 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 14 Sep 2003 21:09:26 +0100 Subject: OT RE: [AccessD] Cataloguing CDs not MP3s In-Reply-To: Message-ID: <012d01c37afc$19728a30$b274d0d5@minster33c3r25> Hi Arthur Don't know about the cataloguing thing but if the 2nd part of what you're asking is about getting vinyl onto PC so you can burn it then I use Easy Cd Creator Platinum. It has an option titled Spin Doctor which will capture via the input socket of your sound card. I hook up a turntable to an amp, the amp's 'tape out' to the sound card and off it goes. The unsatisfactory bit is that Spin Doctor offers options to split the incoming stream into tracks, such as spotting x seconds of silence, but I've never had any joy at all with this, and always get one single file with the entire side of a vinyl record. I then use a second piece of software called Goldwave (see http://www.goldwave.com ) which is just brilliant. It lets you edit a sound file. You scan through your file on-screen and insert flags where tracks end, then tell it to split the file on those flags. This all takes a while but IMO is very successful. If anyone has a better (and inexpensive) solution I'd be interested. Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: 14 September 2003 23:16 > To: Access Developers discussion and problem solving > Subject: [AccessD] Cataloguing CDs not MP3s > > > I've been halfheartedly following the former thread and > wonder if there's a way to simply stick a CD into the drive, > catalogue it and add it to a database, rather than MP3ing the > music and copying it to the hard disk. > > In the best possible world, I would like to take my several > thousand CDs, catalogue them and then be able to produce > lists such as "Martha My Dear" and get every instance of that > jazz classic so I could burn a CD composed of nothing but said tune. > > I think I have asked this before, but I also have an Oracle > turntable and about 6000 superb-quality vinyl records. What > technology and software do I need to be able to burn them? (I > have everything Coltrane and Mingus ever recorded, plus oh > about 100 Beethoven records, almost all of Stravinsky > etc.) Can I burn this stuff? > > A. > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From jcolby at colbyconsulting.com Sun Sep 14 16:03:27 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sun, 14 Sep 2003 17:03:27 -0400 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <002001c37ae2$d05959a0$330ad018@W2k> Message-ID: By building my own SBC with the 80186 (12 mhz) and 512 kbytes of memory, I had a far more powerful hardware platform that most of the Mini-computers like the PDP-11. Of course I couldn't afford a hard drive for it. The dual 8" floppy I bought was $700. But it gave me (2) 1 mbyte storage platters which was way more than I really needed back then. The VAX on the other hand was a truly powerful mini. I actually got into programming by trying to get a star trek game to run on the Data General mini that we used for troubleshooting the graphics systems - I fixed hardware back in those days. This machine only had 16kb of ram and the star trek game was 12kb which didn't leave room for the basic interpreter. I printed out the game on the old yellow teletype roll of paper, about 12 linear feet of code. The biggest spaghetti mess you have EVER seen. Of course I doubt that Basic even had function calls back then so it was all GoTo. Yech. Back then I couldn't even spell programmer... now I are one. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Sunday, September 14, 2003 1:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler John, >> And I DREAMED of having a VAX of my own. << Heck, for a while, there, in 1983-84 I dreamed about owning a DEC Pro 350, a PDP-11 in a desktop case. I worked at that time for a company that developed DEC software. The VP of the company was one of the diehards who still worked on PDP-8s. He even made revisions to the operating system...by himself! Regards, Steve Erbach Scientific Marketing Neenah, WI If architects built buildings the way programmers built applications, the first woodpecker to come along would cause the end of civilization. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kathryn at bassett.net Sun Sep 14 20:56:17 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 14 Sep 2003 18:56:17 -0700 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: <006401c37ae0$d259a860$dd2f0a44@bcsext6137> Message-ID: Dave said: > I have sent the MDB directly to Kathryn. and regarding posting: > Assuming that We can't; if any one would > like a copy, let Me know and I'll send You > a copy directly ( zip is only 35K ). I changed the name and put it up where everyone who wants it can get it. (215kb). http://www.ourmailinglist.org/misc/mp3cataloguefromtext.mdb Next, since this is to be a learning process for me, and possibly others on the list, I'll let you know what I did to explore it. I was expecting a series of queries to populate tables but found none. So I went exploring. There are 3 tables "Text_In", "AlbumData", and "AlbumTrackData". And, they are populated, the first with my data, pretty much as I gave it, and the other two populated with the expected data. Next, I had to figure out how they got populated without queries, and I found the macro. The macro is called DoesItAll - and that has two action lines - first ReadText () then Process_The_Text () . So next I went to find the codes for what happens. I found a module called Read_The_Text, content below. The first part is pretty easy to figure out, but I have some questions/comments intersperced. To conservere space, I'll leave out the blank lines. Function ReadText() 'first get rid of all old data ClearTable ("Text_In") Dim FileNo As Integer Dim LineRead As String Dim Db As DAO.Database Dim RsText As DAO.Recordset Set Db = CurrentDb Set RsText = Db.OpenRecordset("Text_In") FileNo = FreeFile what is this? Open "C:\My_CD_Data.txt" For Input As #FileNo Aha, you made a text file of what I sent. I can either make mine named the same, in the same location, or I need to change the path/filename in the module. The rest of it is also pretty easy to understand. Even though I wouldn't be able to "write" the code, at least I can understand the process, and that's part of the learning, Do While Not EOF(FileNo) Line Input #1, LineRead If Not IsNull(LineRead) And Len(LineRead) > 0 Then RsText.AddNew RsText!TextLine = LineRead RsText.Update End If Loop Close FileNo Set RsText = Nothing Set Db = Nothing End Function So now, that reads the raw data and puts it into the "Text_In" table. On to the next part. Function Process_The_Text() 'Album : Biggest Hits 'first get rid of all old data ClearTable ("AlbumData") ClearTable ("AlbumTrackData") Dim AlbumID As Integer Dim AlbumName As String Dim TrackNo As Integer Dim TrackTitle As String Dim Artists As String Dim Length As String Dim ArtistStart As Integer Dim LengthStart As Integer Dim Db As DAO.Database Dim RsText As DAO.Recordset Dim RsAlbums As DAO.Recordset Dim RsTracks As DAO.Recordset Set Db = CurrentDb Set RsText = Db.OpenRecordset("Text_In") Set RsAlbums = Db.OpenRecordset("AlbumData") Set RsTracks = Db.OpenRecordset("AlbumTrackData") Followed almost everything so far, the two other tables have been cleared, for me to do this from scratch when I've finished ripping everything. The first batch of dimension statements tell what the field names are, and whether they are strings or numbers (integers). I kinda know about the DAO.database and recordset from listing to things on the list, but I'm not real clear on it yet. I understand enough to follow along, but one day will have to get a better handle on what it does. Then the Set statements I understand as well.. AlbumID = 0 ok, this one I'm guessing is setting a starting point so that the first albumID will be a one. Do While Not RsText.EOF() Do While Not RsText.EOF And Mid(RsText!TextLine, 1, 5) <> "ALBUM" Loop The first line is do it until the ent of file is reached, but the next one one I'm not *sure* of myself. I think that the purpose is to make sure that the lines with Album descriptions (title) are a natural breaking point - like an end of file, but not really ending the file, just that particular album's EOF. Is that a reasonable understanding? AlbumID = AlbumID + 1 AlbumName = Trim(Mid(UCase(RsText!TextLine), InStr(RsText!TextLine, ":") + 1)) This one is to trim the title of the track, using the first hyphen as the breaking point. But I'm not clear on the purpose of the +1, nor am I clear on why the Mid, and is UCase for upper case? I really need this line of code explained in plain English. RsAlbums.AddNew RsAlbums!AlbumID = AlbumID RsAlbums!AlbumName = AlbumName RsAlbums.Update RsText.MoveNext Do While Not RsText.EOF If Mid(RsText!TextLine, 1, 5) = "ALBUM" Then What are the 1 & 5 about? Exit Do End If ArtistStart = InStr(RsText!TextLine, "-") + 1 LengthStart = InStr(RsText!TextLine, "(0") - 1 Yeah, I got this one - the artist name starts one space after the hyphen. and the length of the track starts with ( and the -1 backs it up so that it includes the (. I crossed out the part above regarding the +1 because I thought I had I figured it out with this one. But I can't figure out why it's +1 in the Album Name, instead of -1. RsTracks.AddNew RsTracks!AlbumName = AlbumName RsTracks!AlbumID = AlbumID RsTracks!TrackNo = Val(Mid(RsText!TextLine, 1, 3)) RsTracks!TrackTitle = Trim(Mid(RsText!TextLine, 4, ArtistStart - 5)) Again, what are the 1,3 & 4 & 5 about? and now I'm getting lost. I'm guessing the rest of this section has something to do with what to do when there is missing artist data. But I really need it explained in English instead of code. If LengthStart > ArtistStart Then RsTracks!Artists = Trim(Mid(RsText!TextLine, ArtistStart, LengthStart - ArtistStart)) Else RsTracks!Artists = " " End If RsTracks!Length = Trim(Mid(RsText!TextLine, LengthStart)) RsTracks.Update RsText.MoveNext Loop Loop Set RsTracks = Nothing Set RsAlbums = Nothing Set RsText = Nothing Set Db = Nothing End Function Well teacher, how did I do? I give myself a C+/B- in the understanding. Now to go try it. Oh, btw, I noticed something odd AlbumName AlbumID TrackNO TrackTitle Artists Length BIGGEST HITS 2 2 Colorado Cool Aid - Johnny Paycheck (00:02:57) What made Aid end up with artist instead of TrackTitle? Oh, wait a minute, I bet I know even without going to look at the raw text. I'll bet the title is Colorado Cool-Aid, making that the first hyphen. I probably have other bits to clean up too, but this sure makes things easier. Back in a minute, while I go test it out. I'm back. It took longer than a minute. Some of the albums ripped since the sample have loooong album titles and track titles (error message told me it was too smal to accept data), and a couple don't have artist, consequently no hyphen (causing a debug error in RsTracks!TrackTitle = Trim(Mid(RsText!TextLine, 4, ArtistStart - 5)) line. So, first, I went and changed the lengths on the text fields, then ran the macro over and over. Each time I'd get further before hitting the debug error. I'd go look and sure enough, it encountered one where there was no hyphen. I'd fix the raw text file and run again. At least the ease of use makes it easy to find where the raw text needs cleaning. All in all, this is pretty cool! Is there a way to tackle doing the same thing with update and make-table queries? It might be fun to compare how they work the same or different. Thanks again! -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 5468 bytes Desc: not available URL: From martyconnelly at shaw.ca Sun Sep 14 22:02:04 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 14 Sep 2003 20:02:04 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: <567823169.20030914095259@cactus.dk> Message-ID: <3F652BAC.5080309@shaw.ca> Cadastral from french cadastre meaning to register. Hence a Land registry system. However don't go near the Quebec Land Registry based on old Seigneurial land titles everything was measured in perches or some other obscure 17'th century measurement. Yup I worked on two GIS cadastral mapping systems linked to land assessment databases one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 Intergraph system in Calgary. Gustav Brock wrote: >Hi Jim > >Sounds impressive. But cadastral? Even my trusted "American Heritage >Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on >this. Google, however, revealed this page among others: > > http://www.co.blm.gov/cadastral/cadhome.htm > >Is that what your project was about? > >/gustav > > > > >>Wow, that dates things...I was pretty decent Fortran programmer back in the >>late seventies, early eighties...I build a complete cadastral AutoCAD >>application that translated coordinates from Clarke's 1886 global positional >>formula spheroid to conic and mecaider map projections, on an Intergraph >>system, running on an old PDP11-70 VAX. I was a lot brighter then and >>remember little about it except that one period missing in a the code could >>result in 100 plus pages of errors. I hope they have improved the error >>handling routines. >> >> > > > >>Thanks for the heads up Marty and maybe I will take a stroll down memory >>lane. (Even though it is a bit over-grown.) >> >> > > > >>Jim >> >> > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>Sent: Saturday, September 13, 2003 5:09 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >> >> > > > > >>I was looking at the Fortran95.Net compiler on this site when I came >>across this free for personal use Fortran 77 compiler. a bit dated >>but... Still useable with some of the good stat-math packs that are >>floating around on the net. >> >> > > > >>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Sun Sep 14 22:06:41 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 14 Sep 2003 20:06:41 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler References: <567823169.20030914095259@cactus.dk> Message-ID: <3F652CC1.8040206@shaw.ca> If you are looking for Fortran MathTools to convert to VB.Net http://www.mathtools.net/Fortran/Libraries/index.html or like the following Using this base, routines are provided that return: (1) Beta random deviates (2) Chi-square random deviates (3) Exponential random deviates (4) F random deviates (5) Gamma random deviates (6) Multivariate normal random deviates (mean and covariance matrix specified) (7) Noncentral chi-square random deviates (8) Noncentral F random deviates (9) Univariate normal random deviates (10) Random permutations of an integer array (11) Real uniform random deviates between specified limits (12) Binomial random deviates (13) Poisson random deviates (14) Integer uniform deviates between specified limits (15) Seeds for the random number generator calculated from a character string Department of Biomathematics and Biostatistics Free Code Archive Detailed List of Programs U of texas http://odin.mdacc.tmc.edu/anonftp/ Intel Math Kernel Library (Intel MKL), $200 http://developer.intel.com/software/products/mkl/index.htm LAPACK -- Linear Algebra PACKage formed basis for MATLAB free source code http://www.netlib.org/lapack/index.html From martyconnelly at shaw.ca Sun Sep 14 22:11:23 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 14 Sep 2003 20:11:23 -0700 Subject: [AccessD] cataloguing mp3 albums References: <000201c37ae1$d3f2c980$de1811d8@DanWaters> Message-ID: <3F652DDB.5090602@shaw.ca> On the newer Audio CD's there are text files that you can read directly for track name and length. There are freeware and shareware programs that will catalog from this info. Dan Waters wrote: >Kathryn, > >You might want to look at a program called CD Trustee. It's pretty slick at >reading CD's, recording tracks, and other stuff. Also, it uses an access db >so if you want to do extra stuff of your own you can. I think it's about >$20. > >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kathryn Bassett >Sent: Saturday, September 13, 2003 7:38 PM >To: dbAdvisors (AccessD) >Subject: [AccessD] cataloguing mp3 albums > > >Got one that I haven't a clue about trying to convert. I've got a text >report (about 50 albums of varying numbers of tracks) Sorry for length of >message but I wanted to put in several to show you the general patterns of >the data. > >Now, what I want is to have a query (or series of queries) put this into >Access as a database. It only has to be done once, one I'm finished ripping >all my CDs, as any new ones I don't mind entering by hand. I want to be able >to print a report that would be in order similar to below, plus a report in >order by title of the track, with what album it is on and the track number, >and lastly, by the artist, sub-ordered by track then album, also album then >track. I feel confident I can do the queries and reports, but need one of >you to help me with turning the text to tables. I do notice that I've got >some natural breaks, to break the components apart - the period for the >track number, the first - is the split between song title and the artist, >and the ( ) for the time track (which I do want). Note that Simon and >Garfunkel have a second - that might cause a problem, but when I've got the >final text file, I can eliminate those easily before doing the conversion. > >So, any volunteers to help? > >Album : 18 Original Greatest Hits >01. All Night Long - Jerry Lee Lewis (00:02:04) >02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) >03. Big Legged Woman - Jerry Lee Lewis (00:02:25) >04. Breathless - Jerry Lee Lewis (00:02:43) >05. Crazy Arms - Jerry Lee Lewis (00:02:44) >06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls >Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry >Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. >Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis >(00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry >Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. >What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' >In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry >Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) > >Album : Biggest Hits >01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) >02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) >03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) >04. Fifteen Beers - Johnny Paycheck (00:03:25) >05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) >06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck >(00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This >Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - >Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny >Paycheck (00:02:36) > >Album : Gershwin : Rhapsody - Tilson Thomas >01. An American In Paris - George Gershwin (00:18:37) >02. Funny Face - George Gershwin (00:05:54) >03. Girl Crazy - George Gershwin (00:05:45) >04. Let 'Em Eat Cake - George Gershwin (00:08:18) >05. Of Thee I Sing - George Gershwin (00:04:40) >06. Oh, Kay - George Gershwin (00:07:11) >07. Rhapsody In Blue - George Gershwin (00:13:46) >08. Strike Up The Band - George Gershwin (00:07:11) > >Album : Messiah Highlights >01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus >(00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And >Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic >Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic >Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London >Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London >Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London >Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London >Philharmonic Orchestra And Chorus (00:07:04) > >Album : The Concert In Central Park >01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel >(00:04:09) 02. America - Paul Simon - Art Garfunkel (00:05:50) 03. American >Tune - Paul Simon - Art Garfunkel (00:04:13) 04. April Come She Will - Paul >Simon - Art Garfunkel (00:06:02) 05. Boxer - Paul Simon - Art Garfunkel >(00:03:55) 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel >(00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel >(00:02:19) 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) 09. >Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) 10. >Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) 11. Late In >The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By >The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) 13. Mrs. Robinson - >Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art >Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon - Art Garfunkel >(00:04:23) 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) 17. >Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) 18. Still Crazy >After All These Years - Paul Simon - Art Garfunkel (00:02:01) 19. Wake Up >Little Susie - Paul Simon - Art Garfunkel (00:02:52) > > >-- >Kathryn Rhinehart Bassett (Pasadena CA) >"Genealogy is my bag" "GH is my soap" >kathryn at bassett.net >http://bassett.net > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From accessd at shaw.ca Sun Sep 14 22:51:38 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 14 Sep 2003 20:51:38 -0700 Subject: [AccessD] Info: Free Windows Fortran 77 Compiler In-Reply-To: <3F652CC1.8040206@shaw.ca> Message-ID: Thanks Marty...I will definitely check them out. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Sunday, September 14, 2003 8:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler If you are looking for Fortran MathTools to convert to VB.Net http://www.mathtools.net/Fortran/Libraries/index.html or like the following Using this base, routines are provided that return: (1) Beta random deviates (2) Chi-square random deviates (3) Exponential random deviates (4) F random deviates (5) Gamma random deviates (6) Multivariate normal random deviates (mean and covariance matrix specified) (7) Noncentral chi-square random deviates (8) Noncentral F random deviates (9) Univariate normal random deviates (10) Random permutations of an integer array (11) Real uniform random deviates between specified limits (12) Binomial random deviates (13) Poisson random deviates (14) Integer uniform deviates between specified limits (15) Seeds for the random number generator calculated from a character string Department of Biomathematics and Biostatistics Free Code Archive Detailed List of Programs U of texas http://odin.mdacc.tmc.edu/anonftp/ Intel Math Kernel Library (Intel MKL), $200 http://developer.intel.com/software/products/mkl/index.htm LAPACK -- Linear Algebra PACKage formed basis for MATLAB free source code http://www.netlib.org/lapack/index.html _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Mon Sep 15 01:09:52 2003 From: accessd666 at yahoo.com (Sad Der) Date: Sun, 14 Sep 2003 23:09:52 -0700 (PDT) Subject: [AccessD] Please respond! Message-ID: <20030915060952.18042.qmail@web60202.mail.yahoo.com> Hi group, i'm not receiving any mail. Is this mail getting through? Please respond to the my personal e-mail s_derix at yahoo.com TIA Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From conny at qad.nu Mon Sep 15 01:27:57 2003 From: conny at qad.nu (Conny Johansson) Date: Mon, 15 Sep 2003 08:27:57 +0200 Subject: [AccessD] Please respond! In-Reply-To: <20030915060952.18042.qmail@web60202.mail.yahoo.com> Message-ID: <200309150827934.SM09584@QAD> Yes it is -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: den 15 september 2003 08:10 To: Acces User Group Subject: [AccessD] Please respond! Hi group, i'm not receiving any mail. Is this mail getting through? Please respond to the my personal e-mail s_derix at yahoo.com TIA Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Mon Sep 15 02:02:08 2003 From: djkr at msn.com (DJK(John) Robinson) Date: Mon, 15 Sep 2003 08:02:08 +0100 Subject: [AccessD] Please respond! In-Reply-To: <20030915060952.18042.qmail@web60202.mail.yahoo.com> Message-ID: <042901c37b57$4792cc80$db00a8c0@dabsight> Yes, it is! John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der > Sent: 15 September 2003 07:10 > To: Acces User Group > Subject: [AccessD] Please respond! > > > Hi group, > > i'm not receiving any mail. Is this mail getting > through? > > Please respond to the my personal e-mail > s_derix at yahoo.com > > TIA > > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design > software http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > From gustav at cactus.dk Mon Sep 15 02:17:46 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2003 09:17:46 +0200 Subject: [AccessD] listbox with rowsource type (ala MS) In-Reply-To: <834849693.20030913103721@cactus.dk> References: <834849693.20030913103721@cactus.dk> Message-ID: <1302937563.20030915091746@cactus.dk> Hi Sander Henry is right (Subject: Where False, was listbox with rowsource type). I did a test but with small tables only. However, assuming each table has a normal autonumber primary key, modify the query like this: SELECT tblOne.*, tblTwo.*, tblThree.* FROM tblOne, tblTwo, tblThree WHERE tblOne.ID Is Null And tblTwo.ID Is Null And tblThree.ID Is Null; That should reveal the field names in a split second. /gustav > Hi Sander > Maybe I'm missing something, but why all this trouble to get a field > list? > 1. Create a select query like this: > SELECT > tblOne.*, > tblTwo.*, > tblThree.* > FROM > tblOne, > tblTwo, > tblThree > WHERE > False; > and save it as, say, qdyFieldList. > This will retrieve all fields from the tables but no records. > 2. In your form, adjust the combobox to have FieldList as > RowSourceType and specify qdyFieldList as the RowSource. > This should load in a fraction of a section. > /gustav >>>i've got a problem. I'm using a tab control. On all >>>tabs i've got listboxes wich are filled with field >>>names of a couple of tables. These listboxes are >>>filled using the rowsource type thingy. This seems to >>>be the original MS-way-of-programming. >>> >>>Below I pasted the code. In the property RowSourceType >>>of the listbox I fill in the function name. >>> >>>When I programmed it it worked fine. The client is on >>>the desktop of the user and the BE is on our test >>>network. It took about 4 seconds to load each >>>tab-page. >>> >>>Now it's in production (on another network) and if a >>>switch between tab pages now takes almost 2 MINUTES!!! >>> >>>Any ideas how this is possible?? >>> >>>tia >>> >>>Sander >>>Private Function ListMeetVelden(fld As Control, id As >>>Variant, row As Variant, col As Variant, code As >>>Variant) As Variant >>> >>> Static strVelden() As String >>> Static lngRows As Long >>> Dim varRetVal As Variant >>> Dim oMeetTable As DAO.Recordset >>> Dim i As Integer >>> >>> On Error GoTo ListMeetVelden_Error >>> >>> Select Case code >>> Case acLBInitialize >>> ReDim strVelden(0) >>> 'fill array with fields. >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >>> With oMeetTable >>> For i = 0 To .Fields.Count - 1 >>> strVelden(UBound(strFields)) = "C_" & >>>.Fields(i).Name >>> ReDim Preserve strVelden(0 To >>>UBound(strVelden) + 1) >>> Next i >>> End With >>> >>> Set oMeetTable = Nothing >>> 'fill array with fields. >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >>> With oMeetTable >>> For i = 0 To .Fields.Count - 1 >>> strVelden(UBound(strFields)) = "D_" & >>>.Fields(i).Name >>> ReDim Preserve strVelden(0 To >>>UBound(strFields) + 1) >>> Next i >>> End With >>> >>> Set oMeetTable = Nothing >>> 'fill array with fields. >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) >>> With oMeetTable >>> For i = 0 To .Fields.Count - 1 >>> strVelden(UBound(strVelden)) = "E_" & >>>.Fields(i).Name >>> ReDim Preserve strVelden(0 To >>>UBound(strVelden) + 1) >>> Next i >>> End With >>> >>> ReDim Preserve strVelden(0 To UBound(strVelden) >>>- 1) >>> >>> lngRows = UBound(strVelden) + 1 ' array is >>>0-based >>> varRetVal = lngRows >>> Case acLBOpen >>> varRetVal = Timer 'Unique ID for control >>> Case acLBGetRowCount >>> varRetVal = lngRows >>> Case acLBGetColumnCount >>> varRetVal = 1 >>> Case acLBGetColumnWidth >>> varRetVal = -1 'Default of -1 uses default >>>column width >>> Case acLBGetValue >>> varRetVal = strVelden(row) >>> Case acLBEnd >>> Erase strVelden >>> End Select >>> >>> ListMeetVelden = varRetVal >>> >>>ListMeetVelden_Exit: >>> Set oMeetTable = Nothing >>> Exit Function >>>ListMeetVelden_Error: >>> Set oMeetTable = Nothing >>> Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") >>>End Function From gustav at cactus.dk Mon Sep 15 02:25:43 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2003 09:25:43 +0200 Subject: [AccessD] Cataloguing CDs not MP3s In-Reply-To: References: Message-ID: <1113414980.20030915092543@cactus.dk> Hi Arthur Don't you ever locate a record you've forgot you have? Anyway, TerraTec has a product aimed at people like you: TerraTec PhonoPreamp Studio USB I have, however, no experience with this. /gustav > I've been halfheartedly following the former thread and wonder if there's a > way to simply stick a CD into the drive, catalogue it and add it to a > database, rather than MP3ing the music and copying it to the hard disk. > In the best possible world, I would like to take my several thousand CDs, > catalogue them and then be able to produce lists such as "Martha My Dear" > and get every instance of that jazz classic so I could burn a CD composed of > nothing but said tune. > I think I have asked this before, but I also have an Oracle turntable and > about 6000 superb-quality vinyl records. What technology and software do I > need to be able to burn them? (I have everything Coltrane and Mingus ever > recorded, plus oh about 100 Beethoven records, almost all of Stravinsky > etc.) Can I burn this stuff? From pcs at azizaz.com Mon Sep 15 02:45:33 2003 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 15 Sep 2003 17:45:33 +1000 Subject: [AccessD] How to Cancel Selected Item in Optiongroup? References: Message-ID: <00db01c37b5d$592fb6a0$be0e90cb@prosys.local> I am stuck on this one: I have an option group with three radion buttons (value 1, 2 and 3), with the On_Open event of the Form setting the default value to 1. Now, if a radio button that represents either value 2 or 3 is clicked the client wants a message box to appear with a 'do you really want to etc....' with Yes/No command buttons. If response is No, the event should be cancelled. I've been playing around with the beforeupdate and afterupdate event of the option group.... can't get it to work. Any suggestions? Thanks Borge From Erwin.Craps at ithelps.be Mon Sep 15 05:01:44 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 15 Sep 2003 12:01:44 +0200 Subject: [AccessD] Fontlist misssing in AXP Message-ID: Hi Strange prob in Access XP. I noticed the "\" was representad by a Yen sign in my tables. 'cause this is a common font problem I checked some thigns out and apparently the font list is missing in AXP. I still have the list in the form designer but in the database options you can set de default font in dataview (could be named otherwise due to translation) options. No font in the field or in the listbox. When checking in A2K I do have a font list in this option. Seems like an AXP bug. I do have 506 fonts on my system, so maybe this is the 300 fonts rule from W9X still playing in Windows XP??? Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Mon Sep 15 05:31:14 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 15 Sep 2003 11:31:14 +0100 Subject: [AccessD] How to Cancel Selected Item in Optiongroup? Message-ID: <20030915103111.48F94252111@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From lists at theopg.com Mon Sep 15 06:27:26 2003 From: lists at theopg.com (MarkH) Date: Mon, 15 Sep 2003 12:27:26 +0100 Subject: [AccessD] cataloguing mp3 albums In-Reply-To: Message-ID: <006001c37b7c$571d6050$848e6351@netboxxp> Kathryn I haven't read the full thread on this but... If you want, I have an Access database (XP and 97) that I use to manage my MP3's. Its still being worked on but so far it will Display collection in treeview generate random lists (winamp) Create lists based on user selection Scan directories for mp3's Fire up winamp and play selections / lists Originally I read in the files ID tag to get track and artist but this was slow and a pain. So what I did was make sure all files are in the format: "artist name - track title.mp3" (you can change the separator). Let me know if you want a copy and I will send it off-list... Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 From jcolby at colbyconsulting.com Mon Sep 15 07:48:26 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 15 Sep 2003 08:48:26 -0400 Subject: [AccessD] NU Speeddisk error Message-ID: I am getting an error that says "Speed disk is designed to run with Windows 2000 and Windows NT 4.0, service pack 3 or later. it will not run under Windows NT 3.51". I am running Windows 2K SP4. I used to run speed disk on this computer so I can only assume that SP4 somehow makes Speed disk think it is NT 35. Has anyone else seen this / seen a solution? John W. Colby www.colbyconsulting.com From garykjos at hotmail.com Mon Sep 15 07:58:54 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 15 Sep 2003 07:58:54 -0500 Subject: [AccessD] NU Speeddisk error Message-ID: Symantec support has info on this; http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa30052353c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ver=2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no Speed Disk compatibility after upgrading to a new Windows Service Pack Situation: When you run Speed Disk after upgrading to a new Service Pack, you see one of the following error messages: "Speed Disk is not certified on this Operating System" "Warning! This version of Norton Speed Disk has not been tested with the Service Pack..." "Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, service pack 3 or later. It will not run on Windows NT 3.51." "Speed Disk is designed to run with Windows NT 4.0 Workstation with Service Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or Professional. OK." Solution: This message does not indicate that Speed Disk is impaired. Speed Disk is working as designed. The message indicates that Speed Disk has not been tested with the service pack that is on your computer. This situation happens when Microsoft releases a service pack after the release of Speed Disk. What to do when you see this message When you see this message, run LiveUpdate to make sure that you have the latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at the top of the Norton Utilities or Norton SystemWorks Integrator (the main screen that you see when you first open Norton Utilities or Norton SystemWorks). If no updates are available or you cannot update Speed Disk at this time, you may be able to disable the warning message. To stop the warning message from appearing each time that you run Speed Disk, select the option "Do not show this warning again" that is displayed on the warning message. Not all Speed Disk versions display this option. Why a service pack has not been tested Symantec cannot test service packs in advance of their release. Because service packs change frequently before they are released, Symantec cannot complete testing of that service pack until all the changes to that service pack have been made. Why Speed Disk displays the message Because Speed Disk is highly dependent on the operating system and the service packs make significant changes to an operating system, Speed Disk displays this message to notify you that Speed Disk might not be compatible with this service pack. Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 08:48:26 -0400 > >I am getting an error that says "Speed disk is designed to run with Windows >2000 and Windows NT 4.0, service pack 3 or later. it will not run under >Windows NT 3.51". > >I am running Windows 2K SP4. I used to run speed disk on this computer so >I >can only assume that SP4 somehow makes Speed disk think it is NT 35. > >Has anyone else seen this / seen a solution? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From jcolby at colbyconsulting.com Mon Sep 15 08:11:30 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 15 Sep 2003 09:11:30 -0400 Subject: [AccessD] NU Speeddisk error In-Reply-To: Message-ID: Unfortunately this does not apply in this case. In the past I have always just ignored the warning and continued. In this case, the message comes up in a separate dialog box and the only available action is the OK button. When clicked it closes the warning and speed disk does not launch. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos Sent: Monday, September 15, 2003 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] NU Speeddisk error Symantec support has info on this; http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa3005235 3c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ver =2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no Speed Disk compatibility after upgrading to a new Windows Service Pack Situation: When you run Speed Disk after upgrading to a new Service Pack, you see one of the following error messages: "Speed Disk is not certified on this Operating System" "Warning! This version of Norton Speed Disk has not been tested with the Service Pack..." "Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, service pack 3 or later. It will not run on Windows NT 3.51." "Speed Disk is designed to run with Windows NT 4.0 Workstation with Service Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or Professional. OK." Solution: This message does not indicate that Speed Disk is impaired. Speed Disk is working as designed. The message indicates that Speed Disk has not been tested with the service pack that is on your computer. This situation happens when Microsoft releases a service pack after the release of Speed Disk. What to do when you see this message When you see this message, run LiveUpdate to make sure that you have the latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at the top of the Norton Utilities or Norton SystemWorks Integrator (the main screen that you see when you first open Norton Utilities or Norton SystemWorks). If no updates are available or you cannot update Speed Disk at this time, you may be able to disable the warning message. To stop the warning message from appearing each time that you run Speed Disk, select the option "Do not show this warning again" that is displayed on the warning message. Not all Speed Disk versions display this option. Why a service pack has not been tested Symantec cannot test service packs in advance of their release. Because service packs change frequently before they are released, Symantec cannot complete testing of that service pack until all the changes to that service pack have been made. Why Speed Disk displays the message Because Speed Disk is highly dependent on the operating system and the service packs make significant changes to an operating system, Speed Disk displays this message to notify you that Speed Disk might not be compatible with this service pack. Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 08:48:26 -0400 > >I am getting an error that says "Speed disk is designed to run with Windows >2000 and Windows NT 4.0, service pack 3 or later. it will not run under >Windows NT 3.51". > >I am running Windows 2K SP4. I used to run speed disk on this computer so >I >can only assume that SP4 somehow makes Speed disk think it is NT 35. > >Has anyone else seen this / seen a solution? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Sep 15 08:13:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 15 Sep 2003 09:13:01 -0400 Subject: [AccessD] NU Speeddisk error In-Reply-To: Message-ID: The odd part is that the rest of disk doctor runs without any warning about the version or anything. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos Sent: Monday, September 15, 2003 8:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] NU Speeddisk error Symantec support has info on this; http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa3005235 3c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ver =2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no Speed Disk compatibility after upgrading to a new Windows Service Pack Situation: When you run Speed Disk after upgrading to a new Service Pack, you see one of the following error messages: "Speed Disk is not certified on this Operating System" "Warning! This version of Norton Speed Disk has not been tested with the Service Pack..." "Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, service pack 3 or later. It will not run on Windows NT 3.51." "Speed Disk is designed to run with Windows NT 4.0 Workstation with Service Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or Professional. OK." Solution: This message does not indicate that Speed Disk is impaired. Speed Disk is working as designed. The message indicates that Speed Disk has not been tested with the service pack that is on your computer. This situation happens when Microsoft releases a service pack after the release of Speed Disk. What to do when you see this message When you see this message, run LiveUpdate to make sure that you have the latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at the top of the Norton Utilities or Norton SystemWorks Integrator (the main screen that you see when you first open Norton Utilities or Norton SystemWorks). If no updates are available or you cannot update Speed Disk at this time, you may be able to disable the warning message. To stop the warning message from appearing each time that you run Speed Disk, select the option "Do not show this warning again" that is displayed on the warning message. Not all Speed Disk versions display this option. Why a service pack has not been tested Symantec cannot test service packs in advance of their release. Because service packs change frequently before they are released, Symantec cannot complete testing of that service pack until all the changes to that service pack have been made. Why Speed Disk displays the message Because Speed Disk is highly dependent on the operating system and the service packs make significant changes to an operating system, Speed Disk displays this message to notify you that Speed Disk might not be compatible with this service pack. Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 08:48:26 -0400 > >I am getting an error that says "Speed disk is designed to run with Windows >2000 and Windows NT 4.0, service pack 3 or later. it will not run under >Windows NT 3.51". > >I am running Windows 2K SP4. I used to run speed disk on this computer so >I >can only assume that SP4 somehow makes Speed disk think it is NT 35. > >Has anyone else seen this / seen a solution? > >John W. Colby >www.colbyconsulting.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Mon Sep 15 08:43:32 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 15 Sep 2003 08:43:32 -0500 Subject: [AccessD] NU Speeddisk error Message-ID: And you tried the LiveUpdate recomendation? I'm guessing you have. Perhaps you'll need to update to a newer version. Bummer. Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 09:11:30 -0400 > >Unfortunately this does not apply in this case. In the past I have always >just ignored the warning and continued. In this case, the message comes up >in a separate dialog box and the only available action is the OK button. >When clicked it closes the warning and speed disk does not launch. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos >Sent: Monday, September 15, 2003 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] NU Speeddisk error > > >Symantec support has info on this; > >http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa3005235 >3c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ver >=2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no > > >Speed Disk compatibility after upgrading to a new Windows Service Pack > >Situation: >When you run Speed Disk after upgrading to a new Service Pack, you see one >of the following error messages: > >"Speed Disk is not certified on this Operating System" >"Warning! This version of Norton Speed Disk has not been tested with the >Service Pack..." >"Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, >service >pack 3 or later. It will not run on Windows NT 3.51." >"Speed Disk is designed to run with Windows NT 4.0 Workstation with Service >Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or >Professional. OK." > >Solution: >This message does not indicate that Speed Disk is impaired. Speed Disk is >working as designed. The message indicates that Speed Disk has not been >tested with the service pack that is on your computer. This situation >happens when Microsoft releases a service pack after the release of Speed >Disk. > >What to do when you see this message >When you see this message, run LiveUpdate to make sure that you have the >latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at >the top of the Norton Utilities or Norton SystemWorks Integrator (the main >screen that you see when you first open Norton Utilities or Norton >SystemWorks). > >If no updates are available or you cannot update Speed Disk at this time, >you may be able to disable the warning message. To stop the warning message >from appearing each time that you run Speed Disk, select the option "Do not >show this warning again" that is displayed on the warning message. Not all >Speed Disk versions display this option. > > >Why a service pack has not been tested >Symantec cannot test service packs in advance of their release. Because >service packs change frequently before they are released, Symantec cannot >complete testing of that service pack until all the changes to that service >pack have been made. > >Why Speed Disk displays the message >Because Speed Disk is highly dependent on the operating system and the >service packs make significant changes to an operating system, Speed Disk >displays this message to notify you that Speed Disk might not be compatible >with this service pack. > > > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: "John Colby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "AccessD" > >Subject: [AccessD] NU Speeddisk error > >Date: Mon, 15 Sep 2003 08:48:26 -0400 > > > >I am getting an error that says "Speed disk is designed to run with >Windows > >2000 and Windows NT 4.0, service pack 3 or later. it will not run under > >Windows NT 3.51". > > > >I am running Windows 2K SP4. I used to run speed disk on this computer >so > >I > >can only assume that SP4 somehow makes Speed disk think it is NT 35. > > > >Has anyone else seen this / seen a solution? > > > >John W. Colby > >www.colbyconsulting.com > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Send and receive larger attachments with Hotmail Extra Storage. >http://join.msn.com/?PAGE=features/es > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From jcolby at colbyconsulting.com Mon Sep 15 08:48:38 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 15 Sep 2003 09:48:38 -0400 Subject: [AccessD] NU Speeddisk error In-Reply-To: Message-ID: >Perhaps you'll need to update to a newer version. Bummer. lol. Yea, you suppose this is how they force users to buy the next version? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos Sent: Monday, September 15, 2003 9:44 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] NU Speeddisk error And you tried the LiveUpdate recomendation? I'm guessing you have. Perhaps you'll need to update to a newer version. Bummer. Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 09:11:30 -0400 > >Unfortunately this does not apply in this case. In the past I have always >just ignored the warning and continued. In this case, the message comes up >in a separate dialog box and the only available action is the OK button. >When clicked it closes the warning and speed disk does not launch. > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos >Sent: Monday, September 15, 2003 8:59 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] NU Speeddisk error > > >Symantec support has info on this; > >http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa300523 5 >3c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ve r >=2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no > > >Speed Disk compatibility after upgrading to a new Windows Service Pack > >Situation: >When you run Speed Disk after upgrading to a new Service Pack, you see one >of the following error messages: > >"Speed Disk is not certified on this Operating System" >"Warning! This version of Norton Speed Disk has not been tested with the >Service Pack..." >"Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, >service >pack 3 or later. It will not run on Windows NT 3.51." >"Speed Disk is designed to run with Windows NT 4.0 Workstation with Service >Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or >Professional. OK." > >Solution: >This message does not indicate that Speed Disk is impaired. Speed Disk is >working as designed. The message indicates that Speed Disk has not been >tested with the service pack that is on your computer. This situation >happens when Microsoft releases a service pack after the release of Speed >Disk. > >What to do when you see this message >When you see this message, run LiveUpdate to make sure that you have the >latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at >the top of the Norton Utilities or Norton SystemWorks Integrator (the main >screen that you see when you first open Norton Utilities or Norton >SystemWorks). > >If no updates are available or you cannot update Speed Disk at this time, >you may be able to disable the warning message. To stop the warning message >from appearing each time that you run Speed Disk, select the option "Do not >show this warning again" that is displayed on the warning message. Not all >Speed Disk versions display this option. > > >Why a service pack has not been tested >Symantec cannot test service packs in advance of their release. Because >service packs change frequently before they are released, Symantec cannot >complete testing of that service pack until all the changes to that service >pack have been made. > >Why Speed Disk displays the message >Because Speed Disk is highly dependent on the operating system and the >service packs make significant changes to an operating system, Speed Disk >displays this message to notify you that Speed Disk might not be compatible >with this service pack. > > > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: "John Colby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "AccessD" > >Subject: [AccessD] NU Speeddisk error > >Date: Mon, 15 Sep 2003 08:48:26 -0400 > > > >I am getting an error that says "Speed disk is designed to run with >Windows > >2000 and Windows NT 4.0, service pack 3 or later. it will not run under > >Windows NT 3.51". > > > >I am running Windows 2K SP4. I used to run speed disk on this computer >so > >I > >can only assume that SP4 somehow makes Speed disk think it is NT 35. > > > >Has anyone else seen this / seen a solution? > > > >John W. Colby > >www.colbyconsulting.com > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Send and receive larger attachments with Hotmail Extra Storage. >http://join.msn.com/?PAGE=features/es > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Mon Sep 15 09:03:05 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 15 Sep 2003 08:03:05 -0600 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: Gustav: One of the things I was trying to say was that using a field list row source does not submit the query SQL to the BE for retreival so there is no difference whether or not a where clause is present. Another point is that it is only necessary to add an impossible restraint to a single table if the SQL is submitted because Jet should process that index first and finding nothing to join on, disregard the other table indexes. I'm not satisfied that using three 'Where Null' restraints wouldn't cause all three indexes to be pulled before the FE started processing the joing. My main point was that I have seen the 'Where False' construct advocated several times in the past on this list and that had led me to believe that someone here had at some time read or determined that the FE SQL parser had enough intelligence to determine that it was unnecessary to submit the request for data to a BE file when this condition was encountered. Otherwise, how does it make sense? If there are records with 0 in some field, will it return those? If there are yes/no fields with false records, would it return those? Apparently not, so what does it actually do with this magical condition? Let's just put an end to promoting 'Where False' as a means to retreiving a limited recordset. Hen >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >CC: Sad Der >Subject: Re: [AccessD] listbox with rowsource type (ala MS) >Date: Mon, 15 Sep 2003 09:17:46 +0200 > >Hi Sander > >Henry is right (Subject: Where False, was listbox with rowsource >type). >I did a test but with small tables only. > >However, assuming each table has a normal autonumber primary key, >modify the query like this: > > SELECT > tblOne.*, > tblTwo.*, > tblThree.* > FROM > tblOne, > tblTwo, > tblThree > WHERE > tblOne.ID Is Null And > tblTwo.ID Is Null And > tblThree.ID Is Null; > >That should reveal the field names in a split second. > >/gustav > > > > Hi Sander > > > Maybe I'm missing something, but why all this trouble to get a field > > list? > > > 1. Create a select query like this: > > > SELECT > > tblOne.*, > > tblTwo.*, > > tblThree.* > > FROM > > tblOne, > > tblTwo, > > tblThree > > WHERE > > False; > > > and save it as, say, qdyFieldList. > > This will retrieve all fields from the tables but no records. > > > 2. In your form, adjust the combobox to have FieldList as > > RowSourceType and specify qdyFieldList as the RowSource. > > > This should load in a fraction of a section. > > > /gustav > > > >>>i've got a problem. I'm using a tab control. On all > >>>tabs i've got listboxes wich are filled with field > >>>names of a couple of tables. These listboxes are > >>>filled using the rowsource type thingy. This seems to > >>>be the original MS-way-of-programming. > >>> > >>>Below I pasted the code. In the property RowSourceType > >>>of the listbox I fill in the function name. > >>> > >>>When I programmed it it worked fine. The client is on > >>>the desktop of the user and the BE is on our test > >>>network. It took about 4 seconds to load each > >>>tab-page. > >>> > >>>Now it's in production (on another network) and if a > >>>switch between tab pages now takes almost 2 MINUTES!!! > >>> > >>>Any ideas how this is possible?? > >>> > >>>tia > >>> > >>>Sander > > >>>Private Function ListMeetVelden(fld As Control, id As > >>>Variant, row As Variant, col As Variant, code As > >>>Variant) As Variant > >>> > >>> Static strVelden() As String > >>> Static lngRows As Long > >>> Dim varRetVal As Variant > >>> Dim oMeetTable As DAO.Recordset > >>> Dim i As Integer > >>> > >>> On Error GoTo ListMeetVelden_Error > >>> > >>> Select Case code > >>> Case acLBInitialize > >>> ReDim strVelden(0) > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strFields)) = "C_" & > >>>.Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strVelden) + 1) > >>> Next i > >>> End With > >>> > >>> Set oMeetTable = Nothing > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strFields)) = "D_" & > >>>.Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strFields) + 1) > >>> Next i > >>> End With > >>> > >>> Set oMeetTable = Nothing > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strVelden)) = "E_" & > >>>.Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strVelden) + 1) > >>> Next i > >>> End With > >>> > >>> ReDim Preserve strVelden(0 To UBound(strVelden) > >>>- 1) > >>> > >>> lngRows = UBound(strVelden) + 1 ' array is > >>>0-based > >>> varRetVal = lngRows > >>> Case acLBOpen > >>> varRetVal = Timer 'Unique ID for control > >>> Case acLBGetRowCount > >>> varRetVal = lngRows > >>> Case acLBGetColumnCount > >>> varRetVal = 1 > >>> Case acLBGetColumnWidth > >>> varRetVal = -1 'Default of -1 uses default > >>>column width > >>> Case acLBGetValue > >>> varRetVal = strVelden(row) > >>> Case acLBEnd > >>> Erase strVelden > >>> End Select > >>> > >>> ListMeetVelden = varRetVal > >>> > >>>ListMeetVelden_Exit: > >>> Set oMeetTable = Nothing > >>> Exit Function > >>>ListMeetVelden_Error: > >>> Set oMeetTable = Nothing > >>> Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") > >>>End Function _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail From john at winhaven.net Mon Sep 15 09:44:54 2003 From: john at winhaven.net (John B.) Date: Mon, 15 Sep 2003 09:44:54 -0500 Subject: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) In-Reply-To: <3F652BAC.5080309@shaw.ca> Message-ID: If you haven't worked in GIS for awhile I think you'de be pleasantly surprised how far they've come. I was a GIS Project Manager in the late 90's just as Intergraph made a huge switch in philosphy. They adapted Windows NT as their OS of choice and jumped from Unix to NT, Eventually, after they migrated their customer base, they got out of the Unix OS(Clipper) business all together, although they do support using other OS based DBs via networks. There are basically two main companies involved in GIS now, Intergraph (which is publicly held) and ESRI (which is privately owned). Intergraph has a lot of other companies using their technologies to target specfic tasks/audiences. ESRI has a lot of companies writing add-ons or supplements to their software. It's an amazing set of technologies! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Sunday, September 14, 2003 10:02 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > > > Cadastral from french cadastre meaning to register. Hence a Land > registry system. > > However don't go near the Quebec Land Registry based on old > Seigneurial land titles everything was measured in perches or some > other obscure 17'th century measurement. > > Yup I worked on two GIS cadastral mapping systems linked to land > assessment databases > one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 > Intergraph system in Calgary. > > Gustav Brock wrote: > > >Hi Jim > > > >Sounds impressive. But cadastral? Even my trusted "American Heritage > >Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on > >this. Google, however, revealed this page among others: > > > > http://www.co.blm.gov/cadastral/cadhome.htm > > > >Is that what your project was about? > > > >/gustav > > > > > > > > > >>Wow, that dates things...I was pretty decent Fortran programmer > back in the > >>late seventies, early eighties...I build a complete cadastral AutoCAD > >>application that translated coordinates from Clarke's 1886 > global positional > >>formula spheroid to conic and mecaider map projections, on an Intergraph > >>system, running on an old PDP11-70 VAX. I was a lot brighter then and > >>remember little about it except that one period missing in a > the code could > >>result in 100 plus pages of errors. I hope they have improved the error > >>handling routines. > >> > >> > > > > > > > >>Thanks for the heads up Marty and maybe I will take a stroll down memory > >>lane. (Even though it is a bit over-grown.) > >> > >> > > > > > > > >>Jim > >> > >> > > > > > > > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > >>Sent: Saturday, September 13, 2003 5:09 PM > >>To: Access Developers discussion and problem solving > >>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > >> > >> > > > > > > > > > >>I was looking at the Fortran95.Net compiler on this site when I came > >>across this free for personal use Fortran 77 compiler. a bit dated > >>but... Still useable with some of the good stat-math packs that are > >>floating around on the net. > >> > >> > > > > > > > >>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > >> > >> > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >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 Sep 15 10:03:18 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2003 08:03:18 -0700 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: Hen, Something like SELECT * FROM MyTable WHERE 1=2 returns an empty recordset immediately in my experience. I have used it for years to force forms to load right away with no records. This is the same as WHERE False, although I prefer the explicit syntax. Exactly what is it that you feel is wrong with that approach? It certainly works and is the only reliable method I've found for quickly loading a form with an empty recordset. Charlotte Foust -----Original Message----- From: Henry Simpson [mailto:hsimpson88 at hotmail.com] Sent: Monday, September 15, 2003 6:03 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] listbox with rowsource type (ala MS) Gustav: One of the things I was trying to say was that using a field list row source does not submit the query SQL to the BE for retreival so there is no difference whether or not a where clause is present. Another point is that it is only necessary to add an impossible restraint to a single table if the SQL is submitted because Jet should process that index first and finding nothing to join on, disregard the other table indexes. I'm not satisfied that using three 'Where Null' restraints wouldn't cause all three indexes to be pulled before the FE started processing the joing. My main point was that I have seen the 'Where False' construct advocated several times in the past on this list and that had led me to believe that someone here had at some time read or determined that the FE SQL parser had enough intelligence to determine that it was unnecessary to submit the request for data to a BE file when this condition was encountered. Otherwise, how does it make sense? If there are records with 0 in some field, will it return those? If there are yes/no fields with false records, would it return those? Apparently not, so what does it actually do with this magical condition? Let's just put an end to promoting 'Where False' as a means to retreiving a limited recordset. Hen >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >CC: Sad Der >Subject: Re: [AccessD] listbox with rowsource type (ala MS) >Date: Mon, 15 Sep 2003 09:17:46 +0200 > >Hi Sander > >Henry is right (Subject: Where False, was listbox with rowsource type). >I did a test but with small tables only. > >However, assuming each table has a normal autonumber primary key, >modify the query like this: > > SELECT > tblOne.*, > tblTwo.*, > tblThree.* > FROM > tblOne, > tblTwo, > tblThree > WHERE > tblOne.ID Is Null And > tblTwo.ID Is Null And > tblThree.ID Is Null; > >That should reveal the field names in a split second. > >/gustav > > > > Hi Sander > > > Maybe I'm missing something, but why all this trouble to get a field > > list? > > > 1. Create a select query like this: > > > SELECT > > tblOne.*, > > tblTwo.*, > > tblThree.* > > FROM > > tblOne, > > tblTwo, > > tblThree > > WHERE > > False; > > > and save it as, say, qdyFieldList. > > This will retrieve all fields from the tables but no records. > > > 2. In your form, adjust the combobox to have FieldList as > > RowSourceType and specify qdyFieldList as the RowSource. > > > This should load in a fraction of a section. > > > /gustav > > > >>>i've got a problem. I'm using a tab control. On all > >>>tabs i've got listboxes wich are filled with field > >>>names of a couple of tables. These listboxes are > >>>filled using the rowsource type thingy. This seems to > >>>be the original MS-way-of-programming. > >>> > >>>Below I pasted the code. In the property RowSourceType > >>>of the listbox I fill in the function name. > >>> > >>>When I programmed it it worked fine. The client is on > >>>the desktop of the user and the BE is on our test > >>>network. It took about 4 seconds to load each > >>>tab-page. > >>> > >>>Now it's in production (on another network) and if a switch between > >>>tab pages now takes almost 2 MINUTES!!! > >>> > >>>Any ideas how this is possible?? > >>> > >>>tia > >>> > >>>Sander > > >>>Private Function ListMeetVelden(fld As Control, id As Variant, row > >>>As Variant, col As Variant, code As > >>>Variant) As Variant > >>> > >>> Static strVelden() As String > >>> Static lngRows As Long > >>> Dim varRetVal As Variant > >>> Dim oMeetTable As DAO.Recordset > >>> Dim i As Integer > >>> > >>> On Error GoTo ListMeetVelden_Error > >>> > >>> Select Case code > >>> Case acLBInitialize > >>> ReDim strVelden(0) > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strFields)) = "C_" & .Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strVelden) + 1) > >>> Next i > >>> End With > >>> > >>> Set oMeetTable = Nothing > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strFields)) = "D_" & .Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strFields) + 1) > >>> Next i > >>> End With > >>> > >>> Set oMeetTable = Nothing > >>> 'fill array with fields. > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > >>> With oMeetTable > >>> For i = 0 To .Fields.Count - 1 > >>> strVelden(UBound(strVelden)) = "E_" & .Fields(i).Name > >>> ReDim Preserve strVelden(0 To > >>>UBound(strVelden) + 1) > >>> Next i > >>> End With > >>> > >>> ReDim Preserve strVelden(0 To UBound(strVelden) > >>>- 1) > >>> > >>> lngRows = UBound(strVelden) + 1 ' array is > >>>0-based > >>> varRetVal = lngRows > >>> Case acLBOpen > >>> varRetVal = Timer 'Unique ID for control > >>> Case acLBGetRowCount > >>> varRetVal = lngRows > >>> Case acLBGetColumnCount > >>> varRetVal = 1 > >>> Case acLBGetColumnWidth > >>> varRetVal = -1 'Default of -1 uses default > >>>column width > >>> Case acLBGetValue > >>> varRetVal = strVelden(row) > >>> Case acLBEnd > >>> Erase strVelden > >>> End Select > >>> > >>> ListMeetVelden = varRetVal > >>> > >>>ListMeetVelden_Exit: > >>> Set oMeetTable = Nothing > >>> Exit Function > >>>ListMeetVelden_Error: > >>> Set oMeetTable = Nothing > >>> Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") > >>>End Function _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RSmethurst at UxbridgeCollege.ac.uk Mon Sep 15 10:15:14 2003 From: RSmethurst at UxbridgeCollege.ac.uk (Ryan Smethurst) Date: Mon, 15 Sep 2003 16:15:14 +0100 Subject: [AccessD] Pop-up's in query Message-ID: Hi All, I have a query which performs an equation on a column I previously specified the name for. The problem is that everytime I run the query, I am prompted with an input box requeting a parameter. E.g. below GLHS is the offender! SELECT [Student data 0203].[Stu ID],[Student data 0203].[GLHQ], Sum(IIf([Status] Like "S",[GLH],0)) AS GLHS, [GLHS]+[GLHQ] AS GLHTotal Will prompt me for the value of GLHS when I run the query. How do I stop that? TIA RyanS The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. From mikedorism at ntelos.net Mon Sep 15 10:25:59 2003 From: mikedorism at ntelos.net (Mike and Doris Manning) Date: Mon, 15 Sep 2003 11:25:59 -0400 Subject: [AccessD] Pop-up's in query In-Reply-To: Message-ID: <000301c37b9d$ae5788c0$19350cd8@hargrove.internal> Make sure you don't have anything in the Query Parameter settings... Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ryan Smethurst Sent: Monday, September 15, 2003 11:15 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Pop-up's in query Hi All, I have a query which performs an equation on a column I previously specified the name for. The problem is that everytime I run the query, I am prompted with an input box requeting a parameter. E.g. below GLHS is the offender! SELECT [Student data 0203].[Stu ID],[Student data 0203].[GLHQ], Sum(IIf([Status] Like "S",[GLH],0)) AS GLHS, [GLHS]+[GLHQ] AS GLHTotal Will prompt me for the value of GLHS when I run the query. How do I stop that? TIA RyanS The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Sep 15 10:26:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2003 17:26:30 +0200 Subject: [AccessD] listbox with rowsource type (ala MS) In-Reply-To: References: Message-ID: <10732261419.20030915172630@cactus.dk> Hi Henry "Where False" does per definition retrieve zero records. In many cases it is very useful to ensure a form is opening with zero records and for a one-table or simple query lookup it has proved fast and reliable to me. However, with multiplying tables (no joins) resulting in large recordsets this method - as you showed - may be too slow. Thus my suggestion for using "Where PK Is Null" on each table as the SQL parser in this case seems to be able to figure that out to result in zero records. I would recommend a more relaxed attitude; as always (1) no tool is perfect for every job and (2) you must know how to handle it. /gustav > Gustav: > One of the things I was trying to say was that using a field list row source > does not submit the query SQL to the BE for retreival so there is no > difference whether or not a where clause is present. Another point is that > it is only necessary to add an impossible restraint to a single table if the > SQL is submitted because Jet should process that index first and finding > nothing to join on, disregard the other table indexes. I'm not satisfied > that using three 'Where Null' restraints wouldn't cause all three indexes to > be pulled before the FE started processing the joing. > My main point was that I have seen the 'Where False' construct advocated > several times in the past on this list and that had led me to believe that > someone here had at some time read or determined that the FE SQL parser had > enough intelligence to determine that it was unnecessary to submit the > request for data to a BE file when this condition was encountered. > Otherwise, how does it make sense? If there are records with 0 in some > field, will it return those? If there are yes/no fields with false > records, would it return those? Apparently not, so what does it actually do > with this magical condition? Let's just put an end to promoting 'Where > False' as a means to retreiving a limited recordset. > Hen >>From: Gustav Brock >>Reply-To: Access Developers discussion and problem >>solving >>To: Access Developers discussion and problem >>solving >>CC: Sad Der >>Subject: Re: [AccessD] listbox with rowsource type (ala MS) >>Date: Mon, 15 Sep 2003 09:17:46 +0200 >> >>Hi Sander >> >>Henry is right (Subject: Where False, was listbox with rowsource >>type). >>I did a test but with small tables only. >> >>However, assuming each table has a normal autonumber primary key, >>modify the query like this: >> >> SELECT >> tblOne.*, >> tblTwo.*, >> tblThree.* >> FROM >> tblOne, >> tblTwo, >> tblThree >> WHERE >> tblOne.ID Is Null And >> tblTwo.ID Is Null And >> tblThree.ID Is Null; >> >>That should reveal the field names in a split second. From RSmethurst at UxbridgeCollege.ac.uk Mon Sep 15 10:26:53 2003 From: RSmethurst at UxbridgeCollege.ac.uk (Ryan Smethurst) Date: Mon, 15 Sep 2003 16:26:53 +0100 Subject: [AccessD] Pop-up's in query Message-ID: No nothing there? Thanks anyway...anyone else? Rgds, RyanS The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. From gustav at cactus.dk Mon Sep 15 10:33:55 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2003 17:33:55 +0200 Subject: [AccessD] Pop-up's in query In-Reply-To: References: Message-ID: <6432706589.20030915173355@cactus.dk> Hi Ryan First, I guess your SQL is incomplete as you has no Group By on anything. Then, why not skip [GLHS]+[GLHQ] AS GLHTotal You can easily perform that addition in your form or report. Alternatively you could write Sum(IIf([Status] Like "S",[GLH],0)) + [GLHQ] AS GLHTotal /gustav > I have a query which performs an equation on a column I previously > specified the name for. The problem is that everytime I run the > query, I am prompted with an input box requeting a parameter. > E.g. below GLHS is the offender! > SELECT [Student data 0203].[Stu ID],[Student data 0203].[GLHQ], > Sum(IIf([Status] Like "S",[GLH],0)) AS GLHS, [GLHS]+[GLHQ] AS > GLHTotal > Will prompt me for the value of GLHS when I run the query. How do I > stop that? From andy at minstersystems.co.uk Mon Sep 15 10:37:31 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 15 Sep 2003 16:37:31 +0100 Subject: [AccessD] Pop-up's in query Message-ID: <20030915153726.8FDBA252C97@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From RSmethurst at UxbridgeCollege.ac.uk Mon Sep 15 10:35:49 2003 From: RSmethurst at UxbridgeCollege.ac.uk (Ryan Smethurst) Date: Mon, 15 Sep 2003 16:35:49 +0100 Subject: [AccessD] Pop-up's in query Message-ID: Thanks Gustav, will try that. Yes the SQL is incomplete...goes on a bit, didn't want to bore anyone! :) The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. From RSmethurst at UxbridgeCollege.ac.uk Mon Sep 15 10:54:25 2003 From: RSmethurst at UxbridgeCollege.ac.uk (Ryan Smethurst) Date: Mon, 15 Sep 2003 16:54:25 +0100 Subject: [AccessD] Pop-up's in query Message-ID: Thanks for the help all...I will amend the queries to take that into account. RyanS The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. From garykjos at hotmail.com Mon Sep 15 10:56:54 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 15 Sep 2003 10:56:54 -0500 Subject: [AccessD] NU Speeddisk error Message-ID: That thought had crossed my mind. And its always interesting to me that you can buy the product directly from them on their website, often even being able to download it directly, usually for the full regular suggested list price. OR you can go to a regular retail store and buy it for about HALF or a third of that. Or you can go to E-Bay and buy it for about a tenth of the regular price.....Shouldn't it be CHEAPER if you buy it directly from the manufacturer? And shouldn't a UPGRADE from a previous version be cheaper than buying a new copy. Better stop or I'll be ranting shortly...... Gary Kjos garykjos at hotmail.com >From: "John Colby" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] NU Speeddisk error >Date: Mon, 15 Sep 2003 09:48:38 -0400 > > >Perhaps you'll need to update to a newer version. Bummer. > >lol. Yea, you suppose this is how they force users to buy the next >version? > >John W. Colby >www.colbyconsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos >Sent: Monday, September 15, 2003 9:44 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] NU Speeddisk error > > >And you tried the LiveUpdate recomendation? I'm guessing you have. > >Perhaps you'll need to update to a newer version. Bummer. > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: "John Colby" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] NU Speeddisk error > >Date: Mon, 15 Sep 2003 09:11:30 -0400 > > > >Unfortunately this does not apply in this case. In the past I have >always > >just ignored the warning and continued. In this case, the message comes >up > >in a separate dialog box and the only available action is the OK button. > >When clicked it closes the warning and speed disk does not launch. > > > >John W. Colby > >www.colbyconsulting.com > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Kjos > >Sent: Monday, September 15, 2003 8:59 AM > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] NU Speeddisk error > > > > > >Symantec support has info on this; > > > >http://service1.symantec.com/SUPPORT/nunt.nsf/ca9f46bcffa4bc3285256aa300523 >5 > >3c/3a21276e1e15cb9b88256c2100640f00?OpenDocument&prod=Norton%20Utilities&ve >r > >=2002%20for%20Windows%202000/NT/XP&src=&pcode=nu&svy=&csm=no > > > > > >Speed Disk compatibility after upgrading to a new Windows Service Pack > > > >Situation: > >When you run Speed Disk after upgrading to a new Service Pack, you see >one > >of the following error messages: > > > >"Speed Disk is not certified on this Operating System" > >"Warning! This version of Norton Speed Disk has not been tested with the > >Service Pack..." > >"Speed Disk is designed to run with Windows 2000 and Windows NT 4.0, > >service > >pack 3 or later. It will not run on Windows NT 3.51." > >"Speed Disk is designed to run with Windows NT 4.0 Workstation with >Service > >Pack 6 or above, Windows 2000 Professional and Windows XP Home Edition or > >Professional. OK." > > > >Solution: > >This message does not indicate that Speed Disk is impaired. Speed Disk is > >working as designed. The message indicates that Speed Disk has not been > >tested with the service pack that is on your computer. This situation > >happens when Microsoft releases a service pack after the release of Speed > >Disk. > > > >What to do when you see this message > >When you see this message, run LiveUpdate to make sure that you have the > >latest Speed Disk update. To run LiveUpdate, click the LiveUpdate icon at > >the top of the Norton Utilities or Norton SystemWorks Integrator (the >main > >screen that you see when you first open Norton Utilities or Norton > >SystemWorks). > > > >If no updates are available or you cannot update Speed Disk at this time, > >you may be able to disable the warning message. To stop the warning >message > >from appearing each time that you run Speed Disk, select the option "Do >not > >show this warning again" that is displayed on the warning message. Not >all > >Speed Disk versions display this option. > > > > > >Why a service pack has not been tested > >Symantec cannot test service packs in advance of their release. Because > >service packs change frequently before they are released, Symantec cannot > >complete testing of that service pack until all the changes to that >service > >pack have been made. > > > >Why Speed Disk displays the message > >Because Speed Disk is highly dependent on the operating system and the > >service packs make significant changes to an operating system, Speed Disk > >displays this message to notify you that Speed Disk might not be >compatible > >with this service pack. > > > > > > > > > > > >Gary Kjos > >garykjos at hotmail.com > > > > > > > > > > > > >From: "John Colby" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "AccessD" > > >Subject: [AccessD] NU Speeddisk error > > >Date: Mon, 15 Sep 2003 08:48:26 -0400 > > > > > >I am getting an error that says "Speed disk is designed to run with > >Windows > > >2000 and Windows NT 4.0, service pack 3 or later. it will not run under > > >Windows NT 3.51". > > > > > >I am running Windows 2K SP4. I used to run speed disk on this computer > >so > > >I > > >can only assume that SP4 somehow makes Speed disk think it is NT 35. > > > > > >Has anyone else seen this / seen a solution? > > > > > >John W. Colby > > >www.colbyconsulting.com _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From gustav at cactus.dk Mon Sep 15 11:11:31 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2003 18:11:31 +0200 Subject: [AccessD] OT: NU Speeddisk error In-Reply-To: References: Message-ID: <14434962283.20030915181131@cactus.dk> Hi Gary > .. Shouldn't it be CHEAPER if you buy it directly from the > manufacturer? Certainly not if you, as a manufacturer, wish to maintain and support a dealer network. /gustav PS: Not that I care that much, but shouldn't this thread live on the OT techno list? From john at winhaven.net Mon Sep 15 11:18:18 2003 From: john at winhaven.net (John B.) Date: Mon, 15 Sep 2003 11:18:18 -0500 Subject: [AccessD] NU Speeddisk error In-Reply-To: Message-ID: Gary: > price.....Shouldn't it be CHEAPER if you buy it directly from the > manufacturer? Most companies won't sell a product at any other than suggested retail price because they need to keep their reseller's happy. > And shouldn't a UPGRADE from a previous version be cheaper > than buying a new copy. Better stop or I'll be ranting shortly...... The upgrade for Symantec products normally are cheaper, problem is that they've been using rebates to do it. 50/50 chance of getting the rebate check... :o) HTH John B. From garykjos at hotmail.com Mon Sep 15 11:21:35 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 15 Sep 2003 11:21:35 -0500 Subject: [AccessD] OT: NU Speeddisk error Message-ID: >PS: Not that I care that much, but shouldn't this thread live on the >OT techno list? > Yes. But it's done now unless somebody has the magic answer that John is hoping for. Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] OT: NU Speeddisk error >Date: Mon, 15 Sep 2003 18:11:31 +0200 > >Hi Gary > > > .. Shouldn't it be CHEAPER if you buy it directly from the > > manufacturer? > >Certainly not if you, as a manufacturer, wish to maintain and support >a dealer network. > >/gustav > >PS: Not that I care that much, but shouldn't this thread live on the >OT techno list? > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon From garykjos at hotmail.com Mon Sep 15 11:21:35 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 15 Sep 2003 11:21:35 -0500 Subject: [AccessD] OT: NU Speeddisk error Message-ID: >PS: Not that I care that much, but shouldn't this thread live on the >OT techno list? > Yes. But it's done now unless somebody has the magic answer that John is hoping for. Gary Kjos garykjos at hotmail.com >From: Gustav Brock >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] OT: NU Speeddisk error >Date: Mon, 15 Sep 2003 18:11:31 +0200 > >Hi Gary > > > .. Shouldn't it be CHEAPER if you buy it directly from the > > manufacturer? > >Certainly not if you, as a manufacturer, wish to maintain and support >a dealer network. > >/gustav > >PS: Not that I care that much, but shouldn't this thread live on the >OT techno list? > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Use custom emotions -- try MSN Messenger 6.0! http://www.msnmessenger-download.com/tracking/reach_emoticon _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 15 11:40:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 15 Sep 2003 11:40:04 -0500 Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271EF@main2.marlow.com> Up until a year ago, my VBA was limited to Excel and Access (with a tiny bit in Word). But now I've gotten into Outlook, FrontPage, and PowerPoint. Loads of fun. In fact, I spoofed our spam blocker at work, on my home machine, using VBA inside of Outlook 2000. (It filters the email using the same pattern files I have at work! grin) Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Saturday, September 13, 2003 3:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Live Top 5 in Powerpoint based on Access data Ah yes ofcourse... I was hoping for a simple wizard thing.... Never use vba in pp. New challenge ahead... Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Drew Wutka Verzonden: vrijdag 12 september 2003 19:20 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Live Top 5 in Powerpoint based on Access data You can use VBA within PP, so I would say the answer is yes. Drew -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, September 12, 2003 8:47 AM To: Access Developers discussion and problem solving Subject: [AccessD] Live Top 5 in Powerpoint based on Access data Can I create a slideshow page in Powerpoint (running endlessly in show) that displays a hitlist based on data in a Access database. The hitlist is dynamic, so each time the slideshow passes this slide in the endless slide loop, it should show live data on screen. The activity should be from Powerpoint, I mean by that that PP should get the data in the MDB file and NOT Access pushing (exporting) the data. thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Sep 15 11:43:20 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 15 Sep 2003 11:43:20 -0500 Subject: [AccessD] cataloguing mp3 albums Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271F0@main2.marlow.com> If you know how to get the MP3 info out of the file and you're running windows 2000, I have another suggestion for you. You could make a service/program that would automatically import the MP3 data into your database as soon as an MP3 file is changed or added to your hard drive. Drew -----Original Message----- From: Kathryn Bassett [mailto:kathryn at bassett.net] Sent: Saturday, September 13, 2003 8:38 PM To: dbAdvisors (AccessD) Subject: [AccessD] cataloguing mp3 albums Got one that I haven't a clue about trying to convert. I've got a text report (about 50 albums of varying numbers of tracks) Sorry for length of message but I wanted to put in several to show you the general patterns of the data. Now, what I want is to have a query (or series of queries) put this into Access as a database. It only has to be done once, one I'm finished ripping all my CDs, as any new ones I don't mind entering by hand. I want to be able to print a report that would be in order similar to below, plus a report in order by title of the track, with what album it is on and the track number, and lastly, by the artist, sub-ordered by track then album, also album then track. I feel confident I can do the queries and reports, but need one of you to help me with turning the text to tables. I do notice that I've got some natural breaks, to break the components apart - the period for the track number, the first - is the split between song title and the artist, and the ( ) for the time track (which I do want). Note that Simon and Garfunkel have a second - that might cause a problem, but when I've got the final text file, I can eliminate those easily before doing the conversion. So, any volunteers to help? Album : 18 Original Greatest Hits 01. All Night Long - Jerry Lee Lewis (00:02:04) 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) 04. Breathless - Jerry Lee Lewis (00:02:43) 05. Crazy Arms - Jerry Lee Lewis (00:02:44) 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) 08. High School Confidential - Jerry Lee Lewis (00:02:30) 09. It'll Be Me - Jerry Lee Lewis (00:02:46) 10. Jambalaya - Jerry Lee Lewis (00:02:00) 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) 12. Matchbox - Jerry Lee Lewis (00:01:43) 13. Put Me Down - Jerry Lee Lewis (00:02:08) 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) 15. What'd I Say - Jerry Lee Lewis (00:02:27) 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) 18. Wild One - Jerry Lee Lewis (00:01:48) Album : Biggest Hits 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) 04. Fifteen Beers - Johnny Paycheck (00:03:25) 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck (00:03:05) 07. She'S All I Got - Johnny Paycheck (00:02:42) 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) Album : Gershwin : Rhapsody - Tilson Thomas 01. An American In Paris - George Gershwin (00:18:37) 02. Funny Face - George Gershwin (00:05:54) 03. Girl Crazy - George Gershwin (00:05:45) 04. Let 'Em Eat Cake - George Gershwin (00:08:18) 05. Of Thee I Sing - George Gershwin (00:04:40) 06. Oh, Kay - George Gershwin (00:07:11) 07. Rhapsody In Blue - George Gershwin (00:13:46) 08. Strike Up The Band - George Gershwin (00:07:11) Album : Messiah Highlights 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus (00:03:11) 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus (00:07:42) 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus (00:04:11) 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And Chorus (00:07:28) 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus (00:03:06) 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus (00:07:04) Album : The Concert In Central Park 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon - Art Garfunkel (00:04:09) 02. America - Paul Simon - Art Garfunkel (00:05:50) 03. American Tune - Paul Simon - Art Garfunkel (00:04:13) 04. April Come She Will - Paul Simon - Art Garfunkel (00:06:02) 05. Boxer - Paul Simon - Art Garfunkel (00:03:55) 06. Bridge Over Troubled Water - Paul Simon - Art Garfunkel (00:02:37) 07. Fifty Ways To Leave Your Lover - Paul Simon - Art Garfunkel (00:02:19) 08. Heart In New York - Paul Simon - Art Garfunkel (00:03:22) 09. Homeward Bound - Paul Simon - Art Garfunkel (00:02:49) 10. Kodachrome/Maybellene - Paul Simon - Art Garfunkel (00:03:52) 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) 12. Me And Julio Down By The Schoolyard - Paul Simon - Art Garfunkel (00:04:48) 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) 15. Scarborough Fair - Paul Simon - Art Garfunkel (00:04:23) 16. Slip Slidin' Away - Paul Simon - Art Garfunkel (00:04:56) 17. Sound Of Silence - Paul Simon - Art Garfunkel (00:04:54) 18. Still Crazy After All These Years - Paul Simon - Art Garfunkel (00:02:01) 19. Wake Up Little Susie - Paul Simon - Art Garfunkel (00:02:52) -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 15 11:44:41 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 15 Sep 2003 11:44:41 -0500 Subject: [AccessD] cataloguing mp3 albums Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271F1@main2.marlow.com> I'm not in charge of the List in that manner. You can attach to a List email, but you have to be under the email size limit (I think it's 15k). Drew -----Original Message----- From: dave sharpe [mailto:davesharpe2 at cox.net] Sent: Sunday, September 14, 2003 11:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] cataloguing mp3 albums ( Drew if We can POST please advise how. ) Friends I didn't see a way to POST files for the list. I have sent the MDB directly to Kathryn. Assuming that We can't; if any one would like a copy, let Me know and I'll send You a copy directly ( zip is only 35K ). Dave ----- Original Message ----- From: "dave sharpe" To: "Access Developers discussion and problem solving" Sent: Sunday, September 14, 2003 9:50 AM Subject: Re: [AccessD] cataloguing mp3 albums > Kathryn > > I have Your listings. I have to run out for a little while. Should have done > by 13:00 edt > > Dave > > ----- Original Message ----- > From: "Kathryn Bassett" > To: "Access Developers discussion and problem solving" > > Sent: Saturday, September 13, 2003 10:51 PM > Subject: RE: [AccessD] cataloguing mp3 albums > > > > It dawned on me that I don't need to wait til I'm done to do this. I've > got a good sampling so that the coding can be done, and I can always do the > query again when I'm finished ripping. > > > > Album : 18 Original Greatest Hits > > 01. All Night Long - Jerry Lee Lewis (00:02:04) > > 02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) > > 03. Big Legged Woman - Jerry Lee Lewis (00:02:25) > > 04. Breathless - Jerry Lee Lewis (00:02:43) > > 05. Crazy Arms - Jerry Lee Lewis (00:02:44) > > 06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) > > 07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) > > 08. High School Confidential - Jerry Lee Lewis (00:02:30) > > 09. It'll Be Me - Jerry Lee Lewis (00:02:46) > > 10. Jambalaya - Jerry Lee Lewis (00:02:00) > > 11. Lewis Boogie - Jerry Lee Lewis (00:01:58) > > 12. Matchbox - Jerry Lee Lewis (00:01:43) > > 13. Put Me Down - Jerry Lee Lewis (00:02:08) > > 14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) > > 15. What'd I Say - Jerry Lee Lewis (00:02:27) > > 16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) > > 17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) > > 18. Wild One - Jerry Lee Lewis (00:01:48) > > > > Album : Biggest Hits > > 01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) > > 02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) > > 03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) > > 04. Fifteen Beers - Johnny Paycheck (00:03:25) > > 05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) > > 06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck > (00:03:05) > > 07. She'S All I Got - Johnny Paycheck (00:02:42) > > 08. Take This Job And Shove It - Johnny Paycheck (00:03:47) > > 09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) > > 10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) > > > > Album : Gershwin : Rhapsody - Tilson Thomas > > 01. An American In Paris - George Gershwin (00:18:37) > > 02. Funny Face - George Gershwin (00:05:54) > > 03. Girl Crazy - George Gershwin (00:05:45) > > 04. Let 'Em Eat Cake - George Gershwin (00:08:18) > > 05. Of Thee I Sing - George Gershwin (00:04:40) > > 06. Oh, Kay - George Gershwin (00:07:11) > > 07. Rhapsody In Blue - George Gershwin (00:13:46) > > 08. Strike Up The Band - George Gershwin (00:07:11) > > > > Album : Greatest Hits > > 01. A Worried man - Kingston Trio (00:02:54) > > 02. America - Herb Alpert & The Tijuana Brass (00:02:50) > > 03. Bad Man's Blunder - Kingston Trio (00:02:40) > > 04. El Matador - Kingston Trio (00:02:29) > > 05. Everglades - Kingston Trio (00:02:23) > > 06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass > (00:02:13) > > 07. Greenback Dollar - Kingston Trio (00:02:54) > > 08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) > > 09. Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) > > 10. Mexican Shuffle - Herb Alpert & The Tijuana Brass (00:02:13) > > 11. MTA - Kingston Trio (00:03:17) > > 12. Never On Sunday - Herb Alpert & The Tijuana Brass (00:02:43) > > 13. Reuben James - Kingston Trio (00:03:00) > > 14. Reverand Mr. Black - Kingston Trio (00:03:05) > > 15. Scotch and Soda - Kingston Trio (00:02:35) > > 16. South Of The Border - Herb Alpert & The Tijuana Brass (00:02:11) > > 17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) > > 18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) > > 19. The Tijuana Jail - Kingston Trio (00:02:52) > > 20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) > > 21. Tom Dooly - Kingston Trio (00:03:05) > > 22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) > > 23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) > > 24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) > > > > Album : Guitar Sampler > > 01. Andecy - Andrew York (00:04:09) > > 02. Blue Ridge - Bruce Becvar (00:04:11) > > 03. Cheyenne - Peter Maunu (00:04:18) > > 04. Night Crossing - John Doan (00:06:21) > > 05. No City Lights - James Gordon (00:05:11) > > 06. On The Way - David Cullen (00:04:18) > > 07. Prelude From The Bridal Suite - Eric Tingstad (00:03:09) > > 08. Sun And Water - Danny Heines (00:05:37) > > 09. The Emperor's Choice - Chris Proctor & Paul Machlis (00:04:05) > > 10. The Handing Down - Edward Gerhard (00:04:03) > > 11. The Silver Plume Waltz - Bill Mize (00:03:34) > > > > Album : In The Digital Mood > > 01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) > > 02. Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) > > 03. In The Mood - Glenn Miller Orchestra (00:03:40) > > 04. Kalamazoo - Glenn Miller Orchestra (00:02:42) > > 05. Little Brown Jug - Glenn Miller Orchestra (00:03:08) > > 06. Moonlight Serenade - Glenn Miller Orchestra (00:03:16) > > 07. Pennsylvania 6-5000 - Glenn Miller Orchestra (00:03:13) > > 08. St. Louis Blues March - Glenn Miller Orchestra (00:04:19) > > 09. The American Patrol - Glenn Miller Orchestra (00:03:25) > > 10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) > > > > Album : It's A Sunshine Day: The Best Of The Brady Bunch > > 01. American Pie - The Brady Bunch (00:03:38) > > 02. Born To Say Goodbye - The Brady Bunch (00:02:53) > > 03. Candy (Sugar Shoppe) - The Brady Bunch (00:02:12) > > 04. Charlotte's Web - The Brady Bunch (00:02:56) > > 05. Cheyenne - The Brady Bunch (00:03:00) > > 06. Frosty The Snowman - The Brady Bunch (00:01:48) > > 07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) > > 08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) > > 09. It's A Sunshine Day - The Brady Bunch (00:02:31) > > 10. Keep On - The Brady Bunch (00:02:35) > > 11. Merry Go Round - The Brady Bunch (00:01:58) > > 12. Promo Intro - The Brady Bunch (00:00:27) > > 13. Promo Outro - The Brady Bunch (00:00:12) > > 14. Road To Love - The Brady Bunch (00:03:17) > > 15. Sweet Sweetheart - The Brady Bunch (00:02:38) > > 16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) > > 17. Time To Change - The Brady Bunch (00:02:08) > > 18. Truckin' Back To You - The Brady Bunch (00:02:51) > > 19. We Can Make The World A Whole Lot Brighter - The Brady Bunch > (00:02:23) > > 20. We'll Always Be Friends - The Brady Bunch (00:02:32) > > > > Album : Johnny Cash- Greatest Hits Volume 1 > > 01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) > > 02. Five Feet High And Rising - Johnny Cash (00:01:49) > > 03. I Walk The Line - Johnny Cash (00:02:36) > > 04. It Ain't Me Babe - Johnny Cash (00:03:04) > > 05. Jackson - Johnny Cash (00:02:48) > > 06. Orange Blossom Special - Johnny Cash (00:03:08) > > 07. Ring Of Fire - Johnny Cash (00:02:39) > > 08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) > > 09. The One On The Right Is On The Left - Johnny Cash (00:02:50) > > 10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) > > 11. Understand Your Man - Johnny Cash (00:02:45) > > > > Album : Made In U.S.A. > > 01. 409 - Beach Boys (00:01:59) > > 02. Barbara Ann - Beach Boys (00:02:04) > > 03. Be True to Your School - Beach Boys (00:02:07) > > 04. California Dreamin' - Beach Boys (00:03:10) > > 05. California Girls - Beach Boys (00:02:36) > > 06. Caroline, No - Beach Boys (00:02:17) > > 07. Come Go With Me - Beach Boys (00:02:07) > > 08. Dance, Dance, Dance - Beach Boys (00:01:58) > > 09. Do It Again - Beach Boys (00:02:19) > > 10. Don't Worry Baby - Beach Boys (00:02:42) > > 11. Fun, Fun, Fun - Beach Boys (00:02:16) > > 12. Getcha Back - Beach Boys (00:03:01) > > 13. God Only Knows - Beach Boys (00:02:48) > > 14. Good Vibrations - Beach Boys (00:03:36) > > 15. Help Me, Rhonda - Beach Boys (00:02:45) > > 16. Heroes And Villians - Beach Boys (00:03:37) > > 17. I Get Around - Beach Boys (00:02:11) > > 18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) > > 19. Rock And Roll Music - Beach Boys (00:02:28) > > 20. Sloop John B. - Beach Boys (00:02:55) > > 21. Surfer Girl - Beach Boys (00:02:23) > > 22. Surfin' Safari - Beach Boys (00:02:06) > > 23. Surfin' USA - Beach Boys (00:02:27) > > 24. When I Grow Up - Beach Boys (00:02:01) > > 25. Wouldn't It Be Nice - Beach Boys (00:02:22) > > > > Album : Messiah Highlights > > 01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus > (00:03:11) > > 02. Comfort Ye My People - London Philharmonic Orchestra And Chorus > (00:07:42) > > 03. For Unto Us A Child Is Born - London Philharmonic Orchestra And Chorus > (00:04:11) > > 04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) > > 05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And > Chorus (00:07:28) > > 06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) > > 07. Pastoral Symphony - London Philharmonic Orchestra And Chorus > (00:03:06) > > 08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus > (00:07:04) > > > > Album : Night Music CD 1 > > 01. Beethoven - Moonlight Sonata (00:05:18) > > 02. Chopin - Piano Concerto No. 2 (00:09:01) > > 03. Debussy - Clair de lune (00:05:48) > > 04. Faure - Sicilienne (00:03:40) > > 05. Godard - Berceuse (00:05:29) > > 06. Grieg - To Spring (00:02:12) > > 07. Haydn-String Quartet Op76 No. (00:05:19) > > 08. J.S. Bach-Brandenburg Concert (00:05:16) > > 09. Mozart - Symphony No. 40 (00:07:48) > > 10. Mozart-Eine kleine Nachtmusik (00:06:07) > > 11. Pachelbel - Canon (00:04:47) > > 12. Tchaikovsky - Melodie (00:04:31) > > 13. Torelli-Trumpet Concerto No.2 (00:02:29) > > > > Album : Night Music CD 2 > > 01. Beethoven-Piano Concerto No. (00:05:40) > > 02. Debussy-String quartet op. 10 (00:07:59) > > 03. Grieg-Peer Gynt-Solveig's Son (00:04:37) > > 04. Handel - Watermusic - Adagio (00:03:06) > > 05. Handel-Concerto Grosso Op. 6 (00:02:36) > > 06. Haydn-Symphony No.96-Andante (00:05:08) > > 07. Mendelssohn- A Midsummer Nigh (00:06:26) > > 08. Mozart- Flute & Harp Concerto (00:07:35) > > 09. Shubert- Moment musical (00:05:47) > > 10. Tchaikovsky-Swan Lake-Andante (00:06:45) > > 11. Vivaldi - Spring - Largo (00:02:42) > > > > Album : Night Music CD 2 > > 01. Mozart- Piano sonata K.332 (00:05:23) > > > > Album : Night Music CD 3 > > 01. Albinoni-Adagio (00:11:30) > > 02. Beethoven-Les Adieux (00:04:30) > > 03. Beethoven-Symphony No 1 (00:06:51) > > 04. Bizet-L'Arlesienne (00:03:36) > > 05. Boccherini-Cello Concerto (00:05:55) > > 06. Corelli-Christmas-Pastorale (00:04:10) > > 07. Faure-Pavane (00:07:46) > > 08. Haydn-StringQuartet Op.76No.4 (00:05:35) > > 09. Marcello-Oboe Concerto (00:04:48) > > 10. Mendelssohn-On Wings Of Song (00:04:38) > > 11. Mozart-Piano Concerto K.467 (00:06:21) > > 12. Mozart-Salzburg Symphony K138 (00:03:54) > > 13. Tchaikovsky-Chanson Triste (00:03:00) > > > > Album : Popular Classics 1 > > 01. Beethoven - Romance in F (00:06:25) > > 02. Chopin - Waltz in C# minor (00:03:22) > > 03. Chopin-Nocturne in B Flat Min (00:05:25) > > 04. Faure-Song Without Words No. (00:02:19) > > 05. Handel - Passaccaglia (00:04:05) > > 06. Haydn - Surprise Symphony(2nd (00:07:21) > > 07. Liszt - Consolation No. 5 (00:03:13) > > 08. Mendelssohn - Wedding March (00:04:46) > > 09. Schumann - Pleading Child (00:01:36) > > > > Album : Popular Classics 2 > > 01. Beethoven - Fur Elise (00:02:47) > > 02. Beethoven - Minuet in G (00:02:13) > > 03. Beethoven - Moonlight Sonata (00:05:39) > > 04. Bizet-Intermezzo(Carmen Suite (00:02:58) > > 05. Brahms - Hungarian Dance No. (00:02:51) > > 06. Grieg - Anitra's Dance (00:03:39) > > 07. Schubert - Serenade (00:03:35) > > 08. Strauss -Thunder and Lightnin (00:03:17) > > 09. Strauss-DieFledermaus Overtur (00:08:42) > > > > Album : Popular Classics 3 > > 01. Bach - Prelude in C (00:02:10) > > 02. Beethoven - Symphony No. 5 (00:06:36) > > 03. Bizet - Intermezzo from Carme (00:03:06) > > 04. Bizet - Song of Toreadors (00:02:45) > > 05. Brahms - Hungarian No.5 (00:03:00) > > 06. Dvorak - New World Sym.(4th) (00:11:57) > > 07. Grieg - Anitra's Dance (00:03:47) > > 08. Mozart - Marriage of Figaro (00:04:42) > > 09. Strauss - Blue Danube (00:08:50) > > 10. Tchaikovsky - Swan Lake(Waltz (00:05:03) > > > > Album : Popular Classics 4 > > 01. Bach - Air On The G String (00:06:00) > > 02. Bizet - Aragonaise from Carme (00:02:34) > > 03. Bizet-Carillon from L'Arlesie (00:04:52) > > 04. Chopin - Fantasie Impromptu (00:05:00) > > 05. Chopin - Minute Waltz (00:01:56) > > 06. Chopin - Prelude in A (00:00:58) > > 07. Chopin - Waltz in A Flat (00:03:55) > > 08. Chopin-Etude in D Op.10 No.3 (00:04:17) > > 09. Debussy - 1st Arabesque (00:03:38) > > 10. Delibes - Coppelia Suite (00:02:50) > > 11. Saint-Saens - The Swan (00:03:24) > > 12. Schubert - Moments Musical (00:01:57) > > 13. Schubert - Trout Quintet (00:08:35) > > 14. Schumann - Warum (00:02:34) > > 15. Tchaikovsky -Chanson Triste (00:02:45) > > 16. Tchaikovsky-Dance of the Swan (00:01:49) > > > > Album : Popular Classics 5 > > 01. Brahms - Waltz in A Flat (00:01:44) > > 02. Chopin - Raindrop Prelude (00:04:47) > > 03. Debussy - Clair De Lune (00:04:33) > > 04. Debussy-Girl With Flaxen Hair (00:02:36) > > 05. Dvorak - Humoresque (00:02:46) > > 06. Glinka - Russlan and Ludmilla (00:05:47) > > 07. Gossec - Gavotte In D (00:01:47) > > 08. Grieg-Solveig's Song-Peer Gyn (00:05:30) > > 09. Massanet-Meditation from Thai (00:06:02) > > 10. Rubinstein-Melody in F (00:03:49) > > 11. Schumann - Traumerie (00:02:51) > > 12. Strauss - Pizzicato Polka (00:02:59) > > 13. Strauss - Radetzky March (00:02:27) > > 14. Suppe - Light Calvary Overtur (00:07:34) > > 15. Tchaikovsky - Swan Lake(Scene (00:02:57) > > > > Album : Rarities > > 01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) > > 02. Beat Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) > > 03. Boogie Woogie Bugle Boy - The Andrew Sisters (00:02:41) > > 04. Don't Fence Me In - The Andrew Sisters (00:03:00) > > 05. Hit The Road - The Andrew Sisters (00:02:33) > > 06. I Love You Much Too Much - The Andrew Sisters (00:02:59) > > 07. Long Time No See - The Andrew Sisters (00:03:09) > > 08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) > > 09. Six Times A Week And Twice On A Sunday - The Andrew Sisters (00:02:38) > > 10. You're Just A Flower From An Old Bouquet - The Andrew Sisters > (00:02:53) > > > > Album : Scott Joplin: Piano Rags > > 01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) > > 02. Country Club Ragtime Two Step - Joshua Rifkin (00:04:58) > > 03. Elite Syncopations - Joshua Rifkin (00:03:02) > > 04. Euphonic Sounds A Syncopated Novelty - Joshua Rifkin (00:03:58) > > 05. Fig Leaf Rag - Joshua Rifkin (00:04:42) > > 06. Gladiolus Rag - Joshua Rifkin (00:04:29) > > 07. Magnetic Rag Syncopations Classiques - Joshua Rifkin (00:05:13) > > 08. Maple Leaf Rag - Joshua Rifkin (00:03:20) > > 09. Paragon Rag - Joshua Rifkin (00:03:49) > > 10. Pine Apple Rag - Joshua Rifkin (00:03:30) > > 11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) > > 12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) > > 13. Stoptime Rag - Joshua Rifkin (00:02:56) > > 14. The Cascades A Rag - Joshua Rifkin (00:03:09) > > 15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) > > 16. The Ragtime Dance - Joshua Rifkin (00:03:18) > > 17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) > > > > Album : The Concert In Central Park > > 01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art Garfunkel > (00:04:09) > > 02. America - Paul Simon Art Garfunkel (00:05:50) > > 03. American Tune - Paul Simon Art Garfunkel (00:04:13) > > 04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) > > 05. Boxer - Paul Simon Art Garfunkel (00:03:55) > > 06. Bridge Over Troubled Water - Paul Simon Art Garfunkel (00:02:37) > > 07. Fifty Ways To Leave Your Lover - Paul Simon Art Garfunkel (00:02:19) > > 08. Heart In New York - Paul Simon Art Garfunkel (00:03:22) > > 09. Homeward Bound - Paul Simon Art Garfunkel (00:02:49) > > 10. Kodachrome/Maybellene - Paul Simon Art Garfunkel (00:03:52) > > 11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) > > 12. Me And Julio Down By The Schoolyard - Paul Simon Art Garfunkel > (00:04:48) > > 13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) > > 14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) > > 15. Scarborough Fair - Paul Simon Art Garfunkel (00:04:23) > > 16. Slip Slidin' Away - Paul Simon Art Garfunkel (00:04:56) > > 17. Sound Of Silence - Paul Simon Art Garfunkel (00:04:54) > > 18. Still Crazy After All These Years - Paul Simon Art Garfunkel > (00:02:01) > > 19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) > > > > Album : The Liberace Collection > > 01. 12th Street Rag - Liberace (00:02:27) > > 02. Alley Cat - Liberace (00:02:03) > > 03. Beer barrel polka - Liberace (00:01:25) > > 04. Claire De Lune - Liberace (00:05:15) > > 05. Classic concertos - Liberace (00:11:03) > > 06. Exodus - Liberace (00:01:42) > > 07. Footprints On The Moon - Liberace (00:02:46) > > 08. French medley - Liberace (00:04:42) > > 09. How insensitive - Liberace (00:03:05) > > 10. Johnson rag - Liberace (00:02:09) > > 11. Mixed Emotions - Liberace (00:05:05) > > 12. Moon River - Liberace (00:01:33) > > 13. Moonlight Sonata - Liberace (00:06:02) > > 14. Nocturne in E Flat - Liberace (00:02:21) > > 15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace (00:04:16) > > 16. Sometime I'm Happy - Liberace (00:03:26) > > 17. Stardust - Liberace (00:04:25) > > 18. Suite: Judy blue eyes - Liberace (00:03:57) > > 19. Third man theme - Liberace (00:01:50) > > 20. Tico - Tico - Liberace (00:01:48) > > > > Album : Voices Of Harmony > > 01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) > > 02. Home On The Range - The Mormon Tabernacle Choir (00:03:10) > > 03. How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) > > 04. I Walked Today Where Jesus Walked - The Mormon Tabernacle Choir > (00:04:50) > > 05. I'll Walk With God - The Mormon Tabernacle Choir (00:02:52) > > 06. Love At Home - The Mormon Tabernacle Choir (00:05:31) > > 07. Nearer My God To Thee - The Mormon Tabernacle Choir (00:04:22) > > 08. Ode To Music - The Mormon Tabernacle Choir (00:04:11) > > 09. One Voice - The Mormon Tabernacle Choir (00:02:29) > > 10. Suddenly You're Older - The Mormon Tabernacle Choir (00:04:05) > > 11. Sweet Hour Of Prayer - The Mormon Tabernacle Choir (00:04:00) > > 12. The Long Day Closes - The Mormon Tabernacle Choir (00:03:46) > > 13. The Lost Chord - The Mormon Tabernacle Choir (00:05:06) > > 14. The Wondows Of The World - The Mormon Tabernacle Choir (00:04:08) > > > > Album : Welcome To Hip Hop Country > > 01. Blank - George Lee Jr. & The Crazed Cowboys (00:00:03) > > 02. Bonus - George Lee Jr. & The Crazed Cowboys (00:03:23) > > 03. Deep In The Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) > > 04. Eight Angels From The Sky - George Lee Jr. & The Crazed Cowboys > (00:03:02) > > 05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) > > 06. I Never Wanna Make You Cry - George Lee Jr. & The Crazed Cowboys > (00:03:03) > > 07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys (00:02:58) > > 08. Keep Your Hands Offa My Stetson - George Lee Jr. & The Crazed Cowboys > (00:02:57) > > 09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys (00:03:39) > > 10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) > > 11. Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys > (00:03:08) > > 12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys (00:03:30) > > 13. Summer Days - George Lee Jr. & The Crazed Cowboys (00:03:27) > > 14. Time To Say Goodbye - George Lee Jr. & The Crazed Cowboys (00:03:02) > > 15. Wake Up And Smell The Coffee - George Lee Jr. & The Crazed Cowboys > (00:03:10) > > 16. Welcome To Hip Hop Country - George Lee Jr. & The Crazed Cowboys > (00:03:02) > > > > Album : Windham Hill Piano Sampler > > 01. A Morning With The Roses- (00:04:36) > > 02. Amy's Song -(00:02:41) > > 03. Consolation- (00:06:32) > > 04. In Flight- (00:06:02) > > 05. In This Small Spot- (00:04:09) > > 06. Listening To Evening -(00:07:02) > > 07. LouAnn -(00:04:21) > > 08. Messenger of the Son- (00:03:16) > > 09. Out To Play- (00:03:44) > > > > Thanks Dave and William for offering. > > > > -- > > Kathryn Rhinehart Bassett (Pasadena CA) > > "Genealogy is my bag" "GH is my soap" > > kathryn at bassett.net > > http://bassett.net > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 15 11:48:45 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 15 Sep 2003 11:48:45 -0500 Subject: [AccessD] Cataloguing CDs not MP3s Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271F2@main2.marlow.com> If they are 'legit' CD's, you can connect to one of several CDDB's out there, to catalog the CD automatically. As for your albums, you could try cramming them into the CD-Rom, just replace the laser in there with a needle! Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, September 14, 2003 5:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Cataloguing CDs not MP3s I've been halfheartedly following the former thread and wonder if there's a way to simply stick a CD into the drive, catalogue it and add it to a database, rather than MP3ing the music and copying it to the hard disk. In the best possible world, I would like to take my several thousand CDs, catalogue them and then be able to produce lists such as "Martha My Dear" and get every instance of that jazz classic so I could burn a CD composed of nothing but said tune. I think I have asked this before, but I also have an Oracle turntable and about 6000 superb-quality vinyl records. What technology and software do I need to be able to burn them? (I have everything Coltrane and Mingus ever recorded, plus oh about 100 Beethoven records, almost all of Stravinsky etc.) Can I burn this stuff? A. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Mon Sep 15 12:56:20 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Mon, 15 Sep 2003 11:56:20 -0600 Subject: [AccessD] listbox with rowsource type (ala MS) Message-ID: Charlotte: My objection is demonstrated by the fact that using three quite small tables in a cross product result of 11 million records took 37 seconds to return that empty recordset of exactly zero records against a local database. That suggests to me that there is a great deal of traffic or processing going on to determine that no records should be returned. As Arthur says, such a query cannot take advantage of any indexes which appears to mean that the FE is retrieving a great deal of data, whether or not there is an index, prior to testing the data against this condition. Although I haven't tested against a single large table or query data source for a form, the cross product query demonstrates that some significant traffic or processing is involved with the 'Where False' clause. If I need an empty recordset I find it convenient to open it in add mode (dbAppendOnly) and DataEntry mode for a bound form unless of course such a mode is unsupported. If I want to ensure that absolutely no LAN traffic is incurred I find it handy to use a Union query against a local system table and union in empty strings as the field values and bind to that. Another alternative I have used is to bind a form at runtime, setting the ControlSource property if and when required. Most commonly however, I use an incrementing numeric PK as the first field and set a condition on that indexed field of -1 and I suffer however much traffic that takes. I know I've mixed Recordset and form DataSources in my approaches here but these, and reports, are the most likely places where I would want to efficiently return a zero records recordset. I would be happy to try the '1 = 2' to see if it improves on the 37 seconds when I get home tonight. I can also try this out on an NT LAN on Friday to see how long is required. Please note that I attempted to change the subject line for this issue but we are now back to the original topic where the matter of returning 0 records is really a non issue. Hen >From: "Charlotte Foust" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] listbox with rowsource type (ala MS) >Date: Mon, 15 Sep 2003 08:03:18 -0700 > >Hen, > >Something like SELECT * FROM MyTable WHERE 1=2 returns an empty >recordset immediately in my experience. I have used it for years to >force forms to load right away with no records. This is the same as >WHERE False, although I prefer the explicit syntax. Exactly what is it >that you feel is wrong with that approach? It certainly works and is >the only reliable method I've found for quickly loading a form with an >empty recordset. > >Charlotte Foust > > >-----Original Message----- >From: Henry Simpson [mailto:hsimpson88 at hotmail.com] >Sent: Monday, September 15, 2003 6:03 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] listbox with rowsource type (ala MS) > > >Gustav: > >One of the things I was trying to say was that using a field list row >source >does not submit the query SQL to the BE for retreival so there is no >difference whether or not a where clause is present. Another point is >that >it is only necessary to add an impossible restraint to a single table if >the >SQL is submitted because Jet should process that index first and finding > >nothing to join on, disregard the other table indexes. I'm not >satisfied >that using three 'Where Null' restraints wouldn't cause all three >indexes to >be pulled before the FE started processing the joing. > >My main point was that I have seen the 'Where False' construct advocated > >several times in the past on this list and that had led me to believe >that >someone here had at some time read or determined that the FE SQL parser >had >enough intelligence to determine that it was unnecessary to submit the >request for data to a BE file when this condition was encountered. >Otherwise, how does it make sense? If there are records with 0 in some >field, will it return those? If there are yes/no fields with false >records, would it return those? Apparently not, so what does it >actually do >with this magical condition? Let's just put an end to promoting 'Where >False' as a means to retreiving a limited recordset. > >Hen > > >From: Gustav Brock > >Reply-To: Access Developers discussion and problem > >solving > >To: Access Developers discussion and problem > >solving > >CC: Sad Der > >Subject: Re: [AccessD] listbox with rowsource type (ala MS) > >Date: Mon, 15 Sep 2003 09:17:46 +0200 > > > >Hi Sander > > > >Henry is right (Subject: Where False, was listbox with rowsource type). > >I did a test but with small tables only. > > > >However, assuming each table has a normal autonumber primary key, > >modify the query like this: > > > > SELECT > > tblOne.*, > > tblTwo.*, > > tblThree.* > > FROM > > tblOne, > > tblTwo, > > tblThree > > WHERE > > tblOne.ID Is Null And > > tblTwo.ID Is Null And > > tblThree.ID Is Null; > > > >That should reveal the field names in a split second. > > > >/gustav > > > > > > > Hi Sander > > > > > Maybe I'm missing something, but why all this trouble to get a field > > > > list? > > > > > 1. Create a select query like this: > > > > > SELECT > > > tblOne.*, > > > tblTwo.*, > > > tblThree.* > > > FROM > > > tblOne, > > > tblTwo, > > > tblThree > > > WHERE > > > False; > > > > > and save it as, say, qdyFieldList. > > > This will retrieve all fields from the tables but no records. > > > > > 2. In your form, adjust the combobox to have FieldList as > > > RowSourceType and specify qdyFieldList as the RowSource. > > > > > This should load in a fraction of a section. > > > > > /gustav > > > > > > >>>i've got a problem. I'm using a tab control. On all > > >>>tabs i've got listboxes wich are filled with field > > >>>names of a couple of tables. These listboxes are > > >>>filled using the rowsource type thingy. This seems to > > >>>be the original MS-way-of-programming. > > >>> > > >>>Below I pasted the code. In the property RowSourceType > > >>>of the listbox I fill in the function name. > > >>> > > >>>When I programmed it it worked fine. The client is on > > >>>the desktop of the user and the BE is on our test > > >>>network. It took about 4 seconds to load each > > >>>tab-page. > > >>> > > >>>Now it's in production (on another network) and if a switch between > > > >>>tab pages now takes almost 2 MINUTES!!! > > >>> > > >>>Any ideas how this is possible?? > > >>> > > >>>tia > > >>> > > >>>Sander > > > > >>>Private Function ListMeetVelden(fld As Control, id As Variant, row > > >>>As Variant, col As Variant, code As > > >>>Variant) As Variant > > >>> > > >>> Static strVelden() As String > > >>> Static lngRows As Long > > >>> Dim varRetVal As Variant > > >>> Dim oMeetTable As DAO.Recordset > > >>> Dim i As Integer > > >>> > > >>> On Error GoTo ListMeetVelden_Error > > >>> > > >>> Select Case code > > >>> Case acLBInitialize > > >>> ReDim strVelden(0) > > >>> 'fill array with fields. > > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxxx", > > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > >>> With oMeetTable > > >>> For i = 0 To .Fields.Count - 1 > > >>> strVelden(UBound(strFields)) = "C_" & .Fields(i).Name > > >>> ReDim Preserve strVelden(0 To > > >>>UBound(strVelden) + 1) > > >>> Next i > > >>> End With > > >>> > > >>> Set oMeetTable = Nothing > > >>> 'fill array with fields. > > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > >>> With oMeetTable > > >>> For i = 0 To .Fields.Count - 1 > > >>> strVelden(UBound(strFields)) = "D_" & .Fields(i).Name > > >>> ReDim Preserve strVelden(0 To > > >>>UBound(strFields) + 1) > > >>> Next i > > >>> End With > > >>> > > >>> Set oMeetTable = Nothing > > >>> 'fill array with fields. > > >>> Set oMeetTable = CurrentDb().OpenRecordset(Name:="tblxxx", > > >>>Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) > > >>> With oMeetTable > > >>> For i = 0 To .Fields.Count - 1 > > >>> strVelden(UBound(strVelden)) = "E_" & .Fields(i).Name > > >>> ReDim Preserve strVelden(0 To > > >>>UBound(strVelden) + 1) > > >>> Next i > > >>> End With > > >>> > > >>> ReDim Preserve strVelden(0 To UBound(strVelden) > > >>>- 1) > > >>> > > >>> lngRows = UBound(strVelden) + 1 ' array is > > >>>0-based > > >>> varRetVal = lngRows > > >>> Case acLBOpen > > >>> varRetVal = Timer 'Unique ID for control > > >>> Case acLBGetRowCount > > >>> varRetVal = lngRows > > >>> Case acLBGetColumnCount > > >>> varRetVal = 1 > > >>> Case acLBGetColumnWidth > > >>> varRetVal = -1 'Default of -1 uses default > > >>>column width > > >>> Case acLBGetValue > > >>> varRetVal = strVelden(row) > > >>> Case acLBEnd > > >>> Erase strVelden > > >>> End Select > > >>> > > >>> ListMeetVelden = varRetVal > > >>> > > >>>ListMeetVelden_Exit: > > >>> Set oMeetTable = Nothing > > >>> Exit Function > > >>>ListMeetVelden_Error: > > >>> Set oMeetTable = Nothing > > >>> Call g_oGenErr.Throw("xxx.frmxxx", "tblxxxx") > > >>>End Function > >_________________________________________________________________ >Tired of spam? Get advanced junk mail protection with MSN 8. >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From pedro at plex.nl Mon Sep 15 14:11:49 2003 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 15 Sep 2003 21:11:49 +0200 Subject: Query so slow. was; Re: [AccessD] delete duplicates References: <200309111006.h8BA6PsC018296@mailhostC.plex.net> <10414476425.20030911122406@cactus.dk> Message-ID: <00c501c37bbe$e2858630$fac581d5@pedro> Hello Group, i use the query's below to delete he second or third etc duplicate from fieldA. It is working fine with 50 records or so. When i use it on a Table with 9000 records query2 still runs after a few hours. What can be wrong? TIA Pedro Janssen SELECT First(test.PK) AS FirstOfPK, test.FieldA >From test GROUP BY test.FieldA; DELETE test.FieldA FROM test WHERE test.PK Not In (Select FirstOfPK from Query1); From john at winhaven.net Mon Sep 15 16:57:20 2003 From: john at winhaven.net (John B.) Date: Mon, 15 Sep 2003 16:57:20 -0500 Subject: [AccessD] Lose Focus Message-ID: Does the Lose Focus event fire when then shortcut menu is popped up? John B. From DWUTKA at marlow.com Mon Sep 15 17:11:34 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 15 Sep 2003 17:11:34 -0500 Subject: [AccessD] Lose Focus Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271F5@main2.marlow.com> It should because the popup menu would have the focus. Drew -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Monday, September 15, 2003 4:57 PM To: AccessD Subject: [AccessD] Lose Focus Does the Lose Focus event fire when then shortcut menu is popped up? John B. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 15 17:29:39 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2003 15:29:39 -0700 Subject: [AccessD] Lose Focus Message-ID: Sort of. The exit event of the form doesn't occur, so context menu won't automatically trigger a save of the current record. Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Monday, September 15, 2003 2:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Lose Focus It should because the popup menu would have the focus. Drew -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Monday, September 15, 2003 4:57 PM To: AccessD Subject: [AccessD] Lose Focus Does the Lose Focus event fire when then shortcut menu is popped up? John B. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sep 15 17:41:27 2003 From: john at winhaven.net (John B.) Date: Mon, 15 Sep 2003 17:41:27 -0500 Subject: [AccessD] Lose Focus In-Reply-To: Message-ID: Charlotte: That's what I'm experiencing. I have a function that is called by shortcut menu from a number of different forms. The record needs to be saved before it will work correctly. I could save the record automatically in the after_update event but this would be saving the record after each update for something that rarely occurrs. The only time this is an issue is if someone adds a new row (this is a continuos form) and then uses the shortcut function immediately. Of course a client just called and noted this. Click on another row first is the immediate work around but not real obvious to them. I'm thinking I should be able to use ActiveForm to perform a SaveRecord when the shortcut menu calls the function. Any help on that idea would be welcome. John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Monday, September 15, 2003 5:30 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Sort of. The exit event of the form doesn't occur, so context menu > won't automatically trigger a save of the current record. > > Charlotte Foust > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Monday, September 15, 2003 2:12 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Lose Focus > > > It should because the popup menu would have the focus. > > Drew > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Monday, September 15, 2003 4:57 PM > To: AccessD > Subject: [AccessD] Lose Focus > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > John B. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 15 17:41:28 2003 From: john at winhaven.net (John B.) Date: Mon, 15 Sep 2003 17:41:28 -0500 Subject: [AccessD] Lose Focus In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271F5@main2.marlow.com> Message-ID: That's what I thought but I'm not having any luck with it. :o( > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka > Sent: Monday, September 15, 2003 5:12 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Lose Focus > > > It should because the popup menu would have the focus. > > Drew > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Monday, September 15, 2003 4:57 PM > To: AccessD > Subject: [AccessD] Lose Focus > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > John B. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Mon Sep 15 21:58:08 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 15 Sep 2003 19:58:08 -0700 Subject: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) References: Message-ID: <3F667C40.3060003@shaw.ca> I took a GIS course, a couple of years back at U Vic to keep my hand in. It was all Unix MapSys. I am still surprised how many people don't think out of the box with GIS. I once had to find out how many people had moved in a year in a municipality surrounded by Ottawa. So I did it with address matching and maps showing the actual moves; took about a month to do. I came up with a figure of 30%. The urban planners started berating me about the figure being way too high. So I showed them the figures I got from Bell Canada. The number of new residential phone connects in the year was 33% in that municipality. At that time there were no cell phones. One phone call to Bell could have given them a ball park figure rather than using GIS. John B. wrote: >If you haven't worked in GIS for awhile I think you'de be pleasantly >surprised how far they've come. > >I was a GIS Project Manager in the late 90's just as Intergraph made a huge >switch in philosphy. They adapted Windows NT as their OS of choice and >jumped from Unix to NT, Eventually, after they migrated their customer base, >they got out of the Unix OS(Clipper) business all together, although they do >support using other OS based DBs via networks. > >There are basically two main companies involved in GIS now, Intergraph >(which is publicly held) and ESRI (which is privately owned). Intergraph has >a lot of other companies using their technologies to target specfic >tasks/audiences. ESRI has a lot of companies writing add-ons or supplements >to their software. > >It's an amazing set of technologies! > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>Sent: Sunday, September 14, 2003 10:02 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler >> >> >>Cadastral from french cadastre meaning to register. Hence a Land >>registry system. >> >>However don't go near the Quebec Land Registry based on old >>Seigneurial land titles everything was measured in perches or some >>other obscure 17'th century measurement. >> >> Yup I worked on two GIS cadastral mapping systems linked to land >>assessment databases >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 >>Intergraph system in Calgary. >> >>Gustav Brock wrote: >> >> >> >>>Hi Jim >>> >>>Sounds impressive. But cadastral? Even my trusted "American Heritage >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on >>>this. Google, however, revealed this page among others: >>> >>> http://www.co.blm.gov/cadastral/cadhome.htm >>> >>>Is that what your project was about? >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>>>Wow, that dates things...I was pretty decent Fortran programmer >>>> >>>> >>back in the >> >> >>>>late seventies, early eighties...I build a complete cadastral AutoCAD >>>>application that translated coordinates from Clarke's 1886 >>>> >>>> >>global positional >> >> >>>>formula spheroid to conic and mecaider map projections, on an Intergraph >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and >>>>remember little about it except that one period missing in a >>>> >>>> >>the code could >> >> >>>>result in 100 plus pages of errors. I hope they have improved the error >>>>handling routines. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Thanks for the heads up Marty and maybe I will take a stroll down memory >>>>lane. (Even though it is a bit over-grown.) >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Jim >>>> >>>> >>>> >>>> >>> >>> >>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>>>Sent: Saturday, September 13, 2003 5:09 PM >>>>To: Access Developers discussion and problem solving >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>I was looking at the Fortran95.Net compiler on this site when I came >>>>across this free for personal use Fortran 77 compiler. a bit dated >>>>but... Still useable with some of the good stat-math packs that are >>>>floating around on the net. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Mon Sep 15 22:01:33 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 15 Sep 2003 20:01:33 -0700 Subject: [AccessD] cataloguing mp3 albums References: <2F8793082E00D4119A1700B0D0216BF8022271F1@main2.marlow.com> Message-ID: <3F667D0D.9050801@shaw.ca> 32K is the limit. I have been caught before ;) Drew Wutka wrote: >I'm not in charge of the List in that manner. You can attach to a List >email, but you have to be under the email size limit (I think it's 15k). > >Drew > >-----Original Message----- >From: dave sharpe [mailto:davesharpe2 at cox.net] >Sent: Sunday, September 14, 2003 11:54 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] cataloguing mp3 albums > > >( Drew if We can POST please advise how. ) > >Friends > >I didn't see a way to POST files for the list. > >I have sent the MDB directly to Kathryn. > >Assuming that We can't; if any one would >like a copy, let Me know and I'll send You >a copy directly ( zip is only 35K ). > >Dave > >----- Original Message ----- >From: "dave sharpe" >To: "Access Developers discussion and problem solving" > >Sent: Sunday, September 14, 2003 9:50 AM >Subject: Re: [AccessD] cataloguing mp3 albums > > > > >>Kathryn >> >>I have Your listings. I have to run out for a little while. Should have >> >> >done > > >>by 13:00 edt >> >>Dave >> >>----- Original Message ----- >>From: "Kathryn Bassett" >>To: "Access Developers discussion and problem solving" >> >>Sent: Saturday, September 13, 2003 10:51 PM >>Subject: RE: [AccessD] cataloguing mp3 albums >> >> >> >> >>>It dawned on me that I don't need to wait til I'm done to do this. I've >>> >>> >>got a good sampling so that the coding can be done, and I can always do >> >> >the > > >>query again when I'm finished ripping. >> >> >>>Album : 18 Original Greatest Hits >>>01. All Night Long - Jerry Lee Lewis (00:02:04) >>>02. Big Blon' Baby - Jerry Lee Lewis (00:01:41) >>>03. Big Legged Woman - Jerry Lee Lewis (00:02:25) >>>04. Breathless - Jerry Lee Lewis (00:02:43) >>>05. Crazy Arms - Jerry Lee Lewis (00:02:44) >>>06. Drinkin' Wine Spo-Dee-O-Dee - Jerry Lee Lewis (00:02:35) >>>07. Great Balls Of Fire - Jerry Lee Lewis (00:01:52) >>>08. High School Confidential - Jerry Lee Lewis (00:02:30) >>>09. It'll Be Me - Jerry Lee Lewis (00:02:46) >>>10. Jambalaya - Jerry Lee Lewis (00:02:00) >>>11. Lewis Boogie - Jerry Lee Lewis (00:01:58) >>>12. Matchbox - Jerry Lee Lewis (00:01:43) >>>13. Put Me Down - Jerry Lee Lewis (00:02:08) >>>14. Ubangi Stomp - Jerry Lee Lewis (00:01:46) >>>15. What'd I Say - Jerry Lee Lewis (00:02:27) >>>16. When The Saints Go Marching' In - Jerry Lee Lewis (00:02:09) >>>17. Whole Lot Of Shakin' Goin' On - Jerry Lee Lewis (00:02:53) >>>18. Wild One - Jerry Lee Lewis (00:01:48) >>> >>>Album : Biggest Hits >>>01. 11 Months And 29 Days - Johnny Paycheck (00:03:28) >>>02. Colorado Cool-Aid - Johnny Paycheck (00:02:57) >>>03. Drinkin' And Drivin' - Johnny Paycheck (00:03:37) >>>04. Fifteen Beers - Johnny Paycheck (00:03:25) >>>05. Friend, Lover, Wife - Johnny Paycheck (00:05:04) >>>06. I Can'T Hold Myself In Line (With Merle Haggard) - Johnny Paycheck >>> >>> >>(00:03:05) >> >> >>>07. She'S All I Got - Johnny Paycheck (00:02:42) >>>08. Take This Job And Shove It - Johnny Paycheck (00:03:47) >>>09. The Outlaw'S Prayer - Johnny Paycheck (00:03:08) >>>10. Yesterday'S News Just Hit Home Today - Johnny Paycheck (00:02:36) >>> >>>Album : Gershwin : Rhapsody - Tilson Thomas >>>01. An American In Paris - George Gershwin (00:18:37) >>>02. Funny Face - George Gershwin (00:05:54) >>>03. Girl Crazy - George Gershwin (00:05:45) >>>04. Let 'Em Eat Cake - George Gershwin (00:08:18) >>>05. Of Thee I Sing - George Gershwin (00:04:40) >>>06. Oh, Kay - George Gershwin (00:07:11) >>>07. Rhapsody In Blue - George Gershwin (00:13:46) >>>08. Strike Up The Band - George Gershwin (00:07:11) >>> >>>Album : Greatest Hits >>>01. A Worried man - Kingston Trio (00:02:54) >>>02. America - Herb Alpert & The Tijuana Brass (00:02:50) >>>03. Bad Man's Blunder - Kingston Trio (00:02:40) >>>04. El Matador - Kingston Trio (00:02:29) >>>05. Everglades - Kingston Trio (00:02:23) >>>06. Getting Sentimental Over You - Herb Alpert & The Tijuana Brass >>> >>> >>(00:02:13) >> >> >>>07. Greenback Dollar - Kingston Trio (00:02:54) >>>08. Lonely Bull - Herb Alpert & The Tijuana Brass (00:02:18) >>>09. Love Potion #9 - Herb Alpert & The Tijuana Brass (00:03:03) >>>10. Mexican Shuffle - Herb Alpert & The Tijuana Brass (00:02:13) >>>11. MTA - Kingston Trio (00:03:17) >>>12. Never On Sunday - Herb Alpert & The Tijuana Brass (00:02:43) >>>13. Reuben James - Kingston Trio (00:03:00) >>>14. Reverand Mr. Black - Kingston Trio (00:03:05) >>>15. Scotch and Soda - Kingston Trio (00:02:35) >>>16. South Of The Border - Herb Alpert & The Tijuana Brass (00:02:11) >>>17. Spanish Flea - Herb Alpert & The Tijuana Brass (00:02:09) >>>18. Taste Of Honey - Herb Alpert & The Tijuana Brass (00:02:46) >>>19. The Tijuana Jail - Kingston Trio (00:02:52) >>>20. Tijuana Taxi - Herb Alpert & The Tijuana Brass (00:02:08) >>>21. Tom Dooly - Kingston Trio (00:03:05) >>>22. Where Have all the Flowers Gone - Kingston Trio (00:03:05) >>>23. Whipped Cream - Herb Alpert & The Tijuana Brass (00:02:36) >>>24. Zorba The Greek - Herb Alpert & The Tijuana Brass (00:04:23) >>> >>>Album : Guitar Sampler >>>01. Andecy - Andrew York (00:04:09) >>>02. Blue Ridge - Bruce Becvar (00:04:11) >>>03. Cheyenne - Peter Maunu (00:04:18) >>>04. Night Crossing - John Doan (00:06:21) >>>05. No City Lights - James Gordon (00:05:11) >>>06. On The Way - David Cullen (00:04:18) >>>07. Prelude From The Bridal Suite - Eric Tingstad (00:03:09) >>>08. Sun And Water - Danny Heines (00:05:37) >>>09. The Emperor's Choice - Chris Proctor & Paul Machlis (00:04:05) >>>10. The Handing Down - Edward Gerhard (00:04:03) >>>11. The Silver Plume Waltz - Bill Mize (00:03:34) >>> >>>Album : In The Digital Mood >>>01. A String Of Pearls - Glenn Miller Orchestra (00:03:16) >>>02. Chattannooga Choo-Choo - Glenn Miller Orchestra (00:03:41) >>>03. In The Mood - Glenn Miller Orchestra (00:03:40) >>>04. Kalamazoo - Glenn Miller Orchestra (00:02:42) >>>05. Little Brown Jug - Glenn Miller Orchestra (00:03:08) >>>06. Moonlight Serenade - Glenn Miller Orchestra (00:03:16) >>>07. Pennsylvania 6-5000 - Glenn Miller Orchestra (00:03:13) >>>08. St. Louis Blues March - Glenn Miller Orchestra (00:04:19) >>>09. The American Patrol - Glenn Miller Orchestra (00:03:25) >>>10. Tuxedo Junction - Glenn Miller Orchestra (00:03:39) >>> >>>Album : It's A Sunshine Day: The Best Of The Brady Bunch >>>01. American Pie - The Brady Bunch (00:03:38) >>>02. Born To Say Goodbye - The Brady Bunch (00:02:53) >>>03. Candy (Sugar Shoppe) - The Brady Bunch (00:02:12) >>>04. Charlotte's Web - The Brady Bunch (00:02:56) >>>05. Cheyenne - The Brady Bunch (00:03:00) >>>06. Frosty The Snowman - The Brady Bunch (00:01:48) >>>07. Gonna Find A Rainbow - The Brady Bunch (00:02:36) >>>08. I Just Want To Be Your Friend - The Brady Bunch (00:02:27) >>>09. It's A Sunshine Day - The Brady Bunch (00:02:31) >>>10. Keep On - The Brady Bunch (00:02:35) >>>11. Merry Go Round - The Brady Bunch (00:01:58) >>>12. Promo Intro - The Brady Bunch (00:00:27) >>>13. Promo Outro - The Brady Bunch (00:00:12) >>>14. Road To Love - The Brady Bunch (00:03:17) >>>15. Sweet Sweetheart - The Brady Bunch (00:02:38) >>>16. Theme From The Brady Bunch - The Brady Bunch (00:00:58) >>>17. Time To Change - The Brady Bunch (00:02:08) >>>18. Truckin' Back To You - The Brady Bunch (00:02:51) >>>19. We Can Make The World A Whole Lot Brighter - The Brady Bunch >>> >>> >>(00:02:23) >> >> >>>20. We'll Always Be Friends - The Brady Bunch (00:02:32) >>> >>>Album : Johnny Cash- Greatest Hits Volume 1 >>>01. Dont Take Your Guns To Town - Johnny Cash (00:03:01) >>>02. Five Feet High And Rising - Johnny Cash (00:01:49) >>>03. I Walk The Line - Johnny Cash (00:02:36) >>>04. It Ain't Me Babe - Johnny Cash (00:03:04) >>>05. Jackson - Johnny Cash (00:02:48) >>>06. Orange Blossom Special - Johnny Cash (00:03:08) >>>07. Ring Of Fire - Johnny Cash (00:02:39) >>>08. The Ballad Of Ira Hayes - Johnny Cash (00:04:11) >>>09. The One On The Right Is On The Left - Johnny Cash (00:02:50) >>>10. The Rebel - Johnny Yuma - Johnny Cash (00:01:54) >>>11. Understand Your Man - Johnny Cash (00:02:45) >>> >>>Album : Made In U.S.A. >>>01. 409 - Beach Boys (00:01:59) >>>02. Barbara Ann - Beach Boys (00:02:04) >>>03. Be True to Your School - Beach Boys (00:02:07) >>>04. California Dreamin' - Beach Boys (00:03:10) >>>05. California Girls - Beach Boys (00:02:36) >>>06. Caroline, No - Beach Boys (00:02:17) >>>07. Come Go With Me - Beach Boys (00:02:07) >>>08. Dance, Dance, Dance - Beach Boys (00:01:58) >>>09. Do It Again - Beach Boys (00:02:19) >>>10. Don't Worry Baby - Beach Boys (00:02:42) >>>11. Fun, Fun, Fun - Beach Boys (00:02:16) >>>12. Getcha Back - Beach Boys (00:03:01) >>>13. God Only Knows - Beach Boys (00:02:48) >>>14. Good Vibrations - Beach Boys (00:03:36) >>>15. Help Me, Rhonda - Beach Boys (00:02:45) >>>16. Heroes And Villians - Beach Boys (00:03:37) >>>17. I Get Around - Beach Boys (00:02:11) >>>18. Rock 'n' Roll To The Rescue - Beach Boys (00:03:44) >>>19. Rock And Roll Music - Beach Boys (00:02:28) >>>20. Sloop John B. - Beach Boys (00:02:55) >>>21. Surfer Girl - Beach Boys (00:02:23) >>>22. Surfin' Safari - Beach Boys (00:02:06) >>>23. Surfin' USA - Beach Boys (00:02:27) >>>24. When I Grow Up - Beach Boys (00:02:01) >>>25. Wouldn't It Be Nice - Beach Boys (00:02:22) >>> >>>Album : Messiah Highlights >>>01. And The Glory Of The Lord - London Philharmonic Orchestra And Chorus >>> >>> >>(00:03:11) >> >> >>>02. Comfort Ye My People - London Philharmonic Orchestra And Chorus >>> >>> >>(00:07:42) >> >> >>>03. For Unto Us A Child Is Born - London Philharmonic Orchestra And >>> >>> >Chorus > > >>(00:04:11) >> >> >>>04. Hallelujah! - London Philharmonic Orchestra And Chorus (00:04:15) >>>05. I Know That My Redeemer Liveth - London Philharmonic Orchestra And >>> >>> >>Chorus (00:07:28) >> >> >>>06. Overture - London Philharmonic Orchestra And Chorus (00:03:21) >>>07. Pastoral Symphony - London Philharmonic Orchestra And Chorus >>> >>> >>(00:03:06) >> >> >>>08. Worthy Is The Lamb - London Philharmonic Orchestra And Chorus >>> >>> >>(00:07:04) >> >> >>>Album : Night Music CD 1 >>>01. Beethoven - Moonlight Sonata (00:05:18) >>>02. Chopin - Piano Concerto No. 2 (00:09:01) >>>03. Debussy - Clair de lune (00:05:48) >>>04. Faure - Sicilienne (00:03:40) >>>05. Godard - Berceuse (00:05:29) >>>06. Grieg - To Spring (00:02:12) >>>07. Haydn-String Quartet Op76 No. (00:05:19) >>>08. J.S. Bach-Brandenburg Concert (00:05:16) >>>09. Mozart - Symphony No. 40 (00:07:48) >>>10. Mozart-Eine kleine Nachtmusik (00:06:07) >>>11. Pachelbel - Canon (00:04:47) >>>12. Tchaikovsky - Melodie (00:04:31) >>>13. Torelli-Trumpet Concerto No.2 (00:02:29) >>> >>>Album : Night Music CD 2 >>>01. Beethoven-Piano Concerto No. (00:05:40) >>>02. Debussy-String quartet op. 10 (00:07:59) >>>03. Grieg-Peer Gynt-Solveig's Son (00:04:37) >>>04. Handel - Watermusic - Adagio (00:03:06) >>>05. Handel-Concerto Grosso Op. 6 (00:02:36) >>>06. Haydn-Symphony No.96-Andante (00:05:08) >>>07. Mendelssohn- A Midsummer Nigh (00:06:26) >>>08. Mozart- Flute & Harp Concerto (00:07:35) >>>09. Shubert- Moment musical (00:05:47) >>>10. Tchaikovsky-Swan Lake-Andante (00:06:45) >>>11. Vivaldi - Spring - Largo (00:02:42) >>> >>>Album : Night Music CD 2 >>>01. Mozart- Piano sonata K.332 (00:05:23) >>> >>>Album : Night Music CD 3 >>>01. Albinoni-Adagio (00:11:30) >>>02. Beethoven-Les Adieux (00:04:30) >>>03. Beethoven-Symphony No 1 (00:06:51) >>>04. Bizet-L'Arlesienne (00:03:36) >>>05. Boccherini-Cello Concerto (00:05:55) >>>06. Corelli-Christmas-Pastorale (00:04:10) >>>07. Faure-Pavane (00:07:46) >>>08. Haydn-StringQuartet Op.76No.4 (00:05:35) >>>09. Marcello-Oboe Concerto (00:04:48) >>>10. Mendelssohn-On Wings Of Song (00:04:38) >>>11. Mozart-Piano Concerto K.467 (00:06:21) >>>12. Mozart-Salzburg Symphony K138 (00:03:54) >>>13. Tchaikovsky-Chanson Triste (00:03:00) >>> >>>Album : Popular Classics 1 >>>01. Beethoven - Romance in F (00:06:25) >>>02. Chopin - Waltz in C# minor (00:03:22) >>>03. Chopin-Nocturne in B Flat Min (00:05:25) >>>04. Faure-Song Without Words No. (00:02:19) >>>05. Handel - Passaccaglia (00:04:05) >>>06. Haydn - Surprise Symphony(2nd (00:07:21) >>>07. Liszt - Consolation No. 5 (00:03:13) >>>08. Mendelssohn - Wedding March (00:04:46) >>>09. Schumann - Pleading Child (00:01:36) >>> >>>Album : Popular Classics 2 >>>01. Beethoven - Fur Elise (00:02:47) >>>02. Beethoven - Minuet in G (00:02:13) >>>03. Beethoven - Moonlight Sonata (00:05:39) >>>04. Bizet-Intermezzo(Carmen Suite (00:02:58) >>>05. Brahms - Hungarian Dance No. (00:02:51) >>>06. Grieg - Anitra's Dance (00:03:39) >>>07. Schubert - Serenade (00:03:35) >>>08. Strauss -Thunder and Lightnin (00:03:17) >>>09. Strauss-DieFledermaus Overtur (00:08:42) >>> >>>Album : Popular Classics 3 >>>01. Bach - Prelude in C (00:02:10) >>>02. Beethoven - Symphony No. 5 (00:06:36) >>>03. Bizet - Intermezzo from Carme (00:03:06) >>>04. Bizet - Song of Toreadors (00:02:45) >>>05. Brahms - Hungarian No.5 (00:03:00) >>>06. Dvorak - New World Sym.(4th) (00:11:57) >>>07. Grieg - Anitra's Dance (00:03:47) >>>08. Mozart - Marriage of Figaro (00:04:42) >>>09. Strauss - Blue Danube (00:08:50) >>>10. Tchaikovsky - Swan Lake(Waltz (00:05:03) >>> >>>Album : Popular Classics 4 >>>01. Bach - Air On The G String (00:06:00) >>>02. Bizet - Aragonaise from Carme (00:02:34) >>>03. Bizet-Carillon from L'Arlesie (00:04:52) >>>04. Chopin - Fantasie Impromptu (00:05:00) >>>05. Chopin - Minute Waltz (00:01:56) >>>06. Chopin - Prelude in A (00:00:58) >>>07. Chopin - Waltz in A Flat (00:03:55) >>>08. Chopin-Etude in D Op.10 No.3 (00:04:17) >>>09. Debussy - 1st Arabesque (00:03:38) >>>10. Delibes - Coppelia Suite (00:02:50) >>>11. Saint-Saens - The Swan (00:03:24) >>>12. Schubert - Moments Musical (00:01:57) >>>13. Schubert - Trout Quintet (00:08:35) >>>14. Schumann - Warum (00:02:34) >>>15. Tchaikovsky -Chanson Triste (00:02:45) >>>16. Tchaikovsky-Dance of the Swan (00:01:49) >>> >>>Album : Popular Classics 5 >>>01. Brahms - Waltz in A Flat (00:01:44) >>>02. Chopin - Raindrop Prelude (00:04:47) >>>03. Debussy - Clair De Lune (00:04:33) >>>04. Debussy-Girl With Flaxen Hair (00:02:36) >>>05. Dvorak - Humoresque (00:02:46) >>>06. Glinka - Russlan and Ludmilla (00:05:47) >>>07. Gossec - Gavotte In D (00:01:47) >>>08. Grieg-Solveig's Song-Peer Gyn (00:05:30) >>>09. Massanet-Meditation from Thai (00:06:02) >>>10. Rubinstein-Melody in F (00:03:49) >>>11. Schumann - Traumerie (00:02:51) >>>12. Strauss - Pizzicato Polka (00:02:59) >>>13. Strauss - Radetzky March (00:02:27) >>>14. Suppe - Light Calvary Overtur (00:07:34) >>>15. Tchaikovsky - Swan Lake(Scene (00:02:57) >>> >>>Album : Rarities >>>01. A Jitterbug's Lullaby - The Andrew Sisters (00:02:52) >>>02. Beat Me Daddy Eight To The Bar - The Andrew Sisters (00:03:05) >>>03. Boogie Woogie Bugle Boy - The Andrew Sisters (00:02:41) >>>04. Don't Fence Me In - The Andrew Sisters (00:03:00) >>>05. Hit The Road - The Andrew Sisters (00:02:33) >>>06. I Love You Much Too Much - The Andrew Sisters (00:02:59) >>>07. Long Time No See - The Andrew Sisters (00:03:09) >>>08. Six Jerks In A Jeep - The Andrew Sisters (00:02:41) >>>09. Six Times A Week And Twice On A Sunday - The Andrew Sisters >>> >>> >(00:02:38) > > >>>10. You're Just A Flower From An Old Bouquet - The Andrew Sisters >>> >>> >>(00:02:53) >> >> >>>Album : Scott Joplin: Piano Rags >>>01. Bethena - A Concert Waltz - Joshua Rifkin (00:05:20) >>>02. Country Club Ragtime Two Step - Joshua Rifkin (00:04:58) >>>03. Elite Syncopations - Joshua Rifkin (00:03:02) >>>04. Euphonic Sounds A Syncopated Novelty - Joshua Rifkin (00:03:58) >>>05. Fig Leaf Rag - Joshua Rifkin (00:04:42) >>>06. Gladiolus Rag - Joshua Rifkin (00:04:29) >>>07. Magnetic Rag Syncopations Classiques - Joshua Rifkin (00:05:13) >>>08. Maple Leaf Rag - Joshua Rifkin (00:03:20) >>>09. Paragon Rag - Joshua Rifkin (00:03:49) >>>10. Pine Apple Rag - Joshua Rifkin (00:03:30) >>>11. Scott Joplin's New Rag - Joshua Rifkin (00:03:11) >>>12. Solace - A Mexican Serenade - Joshua Rifkin (00:06:45) >>>13. Stoptime Rag - Joshua Rifkin (00:02:56) >>>14. The Cascades A Rag - Joshua Rifkin (00:03:09) >>>15. The Entertainer A Ragtime Two-Step - Joshua Rifkin (00:05:04) >>>16. The Ragtime Dance - Joshua Rifkin (00:03:18) >>>17. Weeping Willow A Ragtime Two-Step - Joshua Rifkin (00:04:24) >>> >>>Album : The Concert In Central Park >>>01. 59th Street Bridge Song (Feelin' Groovy) - Paul Simon Art Garfunkel >>> >>> >>(00:04:09) >> >> >>>02. America - Paul Simon Art Garfunkel (00:05:50) >>>03. American Tune - Paul Simon Art Garfunkel (00:04:13) >>>04. April Come She Will - Paul Simon Art Garfunkel (00:06:02) >>>05. Boxer - Paul Simon Art Garfunkel (00:03:55) >>>06. Bridge Over Troubled Water - Paul Simon Art Garfunkel (00:02:37) >>>07. Fifty Ways To Leave Your Lover - Paul Simon Art Garfunkel (00:02:19) >>>08. Heart In New York - Paul Simon Art Garfunkel (00:03:22) >>>09. Homeward Bound - Paul Simon Art Garfunkel (00:02:49) >>>10. Kodachrome/Maybellene - Paul Simon Art Garfunkel (00:03:52) >>>11. Late In The Evening - Paul Simon - Art Garfunkel (00:04:22) >>>12. Me And Julio Down By The Schoolyard - Paul Simon Art Garfunkel >>> >>> >>(00:04:48) >> >> >>>13. Mrs. Robinson - Paul Simon - Art Garfunkel (00:03:52) >>>14. Old Friends - Paul Simon - Art Garfunkel (00:04:33) >>>15. Scarborough Fair - Paul Simon Art Garfunkel (00:04:23) >>>16. Slip Slidin' Away - Paul Simon Art Garfunkel (00:04:56) >>>17. Sound Of Silence - Paul Simon Art Garfunkel (00:04:54) >>>18. Still Crazy After All These Years - Paul Simon Art Garfunkel >>> >>> >>(00:02:01) >> >> >>>19. Wake Up Little Susie - Paul Simon Art Garfunkel (00:02:52) >>> >>>Album : The Liberace Collection >>>01. 12th Street Rag - Liberace (00:02:27) >>>02. Alley Cat - Liberace (00:02:03) >>>03. Beer barrel polka - Liberace (00:01:25) >>>04. Claire De Lune - Liberace (00:05:15) >>>05. Classic concertos - Liberace (00:11:03) >>>06. Exodus - Liberace (00:01:42) >>>07. Footprints On The Moon - Liberace (00:02:46) >>>08. French medley - Liberace (00:04:42) >>>09. How insensitive - Liberace (00:03:05) >>>10. Johnson rag - Liberace (00:02:09) >>>11. Mixed Emotions - Liberace (00:05:05) >>>12. Moon River - Liberace (00:01:33) >>>13. Moonlight Sonata - Liberace (00:06:02) >>>14. Nocturne in E Flat - Liberace (00:02:21) >>>15. Piano Concert No. 1 in B Minor Tschaikovsky - Liberace (00:04:16) >>>16. Sometime I'm Happy - Liberace (00:03:26) >>>17. Stardust - Liberace (00:04:25) >>>18. Suite: Judy blue eyes - Liberace (00:03:57) >>>19. Third man theme - Liberace (00:01:50) >>>20. Tico - Tico - Liberace (00:01:48) >>> >>>Album : Voices Of Harmony >>>01. Danny Boy - The Mormon Tabernacle Choir (00:04:27) >>>02. Home On The Range - The Mormon Tabernacle Choir (00:03:10) >>>03. How Great Thou Art - The Mormon Tabernacle Choir (00:03:37) >>>04. I Walked Today Where Jesus Walked - The Mormon Tabernacle Choir >>> >>> >>(00:04:50) >> >> >>>05. I'll Walk With God - The Mormon Tabernacle Choir (00:02:52) >>>06. Love At Home - The Mormon Tabernacle Choir (00:05:31) >>>07. Nearer My God To Thee - The Mormon Tabernacle Choir (00:04:22) >>>08. Ode To Music - The Mormon Tabernacle Choir (00:04:11) >>>09. One Voice - The Mormon Tabernacle Choir (00:02:29) >>>10. Suddenly You're Older - The Mormon Tabernacle Choir (00:04:05) >>>11. Sweet Hour Of Prayer - The Mormon Tabernacle Choir (00:04:00) >>>12. The Long Day Closes - The Mormon Tabernacle Choir (00:03:46) >>>13. The Lost Chord - The Mormon Tabernacle Choir (00:05:06) >>>14. The Wondows Of The World - The Mormon Tabernacle Choir (00:04:08) >>> >>>Album : Welcome To Hip Hop Country >>>01. Blank - George Lee Jr. & The Crazed Cowboys (00:00:03) >>>02. Bonus - George Lee Jr. & The Crazed Cowboys (00:03:23) >>>03. Deep In The Bayou - George Lee Jr. & The Crazed Cowboys (00:03:11) >>>04. Eight Angels From The Sky - George Lee Jr. & The Crazed Cowboys >>> >>> >>(00:03:02) >> >> >>>05. Half A Dream - George Lee Jr. & The Crazed Cowboys (00:03:04) >>>06. I Never Wanna Make You Cry - George Lee Jr. & The Crazed Cowboys >>> >>> >>(00:03:03) >> >> >>>07. I'm Still On Fire - George Lee Jr. & The Crazed Cowboys (00:02:58) >>>08. Keep Your Hands Offa My Stetson - George Lee Jr. & The Crazed >>> >>> >Cowboys > > >>(00:02:57) >> >> >>>09. Lone Star In The Sky - George Lee Jr. & The Crazed Cowboys >>> >>> >(00:03:39) > > >>>10. Miracle - George Lee Jr. & The Crazed Cowboys (00:03:02) >>>11. Only The Rain Coming Down - George Lee Jr. & The Crazed Cowboys >>> >>> >>(00:03:08) >> >> >>>12. Say Yes To A Dance - George Lee Jr. & The Crazed Cowboys (00:03:30) >>>13. Summer Days - George Lee Jr. & The Crazed Cowboys (00:03:27) >>>14. Time To Say Goodbye - George Lee Jr. & The Crazed Cowboys (00:03:02) >>>15. Wake Up And Smell The Coffee - George Lee Jr. & The Crazed Cowboys >>> >>> >>(00:03:10) >> >> >>>16. Welcome To Hip Hop Country - George Lee Jr. & The Crazed Cowboys >>> >>> >>(00:03:02) >> >> >>>Album : Windham Hill Piano Sampler >>>01. A Morning With The Roses- (00:04:36) >>>02. Amy's Song -(00:02:41) >>>03. Consolation- (00:06:32) >>>04. In Flight- (00:06:02) >>>05. In This Small Spot- (00:04:09) >>>06. Listening To Evening -(00:07:02) >>>07. LouAnn -(00:04:21) >>>08. Messenger of the Son- (00:03:16) >>>09. Out To Play- (00:03:44) >>> >>>Thanks Dave and William for offering. >>> >>>-- >>>Kathryn Rhinehart Bassett (Pasadena CA) >>>"Genealogy is my bag" "GH is my soap" >>>kathryn at bassett.net >>>http://bassett.net >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Tue Sep 16 00:07:58 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 15 Sep 2003 22:07:58 -0700 Subject: Query so slow. was; Re: [AccessD] delete duplicates References: <200309111006.h8BA6PsC018296@mailhostC.plex.net> <10414476425.20030911122406@cactus.dk> <00c501c37bbe$e2858630$fac581d5@pedro> Message-ID: <3F669AAE.3000205@shaw.ca> How about trying something like SELECT First(Table1.Field1) AS Field1, First(Table1.Field2) AS Field2, Table1.id INTO TableNew FROM Table1 GROUP BY Table1.id; Then selete and rename tablenew if you want ACC: How to Delete Duplicate Records from a Table http://support.microsoft.com/default.aspx?scid=kb;en-us;109329 http://support.microsoft.com/default.aspx?scid=kb;en-us;209183 http://support.microsoft.com/default.aspx?scid=kb;en-us;209573 http://support.microsoft.com/default.aspx?scid=kb;en-us;292634 Pedro Janssen wrote: >Hello Group, > >i use the query's below to delete he second or third etc duplicate from >fieldA. >It is working fine with 50 records or so. When i use it on a Table with 9000 >records >query2 still runs after a few hours. What can be wrong? > >TIA > >Pedro Janssen > > > >SELECT First(test.PK) AS FirstOfPK, test.FieldA >>From test >GROUP BY test.FieldA; > > > >DELETE test.FieldA >FROM test >WHERE test.PK Not In (Select FirstOfPK from Query1); > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From accessd666 at yahoo.com Tue Sep 16 00:52:03 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 15 Sep 2003 22:52:03 -0700 (PDT) Subject: [AccessD] Still no mail Message-ID: <20030916055203.70330.qmail@web60202.mail.yahoo.com> Hi group, I got some respons on my test mail if my mails where getting through to the list. It seems that they do. Does anybody know where/how I can unsubscribe and resubscribe (with the same mail adres!). I'm a member for about 6 years now and i have no idea how I subscribed to this list. Please respond send a CC to s_derix at yahoo.com. So that I do net get 400 e-mails with the same answer in my personal mail box! The number of replies on a question is rather high on this list, wich is a good thing! Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd at shaw.ca Tue Sep 16 01:36:34 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 15 Sep 2003 23:36:34 -0700 Subject: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) In-Reply-To: <3F667C40.3060003@shaw.ca> Message-ID: There has been some major chances in GIS capabilities over the last twenty years. The new state art is ARCInfo. It is a full object oriented data and graphic package with an extensive set of tools that can link it into virtually any data sources and combine them together. It is fully programmable as well. Some pretty heady stuff. As you have observed, the GIS packages are much more than just a CAD program. I may eventually start working in GIS, again...one of these days...an old friend is now incharge of the local government services and has extended an offer. Still debating. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Monday, September 15, 2003 7:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) I took a GIS course, a couple of years back at U Vic to keep my hand in. It was all Unix MapSys. I am still surprised how many people don't think out of the box with GIS. I once had to find out how many people had moved in a year in a municipality surrounded by Ottawa. So I did it with address matching and maps showing the actual moves; took about a month to do. I came up with a figure of 30%. The urban planners started berating me about the figure being way too high. So I showed them the figures I got from Bell Canada. The number of new residential phone connects in the year was 33% in that municipality. At that time there were no cell phones. One phone call to Bell could have given them a ball park figure rather than using GIS. John B. wrote: >If you haven't worked in GIS for awhile I think you'de be pleasantly >surprised how far they've come. > >I was a GIS Project Manager in the late 90's just as Intergraph made a huge >switch in philosphy. They adapted Windows NT as their OS of choice and >jumped from Unix to NT, Eventually, after they migrated their customer base, >they got out of the Unix OS(Clipper) business all together, although they do >support using other OS based DBs via networks. > >There are basically two main companies involved in GIS now, Intergraph >(which is publicly held) and ESRI (which is privately owned). Intergraph has >a lot of other companies using their technologies to target specfic >tasks/audiences. ESRI has a lot of companies writing add-ons or supplements >to their software. > >It's an amazing set of technologies! > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>Sent: Sunday, September 14, 2003 10:02 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler >> >> >>Cadastral from french cadastre meaning to register. Hence a Land >>registry system. >> >>However don't go near the Quebec Land Registry based on old >>Seigneurial land titles everything was measured in perches or some >>other obscure 17'th century measurement. >> >> Yup I worked on two GIS cadastral mapping systems linked to land >>assessment databases >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 >>Intergraph system in Calgary. >> >>Gustav Brock wrote: >> >> >> >>>Hi Jim >>> >>>Sounds impressive. But cadastral? Even my trusted "American Heritage >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on >>>this. Google, however, revealed this page among others: >>> >>> http://www.co.blm.gov/cadastral/cadhome.htm >>> >>>Is that what your project was about? >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>>>Wow, that dates things...I was pretty decent Fortran programmer >>>> >>>> >>back in the >> >> >>>>late seventies, early eighties...I build a complete cadastral AutoCAD >>>>application that translated coordinates from Clarke's 1886 >>>> >>>> >>global positional >> >> >>>>formula spheroid to conic and mecaider map projections, on an Intergraph >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and >>>>remember little about it except that one period missing in a >>>> >>>> >>the code could >> >> >>>>result in 100 plus pages of errors. I hope they have improved the error >>>>handling routines. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Thanks for the heads up Marty and maybe I will take a stroll down memory >>>>lane. (Even though it is a bit over-grown.) >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Jim >>>> >>>> >>>> >>>> >>> >>> >>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>>>Sent: Saturday, September 13, 2003 5:09 PM >>>>To: Access Developers discussion and problem solving >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>I was looking at the Fortran95.Net compiler on this site when I came >>>>across this free for personal use Fortran 77 compiler. a bit dated >>>>but... Still useable with some of the good stat-math packs that are >>>>floating around on the net. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Tue Sep 16 01:49:18 2003 From: rjhjr at cox.net (Bob Hall) Date: Tue, 16 Sep 2003 02:49:18 -0400 Subject: [AccessD] Still no mail In-Reply-To: <20030916055203.70330.qmail@web60202.mail.yahoo.com> References: <20030916055203.70330.qmail@web60202.mail.yahoo.com> Message-ID: <20030916064917.GA5711@kongemord.krig.net> On Mon, Sep 15, 2003 at 10:52:03PM -0700, Sad Der wrote: > Hi group, > > I got some respons on my test mail if my mails where > getting through to the list. It seems that they do. > > Does anybody know where/how I can unsubscribe and > resubscribe (with the same mail adres!). I'm a member > for about 6 years now and i have no idea how I > subscribed to this list. > > Please respond send a CC to s_derix at yahoo.com. So that > I do net get 400 e-mails with the same answer in my > personal mail box! The number of replies on a question > is rather high on this list, wich is a good thing! > > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd Use the URL immediately above. Most mailing lists put unsubscribe info in the mail footer. If you have an old e-mail from a list, you can always check its footer. Bob Hall From dwaters at usinternet.com Mon Sep 15 12:44:40 2003 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 15 Sep 2003 12:44:40 -0500 Subject: [AccessD] Cataloguing CDs not MP3s - YES you can! OT In-Reply-To: Message-ID: <005b01c37bb1$0d38a5f0$de1811d8@DanWaters> Arthur, I have a program called CD Trustee. It uses the CDDB database that Drew mentioned. I'm not plugging this program, but I like it, and I'm sure there are others. It also puts info into an Access mdb so you can then make changes as you want to. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, September 14, 2003 4:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Cataloguing CDs not MP3s I've been halfheartedly following the former thread and wonder if there's a way to simply stick a CD into the drive, catalogue it and add it to a database, rather than MP3ing the music and copying it to the hard disk. In the best possible world, I would like to take my several thousand CDs, catalogue them and then be able to produce lists such as "Martha My Dear" and get every instance of that jazz classic so I could burn a CD composed of nothing but said tune. I think I have asked this before, but I also have an Oracle turntable and about 6000 superb-quality vinyl records. What technology and software do I need to be able to burn them? (I have everything Coltrane and Mingus ever recorded, plus oh about 100 Beethoven records, almost all of Stravinsky etc.) Can I burn this stuff? A. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andrew.haslett at ilc.gov.au Tue Sep 16 02:14:25 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Tue, 16 Sep 2003 16:44:25 +0930 Subject: [AccessD] OT: Today's GIS Message-ID: Lets hope ESRI get everything working properly in their latest releases. ;=) -----Original Message----- From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] Sent: Tuesday, 16 September 2003 4:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) There has been some major chances in GIS capabilities over the last twenty years. The new state art is ARCInfo. It is a full object oriented data and graphic package with an extensive set of tools that can link it into virtually any data sources and combine them together. It is fully programmable as well. Some pretty heady stuff. As you have observed, the GIS packages are much more than just a CAD program. I may eventually start working in GIS, again...one of these days...an old friend is now incharge of the local government services and has extended an offer. Still debating. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Monday, September 15, 2003 7:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 Compiler) I took a GIS course, a couple of years back at U Vic to keep my hand in. It was all Unix MapSys. I am still surprised how many people don't think out of the box with GIS. I once had to find out how many people had moved in a year in a municipality surrounded by Ottawa. So I did it with address matching and maps showing the actual moves; took about a month to do. I came up with a figure of 30%. The urban planners started berating me about the figure being way too high. So I showed them the figures I got from Bell Canada. The number of new residential phone connects in the year was 33% in that municipality. At that time there were no cell phones. One phone call to Bell could have given them a ball park figure rather than using GIS. John B. wrote: >If you haven't worked in GIS for awhile I think you'de be pleasantly >surprised how far they've come. > >I was a GIS Project Manager in the late 90's just as Intergraph made a huge >switch in philosphy. They adapted Windows NT as their OS of choice and >jumped from Unix to NT, Eventually, after they migrated their customer base, >they got out of the Unix OS(Clipper) business all together, although they do >support using other OS based DBs via networks. > >There are basically two main companies involved in GIS now, Intergraph >(which is publicly held) and ESRI (which is privately owned). Intergraph has >a lot of other companies using their technologies to target specfic >tasks/audiences. ESRI has a lot of companies writing add-ons or supplements >to their software. > >It's an amazing set of technologies! > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>Sent: Sunday, September 14, 2003 10:02 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler >> >> >>Cadastral from french cadastre meaning to register. Hence a Land >>registry system. >> >>However don't go near the Quebec Land Registry based on old >>Seigneurial land titles everything was measured in perches or some >>other obscure 17'th century measurement. >> >> Yup I worked on two GIS cadastral mapping systems linked to land >>assessment databases >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 >>Intergraph system in Calgary. >> >>Gustav Brock wrote: >> >> >> >>>Hi Jim >>> >>>Sounds impressive. But cadastral? Even my trusted "American Heritage >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on >>>this. Google, however, revealed this page among others: >>> >>> http://www.co.blm.gov/cadastral/cadhome.htm >>> >>>Is that what your project was about? >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>>>Wow, that dates things...I was pretty decent Fortran programmer >>>> >>>> >>back in the >> >> >>>>late seventies, early eighties...I build a complete cadastral AutoCAD >>>>application that translated coordinates from Clarke's 1886 >>>> >>>> >>global positional >> >> >>>>formula spheroid to conic and mecaider map projections, on an Intergraph >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and >>>>remember little about it except that one period missing in a >>>> >>>> >>the code could >> >> >>>>result in 100 plus pages of errors. I hope they have improved the error >>>>handling routines. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Thanks for the heads up Marty and maybe I will take a stroll down memory >>>>lane. (Even though it is a bit over-grown.) >>>> >>>> >>>> >>>> >>> >>> >>> >>>>Jim >>>> >>>> >>>> >>>> >>> >>> >>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >>>>Sent: Saturday, September 13, 2003 5:09 PM >>>>To: Access Developers discussion and problem solving >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>>>I was looking at the Fortran95.Net compiler on this site when I came >>>>across this free for personal use Fortran 77 compiler. a bit dated >>>>but... Still useable with some of the good stat-math packs that are >>>>floating around on the net. >>>> >>>> >>>> >>>> >>> >>> >>> >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From gustav at cactus.dk Tue Sep 16 03:32:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 10:32:16 +0200 Subject: [AccessD] listbox with rowsource type (ala MS) In-Reply-To: References: Message-ID: <286608131.20030916103216@cactus.dk> Hi Henry > I would be happy to try the '1 = 2' to see if it improves on the 37 > seconds .. Though it isn't Friday yet, you could also try 'Charlotte' = 'Henry'. /gustav From gustav at cactus.dk Tue Sep 16 04:05:06 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 11:05:06 +0200 Subject: Query so slow. was; Re: [AccessD] delete duplicates In-Reply-To: <00c501c37bbe$e2858630$fac581d5@pedro> References: <200309111006.h8BA6PsC018296@mailhostC.plex.net> <10414476425.20030911122406@cactus.dk> <00c501c37bbe$e2858630$fac581d5@pedro> Message-ID: <1848578475.20030916110506@cactus.dk> Hi Pedro I'm not sure it your queries work correctly, but if they do they will run very slow. You have at least two options. 1. Try this: DELETE * FROM test WHERE PK NOT IN ( SELECT TOP 1 PK FROM test AS T WHERE T.FieldA = test.FieldA); 2. Write the FirstPKs of your query1 to a temporary table. Then include that in query2: DELETE * FROM test WHERE PK Not In (Select PK from tblTemp); /gustav > Hello Group, > i use the query's below to delete he second or third etc duplicate from > fieldA. > It is working fine with 50 records or so. When i use it on a Table with 9000 > records > query2 still runs after a few hours. What can be wrong? > TIA > Pedro Janssen > > SELECT First(test.PK) AS FirstOfPK, test.FieldA >>From test > GROUP BY test.FieldA; > > DELETE test.FieldA > FROM test > WHERE test.PK Not In (Select FirstOfPK from Query1); From gustav at cactus.dk Tue Sep 16 04:29:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 11:29:27 +0200 Subject: [AccessD] =?iso-8859-1?q?InterSystems_Cach=E9_database_engine?= Message-ID: <19410038945.20030916112927@cactus.dk> Hi group Just noticed this option for a free developer license: http://www.intersystems.com/downloads/index.html Anyone having experience with this engine as a backend for Access or otherwise? The free license doesn't allow you to sell your apps. It is, however, not time limited. /gustav From carbonnb at sympatico.ca Tue Sep 16 04:33:10 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 16 Sep 2003 05:33:10 -0400 Subject: Max List Message Size was(Re: [AccessD] cataloguing mp3 albums) In-Reply-To: <3F667D0D.9050801@shaw.ca> Message-ID: <3F66A096.28825.1B0DBD@localhost> On 15 Sep 2003 at 20:01, MartyConnelly wrote: > 32K is the limit. I have been caught before ;) > > Drew Wutka wrote: > > >I'm not in charge of the List in that manner. You can attach to a > >List email, but you have to be under the email size limit (I think > >it's 15k). Actaully it's 30k. But hey what's 2k between list mates :-)) Although it's quite amazing how quicky post end up being 30+k when you don't trim before posting. :-) -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. From carbonnb at sympatico.ca Tue Sep 16 04:38:14 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Tue, 16 Sep 2003 05:38:14 -0400 Subject: [AccessD] Still no mail In-Reply-To: <20030916055203.70330.qmail@web60202.mail.yahoo.com> Message-ID: <3F66A1C6.27056.1FAFFA@localhost> On 15 Sep 2003 at 22:52, Sad Der wrote: > I got some respons on my test mail if my mails where > getting through to the list. It seems that they do. > > Does anybody know where/how I can unsubscribe and > resubscribe (with the same mail adres!). I'm a member > for about 6 years now and i have no idea how I > subscribed to this list. > > Please respond send a CC to s_derix at yahoo.com. So that > I do net get 400 e-mails with the same answer in my > personal mail box! The number of replies on a question > is rather high on this list, wich is a good thing! Sander, Your account was automatically put on hold by the mailing list software for too many bounces. I unheld your account, so you should start getting e-mails again. If this happens again, you can goto: http://databaseadvisors.com/mailman/options/accessd/YourEmail at YourHost .TLD and set your options. If you can't get that to work you can always e-mail the listmaster (me) at listmaster at databaseadvisors.com or carbonnb at sympatico.ca and I can look into it for you. Same goes for anyone on the list. HTH, -- Bryan Carbonnell - carbonnb at sympatico.ca For every bug fixed, there is a bigger bug not yet discovered. From pedro at plex.nl Tue Sep 16 05:17:15 2003 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 16 Sep 2003 12:17:15 +0200 Subject: Query so slow. was; Re: [AccessD] delete duplicates References: <200309111006.h8BA6PsC018296@mailhostC.plex.net><10414476425.20030911122406@cactus.dk> <00c501c37bbe$e2858630$fac581d5@pedro> <1848578475.20030916110506@cactus.dk> Message-ID: <000101c37c3b$e5141880$f2c581d5@pedro> Hello Martin and Gustav, i will try your solutions later this week. Thanks for the help. The query did his job after about 21/2 hours on a pentium3, 2,4Ghz, 512 K Cache and 512Mb memory. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 16, 2003 11:05 AM Subject: Re: Query so slow. was; Re: [AccessD] delete duplicates > Hi Pedro > > I'm not sure it your queries work correctly, but if they do they will > run very slow. > > You have at least two options. > > 1. Try this: > > DELETE * > FROM test > WHERE PK NOT IN ( > SELECT TOP 1 PK > FROM test AS T > WHERE T.FieldA = test.FieldA); > > 2. Write the FirstPKs of your query1 to a temporary table. Then > include that in query2: > > > DELETE * > FROM test > WHERE PK Not In (Select PK from tblTemp); > > /gustav > > > > Hello Group, > > > i use the query's below to delete he second or third etc duplicate from > > fieldA. > > It is working fine with 50 records or so. When i use it on a Table with 9000 > > records > > query2 still runs after a few hours. What can be wrong? > > > TIA > > > Pedro Janssen > > > > > > SELECT First(test.PK) AS FirstOfPK, test.FieldA > >>From test > > GROUP BY test.FieldA; > > > > > > DELETE test.FieldA > > FROM test > > WHERE test.PK Not In (Select FirstOfPK from Query1); > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Tue Sep 16 07:03:19 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 16 Sep 2003 08:03:19 -0400 Subject: =?iso-8859-1?Q?RE=3A_=5BAccessD=5D__InterSystems_Cach=E9_database_engine?= Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F54B@TTNEXCHSRV1.hshhp.com> Gustav, I've played with Cache a bit on its own (no Access or VB FE). I found it interesting because it's an object oriented DBMS as opposed to relational (you can use SQL with joins etc). If you follow their tutorial you'll see how very easy it is to get a web based app together. I never had time to continue "playing" with it but the concept makes complete sense to me. On the down side, a planned tech support call (them calling me) to answer some questions I had about the data storage never happened (without explaination). Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 16, 2003 5:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] InterSystems Cach? database engine Hi group Just noticed this option for a free developer license: http://www.intersystems.com/downloads/index.html Anyone having experience with this engine as a backend for Access or otherwise? The free license doesn't allow you to sell your apps. It is, however, not time limited. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Tue Sep 16 07:27:38 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 14:27:38 +0200 Subject: Query so slow. was; Re: [AccessD] delete duplicates In-Reply-To: <000101c37c3b$e5141880$f2c581d5@pedro> References: <200309111006.h8BA6PsC018296@mailhostC.plex.net><10414476425.20030911122406@cactus.dk> <1848578475.20030916110506@cactus.dk> <000101c37c3b$e5141880$f2c581d5@pedro> Message-ID: <9620730909.20030916142738@cactus.dk> Hi Pedro So you - ahemm - were in hurry? Using the temp table will probably bring this down to 2 1/2 second. /gustav > Hello Martin and Gustav, > i will try your solutions later this week. Thanks for the help. > The query did his job after about 21/2 hours on a pentium3, 2,4Ghz, 512 K > Cache and 512Mb memory. > Pedro Janssen > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 16, 2003 11:05 AM > Subject: Re: Query so slow. was; Re: [AccessD] delete duplicates >> Hi Pedro >> >> I'm not sure it your queries work correctly, but if they do they will >> run very slow. >> >> You have at least two options. >> >> 1. Try this: >> >> DELETE * >> FROM test >> WHERE PK NOT IN ( >> SELECT TOP 1 PK >> FROM test AS T >> WHERE T.FieldA = test.FieldA); >> >> 2. Write the FirstPKs of your query1 to a temporary table. Then >> include that in query2: >> >> >> DELETE * >> FROM test >> WHERE PK Not In (Select PK from tblTemp); >> >> /gustav >> >> >> > Hello Group, >> >> > i use the query's below to delete he second or third etc duplicate from >> > fieldA. >> > It is working fine with 50 records or so. When i use it on a Table with > 9000 >> > records >> > query2 still runs after a few hours. What can be wrong? >> >> > TIA >> >> > Pedro Janssen >> >> >> > >> > SELECT First(test.PK) AS FirstOfPK, test.FieldA >> >>From test >> > GROUP BY test.FieldA; >> >> >> > >> > DELETE test.FieldA >> > FROM test >> > WHERE test.PK Not In (Select FirstOfPK from Query1); >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 16 07:57:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 14:57:54 +0200 Subject: =?ISO-8859-1?B?UmU6IFtBY2Nlc3NEXSAgSW50ZXJTeXN0ZW1zIENhY2jpIGRhdGFiYXNl?= =?ISO-8859-1?B?IGVuZ2luZQ==?= In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F54B@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F54B@TTNEXCHSRV1.hshhp.com> Message-ID: <4622546019.20030916145754@cactus.dk> Hi Jim How would you judge its relevance to Access? Either as a backend with ODBC interface or as an "extension" to VBA? /gustav > Gustav, > I've played with Cache a bit on its own (no Access or VB FE). I found it interesting because it's an object oriented DBMS as opposed to relational (you can use SQL with joins etc). If you follow > their tutorial you'll see how very easy it is to get a web based app together. I never had time to continue "playing" with it but the concept makes complete sense to me. On the down side, a > planned tech support call (them calling me) to answer some questions I had about the data storage never happened (without explaination). > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 16, 2003 5:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] InterSystems Cach? database engine > Hi group > Just noticed this option for a free developer license: > http://www.intersystems.com/downloads/index.html > Anyone having experience with this engine as a backend for Access or > otherwise? > The free license doesn't allow you to sell your apps. It is, however, > not time limited. > /gustav From Jdemarco at hshhp.org Tue Sep 16 08:06:23 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 16 Sep 2003 09:06:23 -0400 Subject: =?iso-8859-1?Q?RE=3A_=5BAccessD=5D__InterSystems_Cach=E9_database_engine?= Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F551@TTNEXCHSRV1.hshhp.com> To be honest I never even gave Access a thought. I was pretty focused on the OO syntax for accessing data that I never got that far. Are there ODBC drivers for it? I never saw where/how the data was stored since they don't use table structures. That was one of the issues I wanted to discuss with then (does one have to write an app to see the data because you can't double click a table?) and how to interface with VB/VBA. Jim -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 16, 2003 8:58 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] InterSystems Cach? database engine Hi Jim How would you judge its relevance to Access? Either as a backend with ODBC interface or as an "extension" to VBA? /gustav > Gustav, > I've played with Cache a bit on its own (no Access or VB FE). I found it interesting because it's an object oriented DBMS as opposed to relational (you can use SQL with joins etc). If you follow > their tutorial you'll see how very easy it is to get a web based app together. I never had time to continue "playing" with it but the concept makes complete sense to me. On the down side, a > planned tech support call (them calling me) to answer some questions I had about the data storage never happened (without explaination). > Jim DeMarco > Director of Product Development > HealthSource/Hudson Health Plan > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 16, 2003 5:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] InterSystems Cach? database engine > Hi group > Just noticed this option for a free developer license: > http://www.intersystems.com/downloads/index.html > Anyone having experience with this engine as a backend for Access or > otherwise? > The free license doesn't allow you to sell your apps. It is, however, > not time limited. > /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From tim at irwin-greenhouses.com Tue Sep 16 08:10:18 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Tue, 16 Sep 2003 08:10:18 -0500 Subject: [AccessD] Referencing Recordsource in Report Message-ID: <000f01c37c53$e1e64440$6600a8c0@tim> Hi List! I am having a problem understanding how to reference the recordsource in a report. I need to have a text box in a report show 1 of 3 possible fields in a report. I am using the following code to do this. When I run the report, I get the error message "Type mismatch" with the code "Me.Recordsource" highlighted. Can anyone suggest what I am doing wrong or a better way to do this? Private Sub Report_Open(Cancel As Integer) Dim CurDb As Database Dim rstInv As Recordset, rstPricing As Recordset Dim strInv As String Set CurDb = CurrentDb strInv = "SELECT Customers.[Customer Number], Customers.[Pricing Type], Customers.Code " _ & "FROM Customers " _ & "WHERE Customers.[Customer Number]= '" & Forms!frmAckCustInventory![cboCustomer] & "';" Set rstPricing = CurDb.OpenRecordset(strInv, dbOpenDynaset) Me!PricingCode = rstPricing!Code Set rstInv = Me.RecordSource Select Case rstPricing!Code Case 1 Me!Price = rstInv!QtyPrice Case 2 Me!Price = rstInv!PrebookPrice Case 3 Me!Price = rstInv!WhlsePrice End Select End Sub Tim Thiessen From john at winhaven.net Tue Sep 16 08:17:37 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 08:17:37 -0500 Subject: [AccessD] OT: Today's GIS In-Reply-To: Message-ID: :o) Yes, when they made the move to Arc8, which basically wants you to use a RDBMS for data storage rather than the "Info" flat file system used previously, most of the users rebelled. I would estimate that in Wisconsin (ArcInfo is the State mandated standard) that no one moved to using a RDBMS for over a yer and we're probably up to about 20% doing it. Hard to change almost 20 years of engrained habit. The really nice thing is that the ESRI line VBA capable and they are promoting the use of VBA instead of their own Macro languages. BTW for those of you who don't know what GIS is - it's Geographic Information System. Basically smart maps (and other graphics). Very powerful environments that allow one to connect intelligent graphics elements to information attributes that can be entered, edited and recalled via the graphics (and via queries). These graphic elements "know" about themselves and where they fit in the world. Queries can be attribute queries, spatial queries or a combination of both. On this list we all know attribute queries. A spatial query would be something Show me all of the residential areas that are adjacent to a water feature. A combination query would be one that uses the graphics elements and attribute information that has no graphic element such as "phone number". One such as Marty described, in laymen's terms: "let me see all of the residential units that have changed phone service within the last year". Cool stuff. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, > Andrew > Sent: Tuesday, September 16, 2003 2:14 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Today's GIS > > > Lets hope ESRI get everything working properly in their latest releases. > ;=) > > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Tuesday, 16 September 2003 4:07 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > Compiler) > > > There has been some major chances in GIS capabilities over the last twenty > years. The new state art is ARCInfo. It is a full object oriented data and > graphic package with an extensive set of tools that can link it into > virtually any data sources and combine them together. It is fully > programmable as well. Some pretty heady stuff. As you have > observed, the GIS > packages are much more than just a CAD program. > > I may eventually start working in GIS, again...one of these days...an old > friend is now incharge of the local government services and has > extended an > offer. > > Still debating. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Monday, September 15, 2003 7:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > Compiler) > > > I took a GIS course, a couple of years back at U Vic to keep my hand in. > It was all Unix MapSys. > I am still surprised how many people don't think out of the box with > GIS. I once had to find out how many people had moved in a year in a > municipality surrounded by Ottawa. So I did it with address matching and > maps showing the actual moves; took about a month to do. I came up with > a figure of 30%. The urban planners started berating me about the > figure being way too high. > So I showed them the figures I got from Bell Canada. The number of new > residential phone connects in the year was 33% in that municipality. At > that time there were no cell phones. > One phone call to Bell could have given them a ball park figure rather > than using GIS. > > John B. wrote: > > >If you haven't worked in GIS for awhile I think you'de be pleasantly > >surprised how far they've come. > > > >I was a GIS Project Manager in the late 90's just as Intergraph > made a huge > >switch in philosphy. They adapted Windows NT as their OS of choice and > >jumped from Unix to NT, Eventually, after they migrated their customer > base, > >they got out of the Unix OS(Clipper) business all together, although they > do > >support using other OS based DBs via networks. > > > >There are basically two main companies involved in GIS now, Intergraph > >(which is publicly held) and ESRI (which is privately owned). Intergraph > has > >a lot of other companies using their technologies to target specfic > >tasks/audiences. ESRI has a lot of companies writing add-ons or > supplements > >to their software. > > > >It's an amazing set of technologies! > > > > > > > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > >>Sent: Sunday, September 14, 2003 10:02 PM > >>To: Access Developers discussion and problem solving > >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > >> > >> > >>Cadastral from french cadastre meaning to register. Hence a Land > >>registry system. > >> > >>However don't go near the Quebec Land Registry based on old > >>Seigneurial land titles everything was measured in perches or some > >>other obscure 17'th century measurement. > >> > >> Yup I worked on two GIS cadastral mapping systems linked to land > >>assessment databases > >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 > >>Intergraph system in Calgary. > >> > >>Gustav Brock wrote: > >> > >> > >> > >>>Hi Jim > >>> > >>>Sounds impressive. But cadastral? Even my trusted "American Heritage > >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on > >>>this. Google, however, revealed this page among others: > >>> > >>> http://www.co.blm.gov/cadastral/cadhome.htm > >>> > >>>Is that what your project was about? > >>> > >>>/gustav > >>> > >>> > >>> > >>> > >>> > >>> > >>>>Wow, that dates things...I was pretty decent Fortran programmer > >>>> > >>>> > >>back in the > >> > >> > >>>>late seventies, early eighties...I build a complete cadastral AutoCAD > >>>>application that translated coordinates from Clarke's 1886 > >>>> > >>>> > >>global positional > >> > >> > >>>>formula spheroid to conic and mecaider map projections, on an > Intergraph > >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and > >>>>remember little about it except that one period missing in a > >>>> > >>>> > >>the code could > >> > >> > >>>>result in 100 plus pages of errors. I hope they have improved > the error > >>>>handling routines. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Thanks for the heads up Marty and maybe I will take a stroll > down memory > >>>>lane. (Even though it is a bit over-grown.) > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Jim > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: accessd-bounces at databaseadvisors.com > >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > >>>>Sent: Saturday, September 13, 2003 5:09 PM > >>>>To: Access Developers discussion and problem solving > >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>>>I was looking at the Fortran95.Net compiler on this site when I came > >>>>across this free for personal use Fortran 77 compiler. a bit dated > >>>>but... Still useable with some of the good stat-math packs that are > >>>>floating around on the net. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > >>>> > >>>> > >>>> > >>>> > >>>_______________________________________________ > >>>AccessD mailing list > >>>AccessD at databaseadvisors.com > >>>http://databaseadvisors.com/mailman/listinfo/accessd > >>>Website: http://www.databaseadvisors.com > >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > >> > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. > If you have received this message in error, please notify the sender > immediately and delete this email from your system. > No warranty is given that this email or files, if attached to this > email, are free from computer viruses or other defects. They > are provided on the basis the user assumes all responsibility for > loss, damage or consequence resulting directly or indirectly from > their use, whether caused by the negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From john at winhaven.net Tue Sep 16 08:18:19 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 08:18:19 -0500 Subject: [AccessD] Today's GIS (was Info: Free Windows Fortran 77Compiler) In-Reply-To: Message-ID: I'll bet they taught ERSI products at your school ;o) ESRI has a marketing machine that Microsoft can envy! Their Arc8 line is far superior to their own older ArcInfo series. but it is no better than the other state of the art GIS systems of the 21st century. Intergraph beat them to the punch object oriented technology by a few years but their marketing department is the anti-thesis of Microsoft's! Also, Intergraph's "Geomedia" products don't need a go between (like ESRI's SDE) for using Oracle's capabilities. (They've been using RDBMSs for decades now.) Arc is cool though :o) I'd recommend that you enjoyed GIS 20 years you should go for it. Job security, exciting product lines, a great sense of accomplishment every few months... Its far less tedious than it used to be and the GIS world needs people that understand RDBMSs. They're woefully misunderstood there :-( > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > (AccessD) > Sent: Tuesday, September 16, 2003 1:37 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran > 77Compiler) > > > There has been some major chances in GIS capabilities over the last twenty > years. The new state art is ARCInfo. It is a full object oriented data and > graphic package with an extensive set of tools that can link it into > virtually any data sources and combine them together. It is fully > programmable as well. Some pretty heady stuff. As you have > observed, the GIS > packages are much more than just a CAD program. > > I may eventually start working in GIS, again...one of these days...an old > friend is now incharge of the local government services and has > extended an > offer. > > Still debating. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: Monday, September 15, 2003 7:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > Compiler) > > > I took a GIS course, a couple of years back at U Vic to keep my hand in. > It was all Unix MapSys. > I am still surprised how many people don't think out of the box with > GIS. I once had to find out how many people had moved in a year in a > municipality surrounded by Ottawa. So I did it with address matching and > maps showing the actual moves; took about a month to do. I came up with > a figure of 30%. The urban planners started berating me about the > figure being way too high. > So I showed them the figures I got from Bell Canada. The number of new > residential phone connects in the year was 33% in that municipality. At > that time there were no cell phones. > One phone call to Bell could have given them a ball park figure rather > than using GIS. > > John B. wrote: > > >If you haven't worked in GIS for awhile I think you'de be pleasantly > >surprised how far they've come. > > > >I was a GIS Project Manager in the late 90's just as Intergraph > made a huge > >switch in philosphy. They adapted Windows NT as their OS of choice and > >jumped from Unix to NT, Eventually, after they migrated their customer > base, > >they got out of the Unix OS(Clipper) business all together, although they > do > >support using other OS based DBs via networks. > > > >There are basically two main companies involved in GIS now, Intergraph > >(which is publicly held) and ESRI (which is privately owned). Intergraph > has > >a lot of other companies using their technologies to target specfic > >tasks/audiences. ESRI has a lot of companies writing add-ons or > supplements > >to their software. > > > >It's an amazing set of technologies! > > > > > > > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > >>Sent: Sunday, September 14, 2003 10:02 PM > >>To: Access Developers discussion and problem solving > >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > >> > >> > >>Cadastral from french cadastre meaning to register. Hence a Land > >>registry system. > >> > >>However don't go near the Quebec Land Registry based on old > >>Seigneurial land titles everything was measured in perches or some > >>other obscure 17'th century measurement. > >> > >> Yup I worked on two GIS cadastral mapping systems linked to land > >>assessment databases > >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 > >>Intergraph system in Calgary. > >> > >>Gustav Brock wrote: > >> > >> > >> > >>>Hi Jim > >>> > >>>Sounds impressive. But cadastral? Even my trusted "American Heritage > >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on > >>>this. Google, however, revealed this page among others: > >>> > >>> http://www.co.blm.gov/cadastral/cadhome.htm > >>> > >>>Is that what your project was about? > >>> > >>>/gustav > >>> > >>> > >>> > >>> > >>> > >>> > >>>>Wow, that dates things...I was pretty decent Fortran programmer > >>>> > >>>> > >>back in the > >> > >> > >>>>late seventies, early eighties...I build a complete cadastral AutoCAD > >>>>application that translated coordinates from Clarke's 1886 > >>>> > >>>> > >>global positional > >> > >> > >>>>formula spheroid to conic and mecaider map projections, on an > Intergraph > >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and > >>>>remember little about it except that one period missing in a > >>>> > >>>> > >>the code could > >> > >> > >>>>result in 100 plus pages of errors. I hope they have improved > the error > >>>>handling routines. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Thanks for the heads up Marty and maybe I will take a stroll > down memory > >>>>lane. (Even though it is a bit over-grown.) > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Jim > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: accessd-bounces at databaseadvisors.com > >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > >>>>Sent: Saturday, September 13, 2003 5:09 PM > >>>>To: Access Developers discussion and problem solving > >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>>>I was looking at the Fortran95.Net compiler on this site when I came > >>>>across this free for personal use Fortran 77 compiler. a bit dated > >>>>but... Still useable with some of the good stat-math packs that are > >>>>floating around on the net. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > >>>> > >>>> > >>>> > >>>> > >>>_______________________________________________ > >>>AccessD mailing list > >>>AccessD at databaseadvisors.com > >>>http://databaseadvisors.com/mailman/listinfo/accessd > >>>Website: http://www.databaseadvisors.com > >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > >> > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.mattys at adelphia.net Tue Sep 16 08:37:08 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 16 Sep 2003 09:37:08 -0400 Subject: [AccessD] Today's GIS References: Message-ID: <00ca01c37c57$a0fe1170$6401a8c0@default> John, Have you looked at MapPoint at all? How does it compare to ESRI & Arc? This may be seem to be OT, but I'm using Access as the back-end and VBA to run MapPoint. If ESRI is using VBA, I will definately have a look ... Mike Mattys ----- Original Message ----- From: "John B." To: "Access Developers discussion and problem solving" Sent: Tuesday, September 16, 2003 9:18 AM Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77Compiler) > I'll bet they taught ERSI products at your school ;o) > > ESRI has a marketing machine that Microsoft can envy! > > Their Arc8 line is far superior to their own older ArcInfo series. but it is > no better than the other state of the art GIS systems of the 21st century. > > Intergraph beat them to the punch object oriented technology by a few years > but their marketing department is the anti-thesis of Microsoft's! Also, > Intergraph's "Geomedia" products don't need a go between (like ESRI's SDE) > for using Oracle's capabilities. (They've been using RDBMSs for decades > now.) > > Arc is cool though :o) > > I'd recommend that you enjoyed GIS 20 years you should go for it. Job > security, exciting product lines, a great sense of accomplishment every few > months... > > Its far less tedious than it used to be and the GIS world needs people that > understand RDBMSs. They're woefully misunderstood there :-( > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence > > (AccessD) > > Sent: Tuesday, September 16, 2003 1:37 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran > > 77Compiler) > > > > > > There has been some major chances in GIS capabilities over the last twenty > > years. The new state art is ARCInfo. It is a full object oriented data and > > graphic package with an extensive set of tools that can link it into > > virtually any data sources and combine them together. It is fully > > programmable as well. Some pretty heady stuff. As you have > > observed, the GIS > > packages are much more than just a CAD program. > > > > I may eventually start working in GIS, again...one of these days...an old > > friend is now incharge of the local government services and has > > extended an > > offer. > > > > Still debating. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > > Sent: Monday, September 15, 2003 7:58 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > > Compiler) > > > > > > I took a GIS course, a couple of years back at U Vic to keep my hand in. > > It was all Unix MapSys. > > I am still surprised how many people don't think out of the box with > > GIS. I once had to find out how many people had moved in a year in a > > municipality surrounded by Ottawa. So I did it with address matching and > > maps showing the actual moves; took about a month to do. I came up with > > a figure of 30%. The urban planners started berating me about the > > figure being way too high. > > So I showed them the figures I got from Bell Canada. The number of new > > residential phone connects in the year was 33% in that municipality. At > > that time there were no cell phones. > > One phone call to Bell could have given them a ball park figure rather > > than using GIS. > > > > John B. wrote: > > > > >If you haven't worked in GIS for awhile I think you'de be pleasantly > > >surprised how far they've come. > > > > > >I was a GIS Project Manager in the late 90's just as Intergraph > > made a huge > > >switch in philosphy. They adapted Windows NT as their OS of choice and > > >jumped from Unix to NT, Eventually, after they migrated their customer > > base, > > >they got out of the Unix OS(Clipper) business all together, although they > > do > > >support using other OS based DBs via networks. > > > > > >There are basically two main companies involved in GIS now, Intergraph > > >(which is publicly held) and ESRI (which is privately owned). Intergraph > > has > > >a lot of other companies using their technologies to target specfic > > >tasks/audiences. ESRI has a lot of companies writing add-ons or > > supplements > > >to their software. > > > > > >It's an amazing set of technologies! > > > > > > > > > > > >>-----Original Message----- > > >>From: accessd-bounces at databaseadvisors.com > > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > > >>Sent: Sunday, September 14, 2003 10:02 PM > > >>To: Access Developers discussion and problem solving > > >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > > >> > > >> > > >>Cadastral from french cadastre meaning to register. Hence a Land > > >>registry system. > > >> > > >>However don't go near the Quebec Land Registry based on old > > >>Seigneurial land titles everything was measured in perches or some > > >>other obscure 17'th century measurement. > > >> > > >> Yup I worked on two GIS cadastral mapping systems linked to land > > >>assessment databases > > >>one in Ottawa with a Honeywell 6000 GCOS mainframe and one PDP 11/70 > > >>Intergraph system in Calgary. > > >> > > >>Gustav Brock wrote: > > >> > > >> > > >> > > >>>Hi Jim > > >>> > > >>>Sounds impressive. But cadastral? Even my trusted "American Heritage > > >>>Dictionary" (bought in Olympia 1986 for USD 4.95) had to give up on > > >>>this. Google, however, revealed this page among others: > > >>> > > >>> http://www.co.blm.gov/cadastral/cadhome.htm > > >>> > > >>>Is that what your project was about? > > >>> > > >>>/gustav > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>>>Wow, that dates things...I was pretty decent Fortran programmer > > >>>> > > >>>> > > >>back in the > > >> > > >> > > >>>>late seventies, early eighties...I build a complete cadastral AutoCAD > > >>>>application that translated coordinates from Clarke's 1886 > > >>>> > > >>>> > > >>global positional > > >> > > >> > > >>>>formula spheroid to conic and mecaider map projections, on an > > Intergraph > > >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then and > > >>>>remember little about it except that one period missing in a > > >>>> > > >>>> > > >>the code could > > >> > > >> > > >>>>result in 100 plus pages of errors. I hope they have improved > > the error > > >>>>handling routines. > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>Thanks for the heads up Marty and maybe I will take a stroll > > down memory > > >>>>lane. (Even though it is a bit over-grown.) > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>Jim > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>-----Original Message----- > > >>>>From: accessd-bounces at databaseadvisors.com > > >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > >>>>Sent: Saturday, September 13, 2003 5:09 PM > > >>>>To: Access Developers discussion and problem solving > > >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>> > > >>>>I was looking at the Fortran95.Net compiler on this site when I came > > >>>>across this free for personal use Fortran 77 compiler. a bit dated > > >>>>but... Still useable with some of the good stat-math packs that are > > >>>>floating around on the net. > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > > >>>> > > >>>> > > >>>> > > >>>> > > >>>_______________________________________________ > > >>>AccessD mailing list > > >>>AccessD at databaseadvisors.com > > >>>http://databaseadvisors.com/mailman/listinfo/accessd > > >>>Website: http://www.databaseadvisors.com > > >>> > > >>> > > >>> > > >>> > > >>> > > >>_______________________________________________ > > >>AccessD mailing list > > >>AccessD at databaseadvisors.com > > >>http://databaseadvisors.com/mailman/listinfo/accessd > > >>Website: http://www.databaseadvisors.com > > >> > > >> > > >> > > >> > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 16 09:17:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 16:17:16 +0200 Subject: =?ISO-8859-1?B?UmU6IFtBY2Nlc3NEXSAgSW50ZXJTeXN0ZW1zIENhY2jpIGRhdGFiYXNl?= =?ISO-8859-1?B?IGVuZ2luZQ==?= In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F551@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F551@TTNEXCHSRV1.hshhp.com> Message-ID: <12527308797.20030916161716@cactus.dk> Hi Jim Yes, they claim an ODBC driver to be available: http://www.intersystems.com/cache/cache5/fb/fb_02.html http://www.intersystems.com/cache/fusion/cache-prd_05.html and note 3 here: http://www.intersystems.com/cache/product-tables/current-prodlist.html That could be the answer to your question. /gustav > To be honest I never even gave Access a thought. I was pretty focused on the OO syntax for accessing data that I never got that far. Are there ODBC drivers for it? > I never saw where/how the data was stored since they don't use table structures. That was one of the issues I wanted to discuss with then (does one have to write an app to see the data because you > can't double click a table?) and how to interface with VB/VBA. > Jim > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 16, 2003 8:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] InterSystems Cach? database engine > Hi Jim > How would you judge its relevance to Access? Either as a backend with > ODBC interface or as an "extension" to VBA? > /gustav >> Gustav, >> I've played with Cache a bit on its own (no Access or VB FE). I found it interesting because it's an object oriented DBMS as opposed to relational (you can use SQL with joins etc). If you follow >> their tutorial you'll see how very easy it is to get a web based app together. I never had time to continue "playing" with it but the concept makes complete sense to me. On the down side, a >> planned tech support call (them calling me) to answer some questions I had about the data storage never happened (without explaination). >> Jim DeMarco >> Director of Product Development >> HealthSource/Hudson Health Plan >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Tuesday, September 16, 2003 5:29 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] InterSystems Cach? database engine >> Hi group >> Just noticed this option for a free developer license: >> http://www.intersystems.com/downloads/index.html >> Anyone having experience with this engine as a backend for Access or >> otherwise? >> The free license doesn't allow you to sell your apps. It is, however, >> not time limited. >> /gustav From gustav at cactus.dk Tue Sep 16 09:23:29 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 16:23:29 +0200 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <000f01c37c53$e1e64440$6600a8c0@tim> References: <000f01c37c53$e1e64440$6600a8c0@tim> Message-ID: <5027681023.20030916162329@cactus.dk> Hi Tim .RecordSource is nothing but a string - with either the name of a table or query or an SQL string. Try to insert: MsgBox Me.RecordSource Maybe Set rst = Me.RecordsetClone is what you are looking for? /gustav > Hi List! > I am having a problem understanding how to reference the recordsource in a > report. I need to have a text box in a report show 1 of 3 possible fields > in a report. I am using the following code to do this. When I run the > report, I get the error message "Type mismatch" with the code > "Me.Recordsource" highlighted. Can anyone suggest what I am doing wrong or > a better way to do this? > Private Sub Report_Open(Cancel As Integer) > Dim CurDb As Database > Dim rstInv As Recordset, rstPricing As Recordset > Dim strInv As String > Set CurDb = CurrentDb > strInv = "SELECT Customers.[Customer Number], Customers.[Pricing Type], > Customers.Code " _ > & "FROM Customers " _ > & "WHERE Customers.[Customer Number]= '" & > Forms!frmAckCustInventory![cboCustomer] & "';" > Set rstPricing = CurDb.OpenRecordset(strInv, dbOpenDynaset) > Me!PricingCode = rstPricing!Code > Set rstInv = Me.RecordSource > Select Case rstPricing!Code > Case 1 > Me!Price = rstInv!QtyPrice > Case 2 > Me!Price = rstInv!PrebookPrice > Case 3 > Me!Price = rstInv!WhlsePrice > End Select > End Sub > Tim Thiessen From accessd at shaw.ca Tue Sep 16 09:39:53 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 16 Sep 2003 07:39:53 -0700 Subject: =?iso-8859-1?Q?RE:_=5BAccessD=5D__InterSystems_Cach=E9_database_engine?= In-Reply-To: <19410038945.20030916112927@cactus.dk> Message-ID: Hi Gustav: How do you keep finding all these neat products? :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, September 16, 2003 2:29 AM To: Access Developers discussion and problem solving Subject: [AccessD] InterSystems Cach? database engine Hi group Just noticed this option for a free developer license: http://www.intersystems.com/downloads/index.html Anyone having experience with this engine as a backend for Access or otherwise? The free license doesn't allow you to sell your apps. It is, however, not time limited. /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Sep 16 09:49:35 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 09:49:35 -0500 Subject: [AccessD] Today's GIS In-Reply-To: <00ca01c37c57$a0fe1170$6401a8c0@default> Message-ID: Mike, Not much and not lately. (I was supposed to get a free copy of it for doing something or other and it never showed up, so...) When MapPoint first came on the scene it was kind of a joke to GIS pros. That doesn't mean a lot though, given that MS Publisher was considered a joke to the Publishing pros. Now, because of the price and marketing an aweful lot of people use MS Publisher and most of the big dogs in publishing have converters for it. I don't what the price is now but most quality GIS products are quite expensive. ArcView (ESRI's entry level product) retails at $1,500. They may have probably made inroads somewhere, just none that I know of. If you go to ESRI web site you can order their VBA developer's kit for free. http://www.esri.com/software/arcgis/toolkitcdreq.html You can also get a 60 day evaluation of ArcView: http://gis.esri.com/emails/av8evalcd_order.cfm HTH John B. > John, > > Have you looked at MapPoint at all? > How does it compare to ESRI & Arc? > > This may be seem to be OT, but I'm using > Access as the back-end and VBA to run > MapPoint. If ESRI is using VBA, I will definately > have a look ... > > Mike Mattys > From BBarabash at TappeConstruction.com Tue Sep 16 09:48:38 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 16 Sep 2003 09:48:38 -0500 Subject: [AccessD] Bitmpap in MS Access Window Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C92D@TAPPEEXCH01> I tried out Stephen's demo, and overall it works pretty well. I was able to get the bitmap to distort by resizing the window and scrolling, though. ====== Not necessarily - Stephen Lebans has a demo: http://www.lebans.com/changemdibackground.htm It contains a minor bug. If you will select a new picture but cancels the operation, the background updating stops. This should be fixable with little effort. /gustav -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From artful at rogers.com Tue Sep 16 12:49:35 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 16 Sep 2003 10:49:35 -0700 Subject: [AccessD] Multiple instances of a form Message-ID: Would someone please remind me how to open multiple instances of the same form? I've done it in the past but can't remember how. Thx, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From bchacc at san.rr.com Tue Sep 16 09:55:21 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 16 Sep 2003 07:55:21 -0700 Subject: [AccessD] Trasnfer Table Between Databases Message-ID: <00c801c37c62$8d96dee0$6601a8c0@HAL9002> Dear List: I have a FE/BE app where I need to transfer three of the BE tables to another database. Is there a better way to do this than creating a workspace for the target database, opening the target, opening the source and object tables and transferring the records one by one. The table structure in the source and target databases is the same. The number of records is small. So time is not a consideration. MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Tue Sep 16 09:57:04 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 16 Sep 2003 10:57:04 -0400 Subject: [AccessD] Trasnfer Table Between Databases References: <00c801c37c62$8d96dee0$6601a8c0@HAL9002> Message-ID: <011f01c37c62$cc5752e0$220110ac@SUSANONE> Are you really transferring or just copying the data? INSERT INTO and SELECT INTO are both available -- just use the IN operator to specify the foreign database. Susan H. Dear List: I have a FE/BE app where I need to transfer three of the BE tables to another database. Is there a better way to do this than creating a workspace for the target database, opening the target, opening the source and object tables and transferring the records one by one. The table structure in the source and target databases is the same. The number of records is small. So time is not a consideration. MTIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Sep 16 09:57:57 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 16 Sep 2003 10:57:57 -0400 Subject: [AccessD] Multiple instances of a form Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F55A@TTNEXCHSRV1.hshhp.com> This opens another instance of frmMulti: Static frm As Form_frmMulti Set frm = New Form_frmMulti frm.Visible = True HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, September 16, 2003 1:50 PM To: AccessD Subject: [AccessD] Multiple instances of a form Would someone please remind me how to open multiple instances of the same form? I've done it in the past but can't remember how. Thx, Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bchacc at san.rr.com Tue Sep 16 10:05:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 16 Sep 2003 08:05:30 -0700 Subject: [AccessD] Trasnfer Table Between Databases References: <00c801c37c62$8d96dee0$6601a8c0@HAL9002> <011f01c37c62$cc5752e0$220110ac@SUSANONE> Message-ID: <00fa01c37c63$f8737ab0$6601a8c0@HAL9002> I think I'll try TransferDatabase first. Found a link http://www.applecore99.com/gen/gen055.asp which lays it out pretty plain. That way I don't have to open the target database or make links. Thanks and regards, Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Tuesday, September 16, 2003 7:57 AM Subject: Re: [AccessD] Trasnfer Table Between Databases Are you really transferring or just copying the data? INSERT INTO and SELECT INTO are both available -- just use the IN operator to specify the foreign database. Susan H. Dear List: I have a FE/BE app where I need to transfer three of the BE tables to another database. Is there a better way to do this than creating a workspace for the target database, opening the target, opening the source and object tables and transferring the records one by one. The table structure in the source and target databases is the same. The number of records is small. So time is not a consideration. MTIA Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Sep 16 10:08:30 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 16 Sep 2003 11:08:30 -0400 Subject: [AccessD] Multiple instances of a form References: Message-ID: <00fa01c37c64$66bdbb70$6401a8c0@default> Arthur, http://users.bigpond.net.au/abrowne1/tips.html Tips For Serious Users http://users.bigpond.net.au/abrowne1/ser-35.html Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Tuesday, September 16, 2003 1:49 PM Subject: [AccessD] Multiple instances of a form > Would someone please remind me how to open multiple instances of the same > form? I've done it in the past but can't remember how. > > Thx, > Arthur > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Sep 16 10:16:08 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 16 Sep 2003 11:16:08 -0400 Subject: [AccessD] Message-ID: I am using Windows 2000 Remote Access and VPN to get in to a client's network. I used to have this working on my system and lost the setup when I rebuilt my machine. I had something like a shortcut that opened the vpn, then mapped a drive. When the VPN closed, the drive was unmapped as well. Now I don't remember how to set it up. Does anyone know how to do this? TIA John W. Colby www.colbyconsulting.com From tim at irwin-greenhouses.com Tue Sep 16 10:26:16 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Tue, 16 Sep 2003 10:26:16 -0500 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <5027681023.20030916162329@cactus.dk> Message-ID: <001f01c37c66$e06db360$6600a8c0@tim> Gustav, Thanks your help. Evidently, RecordsetClone is not a property of reports, only forms. Any other suggestions? Tim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, September 16, 2003 9:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Referencing Recordsource in Report Hi Tim .RecordSource is nothing but a string - with either the name of a table or query or an SQL string. Try to insert: MsgBox Me.RecordSource Maybe Set rst = Me.RecordsetClone is what you are looking for? /gustav > Hi List! > I am having a problem understanding how to reference the recordsource in a > report. I need to have a text box in a report show 1 of 3 possible fields > in a report. I am using the following code to do this. When I run the > report, I get the error message "Type mismatch" with the code > "Me.Recordsource" highlighted. Can anyone suggest what I am doing wrong or > a better way to do this? > Private Sub Report_Open(Cancel As Integer) > Dim CurDb As Database > Dim rstInv As Recordset, rstPricing As Recordset > Dim strInv As String > Set CurDb = CurrentDb > strInv = "SELECT Customers.[Customer Number], Customers.[Pricing Type], > Customers.Code " _ > & "FROM Customers " _ > & "WHERE Customers.[Customer Number]= '" & > Forms!frmAckCustInventory![cboCustomer] & "';" > Set rstPricing = CurDb.OpenRecordset(strInv, dbOpenDynaset) > Me!PricingCode = rstPricing!Code > Set rstInv = Me.RecordSource > Select Case rstPricing!Code > Case 1 > Me!Price = rstInv!QtyPrice > Case 2 > Me!Price = rstInv!PrebookPrice > Case 3 > Me!Price = rstInv!WhlsePrice > End Select > End Sub > Tim Thiessen _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Sep 16 10:32:14 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 16 Sep 2003 10:32:14 -0500 Subject: [AccessD] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271F9@main2.marlow.com> http://wolfwares.com/accessd/postinfo.asp?Post=37212 I think that's what you are looking for. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 16, 2003 10:16 AM To: AccessD Subject: [AccessD] I am using Windows 2000 Remote Access and VPN to get in to a client's network. I used to have this working on my system and lost the setup when I rebuilt my machine. I had something like a shortcut that opened the vpn, then mapped a drive. When the VPN closed, the drive was unmapped as well. Now I don't remember how to set it up. Does anyone know how to do this? TIA John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 16 13:39:06 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 16 Sep 2003 11:39:06 -0700 Subject: [AccessD] MDI within Access Message-ID: Is it possible to create an MDI frame within an Access app? I.e. DoCmd.OpenFrame ? Or is a tabbed form as close as we can get? Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From cfoust at infostatsystems.com Tue Sep 16 10:41:29 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Sep 2003 08:41:29 -0700 Subject: [AccessD] OT: Today's GIS Message-ID: I thought Oracle was the RDBMS of choice for ESRI. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Tuesday, September 16, 2003 5:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Today's GIS :o) Yes, when they made the move to Arc8, which basically wants you to use a RDBMS for data storage rather than the "Info" flat file system used previously, most of the users rebelled. I would estimate that in Wisconsin (ArcInfo is the State mandated standard) that no one moved to using a RDBMS for over a yer and we're probably up to about 20% doing it. Hard to change almost 20 years of engrained habit. The really nice thing is that the ESRI line VBA capable and they are promoting the use of VBA instead of their own Macro languages. BTW for those of you who don't know what GIS is - it's Geographic Information System. Basically smart maps (and other graphics). Very powerful environments that allow one to connect intelligent graphics elements to information attributes that can be entered, edited and recalled via the graphics (and via queries). These graphic elements "know" about themselves and where they fit in the world. Queries can be attribute queries, spatial queries or a combination of both. On this list we all know attribute queries. A spatial query would be something Show me all of the residential areas that are adjacent to a water feature. A combination query would be one that uses the graphics elements and attribute information that has no graphic element such as "phone number". One such as Marty described, in laymen's terms: "let me see all of the residential units that have changed phone service within the last year". Cool stuff. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, > Andrew > Sent: Tuesday, September 16, 2003 2:14 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] OT: Today's GIS > > > Lets hope ESRI get everything working properly in their latest > releases. > ;=) > > -----Original Message----- > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > Sent: Tuesday, 16 September 2003 4:07 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > Compiler) > > > There has been some major chances in GIS capabilities over the last > twenty years. The new state art is ARCInfo. It is a full object > oriented data and graphic package with an extensive set of tools that > can link it into virtually any data sources and combine them > together. It is fully programmable as well. Some pretty heady stuff. > As you have observed, the GIS packages are much more than just a CAD > program. > > I may eventually start working in GIS, again...one of these days...an > old friend is now incharge of the local government services and has > extended an offer. > > Still debating. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > Sent: Monday, September 15, 2003 7:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > Compiler) > > > I took a GIS course, a couple of years back at U Vic to keep my hand > in. It was all Unix MapSys. I am still surprised how many people > don't think out of the box with GIS. I once had to find out how many > people had moved in a year in a municipality surrounded by Ottawa. So > I did it with address matching and maps showing the actual moves; took > about a month to do. I came up with a figure of 30%. The urban > planners started berating me about the figure being way too high. > So I showed them the figures I got from Bell Canada. The number of new > residential phone connects in the year was 33% in that municipality. At > that time there were no cell phones. > One phone call to Bell could have given them a ball park figure rather > than using GIS. > > John B. wrote: > > >If you haven't worked in GIS for awhile I think you'de be pleasantly > >surprised how far they've come. > > > >I was a GIS Project Manager in the late 90's just as Intergraph > made a huge > >switch in philosphy. They adapted Windows NT as their OS of choice > >and jumped from Unix to NT, Eventually, after they migrated their > >customer > base, > >they got out of the Unix OS(Clipper) business all together, although > >they > do > >support using other OS based DBs via networks. > > > >There are basically two main companies involved in GIS now, > >Intergraph (which is publicly held) and ESRI (which is privately > >owned). Intergraph > has > >a lot of other companies using their technologies to target specfic > >tasks/audiences. ESRI has a lot of companies writing add-ons or > supplements > >to their software. > > > >It's an amazing set of technologies! > > > > > > > >>-----Original Message----- > >>From: accessd-bounces at databaseadvisors.com > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > >>MartyConnelly > >>Sent: Sunday, September 14, 2003 10:02 PM > >>To: Access Developers discussion and problem solving > >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > >> > >> > >>Cadastral from french cadastre meaning to register. Hence a Land > >>registry system. > >> > >>However don't go near the Quebec Land Registry based on old > >>Seigneurial land titles everything was measured in perches or some > >>other obscure 17'th century measurement. > >> > >> Yup I worked on two GIS cadastral mapping systems linked to land > >>assessment databases one in Ottawa with a Honeywell 6000 GCOS > >>mainframe and one PDP 11/70 Intergraph system in Calgary. > >> > >>Gustav Brock wrote: > >> > >> > >> > >>>Hi Jim > >>> > >>>Sounds impressive. But cadastral? Even my trusted "American > >>>Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to > >>>give up on this. Google, however, revealed this page among others: > >>> > >>> http://www.co.blm.gov/cadastral/cadhome.htm > >>> > >>>Is that what your project was about? > >>> > >>>/gustav > >>> > >>> > >>> > >>> > >>> > >>> > >>>>Wow, that dates things...I was pretty decent Fortran programmer > >>>> > >>>> > >>back in the > >> > >> > >>>>late seventies, early eighties...I build a complete cadastral > >>>>AutoCAD application that translated coordinates from Clarke's 1886 > >>>> > >>>> > >>global positional > >> > >> > >>>>formula spheroid to conic and mecaider map projections, on an > Intergraph > >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then > >>>>and remember little about it except that one period missing in a > >>>> > >>>> > >>the code could > >> > >> > >>>>result in 100 plus pages of errors. I hope they have improved > the error > >>>>handling routines. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Thanks for the heads up Marty and maybe I will take a stroll > down memory > >>>>lane. (Even though it is a bit over-grown.) > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>Jim > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>-----Original Message----- > >>>>From: accessd-bounces at databaseadvisors.com > >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > MartyConnelly > >>>>Sent: Saturday, September 13, 2003 5:09 PM > >>>>To: Access Developers discussion and problem solving > >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >>>>I was looking at the Fortran95.Net compiler on this site when I > >>>>came across this free for personal use Fortran 77 compiler. a bit > >>>>dated but... Still useable with some of the good stat-math packs > >>>>that are floating around on the net. > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > >>>> > >>>> > >>>> > >>>> > >>>_______________________________________________ > >>>AccessD mailing list > >>>AccessD at databaseadvisors.com > >>>http://databaseadvisors.com/mailman/listinfo/accessd > >>>Website: http://www.databaseadvisors.com > >>> > >>> > >>> > >>> > >>> > >>_______________________________________________ > >>AccessD mailing list > >>AccessD at databaseadvisors.com > >>http://databaseadvisors.com/mailman/listinfo/accessd > >>Website: http://www.databaseadvisors.com > >> > >> > >> > >> > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > IMPORTANT - PLEASE READ ******************** > This email and any files transmitted with it are confidential and may > contain information protected by law from disclosure. If you have > received this message in error, please notify the sender immediately > and delete this email from your system. No warranty is given that this > email or files, if attached to this email, are free from computer > viruses or other defects. They are provided on the basis the user > assumes all responsibility for loss, damage or consequence resulting > directly or indirectly from their use, whether caused by the > negligence of the sender or not. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 16 10:42:13 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 17:42:13 +0200 Subject: =?ISO-8859-1?B?UmU6IFtBY2Nlc3NEXSAgSW50ZXJTeXN0ZW1zIENhY2jpIGRhdGFiYXNl?= =?ISO-8859-1?B?IGVuZ2luZQ==?= In-Reply-To: References: Message-ID: <6032405206.20030916174213@cactus.dk> Hi Jim Well, this one was advertised in Programmers Report for May 2003 and Mike Gunderloy's Developer Central #32: http://lists.101com.com/nl/main.asp?NL=adt and today I received a direct mail with an invitation to a seminar. But before wasting a day on this - some might have had some experiences they wish to share ... /gustav > Hi Gustav: > How do you keep finding all these neat products? :-) > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, September 16, 2003 2:29 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] InterSystems Cach? database engine > Hi group > Just noticed this option for a free developer license: > http://www.intersystems.com/downloads/index.html > Anyone having experience with this engine as a backend for Access or > otherwise? > The free license doesn't allow you to sell your apps. It is, however, > not time limited. From jcolby at colbyconsulting.com Tue Sep 16 10:42:45 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 16 Sep 2003 11:42:45 -0400 Subject: [AccessD] In-Reply-To: Message-ID: Never mind. It seems I have two batch files in that client's directory with the commands to do this. Sorry for the ring. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 16, 2003 11:16 AM To: AccessD Subject: [AccessD] I am using Windows 2000 Remote Access and VPN to get in to a client's network. I used to have this working on my system and lost the setup when I rebuilt my machine. I had something like a shortcut that opened the vpn, then mapped a drive. When the VPN closed, the drive was unmapped as well. Now I don't remember how to set it up. Does anyone know how to do this? TIA John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Sep 16 10:44:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 16 Sep 2003 11:44:07 -0400 Subject: [AccessD] In-Reply-To: <2F8793082E00D4119A1700B0D0216BF8022271F9@main2.marlow.com> Message-ID: Right you are. Thanks John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, September 16, 2003 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] http://wolfwares.com/accessd/postinfo.asp?Post=37212 I think that's what you are looking for. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 16, 2003 10:16 AM To: AccessD Subject: [AccessD] I am using Windows 2000 Remote Access and VPN to get in to a client's network. I used to have this working on my system and lost the setup when I rebuilt my machine. I had something like a shortcut that opened the vpn, then mapped a drive. When the VPN closed, the drive was unmapped as well. Now I don't remember how to set it up. Does anyone know how to do this? TIA John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 16 10:46:17 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 17:46:17 +0200 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <001f01c37c66$e06db360$6600a8c0@tim> References: <001f01c37c66$e06db360$6600a8c0@tim> Message-ID: <16032649227.20030916174617@cactus.dk> Hi Tim Ahh, that is right - not until Access XP (?) I believe. How about Set rst = CurDb.OpenRecordset(Me.RecordSource) /gustav > Gustav, > Thanks your help. Evidently, RecordsetClone is not a property of reports, > only forms. Any other suggestions? > Tim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Tuesday, September 16, 2003 9:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Referencing Recordsource in Report > Hi Tim > .RecordSource is nothing but a string - with either the name of a > table or query or an SQL string. > Try to insert: > MsgBox Me.RecordSource > Maybe > Set rst = Me.RecordsetClone > is what you are looking for? > /gustav >> Hi List! >> I am having a problem understanding how to reference the recordsource in a >> report. I need to have a text box in a report show 1 of 3 possible fields >> in a report. I am using the following code to do this. When I run the >> report, I get the error message "Type mismatch" with the code >> "Me.Recordsource" highlighted. Can anyone suggest what I am doing wrong >> or a better way to do this? >> Private Sub Report_Open(Cancel As Integer) >> Dim CurDb As Database >> Dim rstInv As Recordset, rstPricing As Recordset >> Dim strInv As String >> Set CurDb = CurrentDb >> strInv = "SELECT Customers.[Customer Number], Customers.[Pricing Type], >> Customers.Code " _ >> & "FROM Customers " _ >> & "WHERE Customers.[Customer Number]= '" & >> Forms!frmAckCustInventory![cboCustomer] & "';" >> Set rstPricing = CurDb.OpenRecordset(strInv, dbOpenDynaset) >> Me!PricingCode = rstPricing!Code >> Set rstInv = Me.RecordSource >> Select Case rstPricing!Code >> Case 1 >> Me!Price = rstInv!QtyPrice >> Case 2 >> Me!Price = rstInv!PrebookPrice >> Case 3 >> Me!Price = rstInv!WhlsePrice >> End Select >> End Sub >> Tim Thiessen From tim at irwin-greenhouses.com Tue Sep 16 11:05:15 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Tue, 16 Sep 2003 11:05:15 -0500 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <16032649227.20030916174617@cactus.dk> Message-ID: <002001c37c6c$52a58fc0$6600a8c0@tim> Hi Gustav, I tried that and it returns an error message "Error 3061 Too few parameters Expected 3". The underlying query does rely on a subquery which does have 3 parameters but the parameters are supplied by an open form and runs just fine until I reference it it code. Any thoughts on why and how to fix? Tim Hi Tim Ahh, that is right - not until Access XP (?) I believe. How about Set rst = CurDb.OpenRecordset(Me.RecordSource) /gustav > Gustav, > Thanks your help. Evidently, RecordsetClone is not a property of reports, > only forms. Any other suggestions? > Tim > From ssharkins at bellsouth.net Tue Sep 16 11:15:38 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 16 Sep 2003 12:15:38 -0400 Subject: [AccessD] Referencing Recordsource in Report References: <002001c37c6c$52a58fc0$6600a8c0@tim> Message-ID: <01e601c37c6d$c5c72cb0$220110ac@SUSANONE> That error usually means there's a typo in the statement -- a missing space maybe? I get that one a lot myself when building a statement via variables and something will return together like ... WHERECompanyName... something like that. Susan H. > Hi Gustav, > I tried that and it returns an error message "Error 3061 Too few parameters > Expected 3". The underlying query does rely on a subquery which does have 3 > parameters but the parameters are supplied by an open form and runs just > fine until I reference it it code. Any thoughts on why and how to fix? > Tim From cfoust at infostatsystems.com Tue Sep 16 11:22:08 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Sep 2003 09:22:08 -0700 Subject: [AccessD] Referencing Recordsource in Report Message-ID: When you run a query in code, you have to instantiate and pass the parameters explicitly. You can't rely on it picking up form references because it won't. Charlotte Foust -----Original Message----- From: Tim Thiessen [mailto:tim at irwin-greenhouses.com] Sent: Tuesday, September 16, 2003 8:05 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Referencing Recordsource in Report Hi Gustav, I tried that and it returns an error message "Error 3061 Too few parameters Expected 3". The underlying query does rely on a subquery which does have 3 parameters but the parameters are supplied by an open form and runs just fine until I reference it it code. Any thoughts on why and how to fix? Tim Hi Tim Ahh, that is right - not until Access XP (?) I believe. How about Set rst = CurDb.OpenRecordset(Me.RecordSource) /gustav > Gustav, > Thanks your help. Evidently, RecordsetClone is not a property of > reports, only forms. Any other suggestions? Tim > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Tue Sep 16 11:27:27 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Sep 2003 18:27:27 +0200 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <002001c37c6c$52a58fc0$6600a8c0@tim> References: <002001c37c6c$52a58fc0$6600a8c0@tim> Message-ID: <9935119028.20030916182727@cactus.dk> Hi Tim > I tried that and it returns an error message "Error 3061 Too few parameters > Expected 3". The underlying query does rely on a subquery which does have 3 > parameters but the parameters are supplied by an open form and runs just > fine until I reference it it code. Any thoughts on why and how to fix? Yes, do something like this with the magic of Eval(): Dim dbs As Database Dim qdy As QueryDef Dim prm As Parameter Dim rst As Recordset Set dbs = CurrentDb() Set qdy = dbs.QueryDefs(Me.RecordSource) For Each prm In qdy.Parameters prm.Value = Eval(prm.Name) Next prm Set rst = qdy.OpenRecordset qdy.Close Debug.Print rst.RecordCount rst.Close Set rst = Nothing Set prm = Nothing Set qdy = Nothing Set dbs = Nothing You may also need to, in the query, specify the value type of the parameters: PARAMETERS [Forms]![frmMain]![txtValue] Short; /gustav > Ahh, that is right - not until Access XP (?) I believe. > How about > Set rst = CurDb.OpenRecordset(Me.RecordSource) > /gustav >> Gustav, >> Thanks your help. Evidently, RecordsetClone is not a property of reports, >> only forms. Any other suggestions? From john at winhaven.net Tue Sep 16 12:00:14 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 12:00:14 -0500 Subject: [AccessD] OT: Today's GIS In-Reply-To: Message-ID: ESRI products can use many RDBMSs with the aid of ArcSDE, Oracle being one of them. They make a big deal out of partnering with Oracle but without SDE you cannot fully utilize Oracle's Inherit Spatial Technology and even then it's problematic. Intergraph on the other hand can fully utilize Oracle Spatial. Any application that recognises the Oracle Spatial type can benefit from the addition of Radius Topology. Basically it's an addition to the relational model that allows the storage, interpretation and retrieval of spatial elements directly in the DB. The main reason this is beneficial is speed and having your data in an open environment. OpenGIS is a concept that has not quite been realized yet because one of the two biggest players in the filed does not want it to be fully open. They are "protecting their customer base through proprietary formats" was a comment the owner once made. I think we all know what that really means. And to their credit they have recently implemented some widely accepted standards such as VBA. Not a big deal in the ESRI world because they have Spatial Data Engine(SDE) that they use as a good between for supported RDBMSs. Essentially does the same thing, you just need to buy it too :o) I'm posting this thread to DBATech too (for futher discussion if needed). :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, September 16, 2003 10:41 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Today's GIS > > > I thought Oracle was the RDBMS of choice for ESRI. > > Charlotte Foust > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Tuesday, September 16, 2003 5:18 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Today's GIS > > > :o) > > Yes, when they made the move to Arc8, which basically wants you to use a > RDBMS for data storage rather than the "Info" flat file system used > previously, most of the users rebelled. I would estimate that in > Wisconsin (ArcInfo is the State mandated standard) that no one moved to > using a RDBMS for over a yer and we're probably up to about 20% doing > it. Hard to change almost 20 years of engrained habit. > > The really nice thing is that the ESRI line VBA capable and they are > promoting the use of VBA instead of their own Macro languages. > > BTW for those of you who don't know what GIS is - it's Geographic > Information System. Basically smart maps (and other graphics). Very > powerful environments that allow one to connect intelligent graphics > elements to information attributes that can be entered, edited and > recalled via the graphics (and via queries). These graphic elements > "know" about themselves and where they fit in the world. Queries can be > attribute queries, spatial queries or a combination of both. On this > list we all know attribute queries. A spatial query would be something > Show me all of the residential areas that are adjacent to a water > feature. A combination query would be one that uses the graphics > elements and attribute information that has no graphic element such as > "phone number". One such as Marty described, in laymen's terms: "let me > see all of the residential units that have changed phone service within > the last year". Cool stuff. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, > > Andrew > > Sent: Tuesday, September 16, 2003 2:14 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] OT: Today's GIS > > > > > > Lets hope ESRI get everything working properly in their latest > > releases. > > ;=) > > > > -----Original Message----- > > From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] > > Sent: Tuesday, 16 September 2003 4:07 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > > Compiler) > > > > > > There has been some major chances in GIS capabilities over the last > > twenty years. The new state art is ARCInfo. It is a full object > > oriented data and graphic package with an extensive set of tools that > > can link it into virtually any data sources and combine them > > together. It is fully programmable as well. Some pretty heady stuff. > > As you have observed, the GIS packages are much more than just a CAD > > program. > > > > I may eventually start working in GIS, again...one of these days...an > > old friend is now incharge of the local government services and has > > extended an offer. > > > > Still debating. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > Sent: Monday, September 15, 2003 7:58 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 > > Compiler) > > > > > > I took a GIS course, a couple of years back at U Vic to keep my hand > > in. It was all Unix MapSys. I am still surprised how many people > > don't think out of the box with GIS. I once had to find out how many > > people had moved in a year in a municipality surrounded by Ottawa. So > > > I did it with address matching and maps showing the actual moves; took > > > about a month to do. I came up with a figure of 30%. The urban > > planners started berating me about the figure being way too high. > > So I showed them the figures I got from Bell Canada. The number of > new > > residential phone connects in the year was 33% in that municipality. > At > > that time there were no cell phones. > > One phone call to Bell could have given them a ball park figure rather > > than using GIS. > > > > John B. wrote: > > > > >If you haven't worked in GIS for awhile I think you'de be pleasantly > > >surprised how far they've come. > > > > > >I was a GIS Project Manager in the late 90's just as Intergraph > > made a huge > > >switch in philosphy. They adapted Windows NT as their OS of choice > > >and jumped from Unix to NT, Eventually, after they migrated their > > >customer > > base, > > >they got out of the Unix OS(Clipper) business all together, although > > >they > > do > > >support using other OS based DBs via networks. > > > > > >There are basically two main companies involved in GIS now, > > >Intergraph (which is publicly held) and ESRI (which is privately > > >owned). Intergraph > > has > > >a lot of other companies using their technologies to target specfic > > >tasks/audiences. ESRI has a lot of companies writing add-ons or > > supplements > > >to their software. > > > > > >It's an amazing set of technologies! > > > > > > > > > > > >>-----Original Message----- > > >>From: accessd-bounces at databaseadvisors.com > > >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > >>MartyConnelly > > >>Sent: Sunday, September 14, 2003 10:02 PM > > >>To: Access Developers discussion and problem solving > > >>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler > > >> > > >> > > >>Cadastral from french cadastre meaning to register. Hence a Land > > >>registry system. > > >> > > >>However don't go near the Quebec Land Registry based on old > > >>Seigneurial land titles everything was measured in perches or some > > >>other obscure 17'th century measurement. > > >> > > >> Yup I worked on two GIS cadastral mapping systems linked to land > > >>assessment databases one in Ottawa with a Honeywell 6000 GCOS > > >>mainframe and one PDP 11/70 Intergraph system in Calgary. > > >> > > >>Gustav Brock wrote: > > >> > > >> > > >> > > >>>Hi Jim > > >>> > > >>>Sounds impressive. But cadastral? Even my trusted "American > > >>>Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to > > >>>give up on this. Google, however, revealed this page among others: > > >>> > > >>> http://www.co.blm.gov/cadastral/cadhome.htm > > >>> > > >>>Is that what your project was about? > > >>> > > >>>/gustav > > >>> > > >>> > > >>> > > >>> > > >>> > > >>> > > >>>>Wow, that dates things...I was pretty decent Fortran programmer > > >>>> > > >>>> > > >>back in the > > >> > > >> > > >>>>late seventies, early eighties...I build a complete cadastral > > >>>>AutoCAD application that translated coordinates from Clarke's 1886 > > >>>> > > >>>> > > >>global positional > > >> > > >> > > >>>>formula spheroid to conic and mecaider map projections, on an > > Intergraph > > >>>>system, running on an old PDP11-70 VAX. I was a lot brighter then > > >>>>and remember little about it except that one period missing in a > > >>>> > > >>>> > > >>the code could > > >> > > >> > > >>>>result in 100 plus pages of errors. I hope they have improved > > the error > > >>>>handling routines. > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>Thanks for the heads up Marty and maybe I will take a stroll > > down memory > > >>>>lane. (Even though it is a bit over-grown.) > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>Jim > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>-----Original Message----- > > >>>>From: accessd-bounces at databaseadvisors.com > > >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > MartyConnelly > > >>>>Sent: Saturday, September 13, 2003 5:09 PM > > >>>>To: Access Developers discussion and problem solving > > >>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>> > > >>>>I was looking at the Fortran95.Net compiler on this site when I > > >>>>came across this free for personal use Fortran 77 compiler. a bit > > >>>>dated but... Still useable with some of the good stat-math packs > > >>>>that are floating around on the net. > > >>>> > > >>>> > > >>>> > > >>>> > > >>> > > >>> > > >>> > > >>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml > > >>>> > > >>>> > > >>>> > > >>>> > > >>>_______________________________________________ > > >>>AccessD mailing list > > >>>AccessD at databaseadvisors.com > > >>>http://databaseadvisors.com/mailman/listinfo/accessd > > >>>Website: http://www.databaseadvisors.com > > >>> > > >>> > > >>> > > >>> > > >>> > > >>_______________________________________________ > > >>AccessD mailing list > > >>AccessD at databaseadvisors.com > > >>http://databaseadvisors.com/mailman/listinfo/accessd > > >>Website: http://www.databaseadvisors.com > > >> > > >> > > >> > > >> > > > > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > IMPORTANT - PLEASE READ ******************** > > This email and any files transmitted with it are confidential and may > > contain information protected by law from disclosure. If you have > > received this message in error, please notify the sender immediately > > and delete this email from your system. No warranty is given that this > > > email or files, if attached to this email, are free from computer > > viruses or other defects. They are provided on the basis the user > > assumes all responsibility for loss, damage or consequence resulting > > directly or indirectly from their use, whether caused by the > > negligence of the sender or not. > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 16 12:00:15 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 12:00:15 -0500 Subject: [AccessD] Lose Focus In-Reply-To: Message-ID: I've been reading up on this and ADH recommends not using ActiveForm. Maybe I'm overthinking this and missing something obvious but I'm definitely missing something :o) Can someone tell me how to save the record of the calling form when I can't pass the Me object to the function because it's being called from a shortcut menu? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > Sent: Monday, September 15, 2003 5:41 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Charlotte: > That's what I'm experiencing. I have a function that is called by shortcut > menu from a number of different forms. The record needs to be saved before > it will work correctly. I could save the record automatically in the > after_update event but this would be saving the record after each > update for > something that rarely occurrs. > > The only time this is an issue is if someone adds a new row (this is a > continuos form) and then uses the shortcut function immediately. > Of course a > client just called and noted this. Click on another row first is the > immediate work around but not real obvious to them. > > I'm thinking I should be able to use ActiveForm to perform a > SaveRecord when > the shortcut menu calls the function. Any help on that idea would be > welcome. > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Monday, September 15, 2003 5:30 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > won't automatically trigger a save of the current record. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Monday, September 15, 2003 2:12 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Lose Focus > > > > > > It should because the popup menu would have the focus. > > > > Drew > > > > -----Original Message----- > > From: John B. [mailto:john at winhaven.net] > > Sent: Monday, September 15, 2003 4:57 PM > > To: AccessD > > Subject: [AccessD] Lose Focus > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > John B. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sep 16 12:06:42 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Sep 2003 10:06:42 -0700 Subject: [AccessD] Lose Focus Message-ID: Here's a custom commandbar routine I've used. Public Function cbUndo() On Error Resume Next DoCmd.RunCommand acCmdUndo End Function 'cbUndo() Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Tuesday, September 16, 2003 9:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Lose Focus I've been reading up on this and ADH recommends not using ActiveForm. Maybe I'm overthinking this and missing something obvious but I'm definitely missing something :o) Can someone tell me how to save the record of the calling form when I can't pass the Me object to the function because it's being called from a shortcut menu? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > Sent: Monday, September 15, 2003 5:41 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Charlotte: > That's what I'm experiencing. I have a function that is called by > shortcut menu from a number of different forms. The record needs to be > saved before it will work correctly. I could save the record > automatically in the after_update event but this would be saving the > record after each update for something that rarely occurrs. > > The only time this is an issue is if someone adds a new row (this is a > continuos form) and then uses the shortcut function immediately. Of > course a client just called and noted this. Click on another row first > is the immediate work around but not real obvious to them. > > I'm thinking I should be able to use ActiveForm to perform a > SaveRecord when the shortcut menu calls the function. Any help on that > idea would be welcome. > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Monday, September 15, 2003 5:30 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > won't automatically trigger a save of the current record. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Monday, September 15, 2003 2:12 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Lose Focus > > > > > > It should because the popup menu would have the focus. > > > > Drew > > > > -----Original Message----- > > From: John B. [mailto:john at winhaven.net] > > Sent: Monday, September 15, 2003 4:57 PM > > To: AccessD > > Subject: [AccessD] Lose Focus > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > John B. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Sep 16 15:34:49 2003 From: artful at rogers.com (Arthur Fuller) Date: Tue, 16 Sep 2003 13:34:49 -0700 Subject: [AccessD] Trasnfer Table Between Databases In-Reply-To: <00c801c37c62$8d96dee0$6601a8c0@HAL9002> Message-ID: I know that you can do SELECTs from multiple MDBs in a single SELECT statement. I never tried an append query across MDBs but I think it would work. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, September 16, 2003 7:55 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Trasnfer Table Between Databases Dear List: I have a FE/BE app where I need to transfer three of the BE tables to another database. Is there a better way to do this than creating a workspace for the target database, opening the target, opening the source and object tables and transferring the records one by one. The table structure in the source and target databases is the same. The number of records is small. So time is not a consideration. MTIA Rocky Smolin Beach Access Software --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Tue Sep 16 12:39:31 2003 From: john at winhaven.net (John B.) Date: Tue, 16 Sep 2003 12:39:31 -0500 Subject: [AccessD] Lose Focus In-Reply-To: Message-ID: I tried DoCmd.RunCommand acCmdSaveRecord but it doesn't work from the function. I would have to include it in each indivdual form module under an event, which is what I'm trying to avoid doing. I'm thinking of using one of Arthur's patented global functions to load the form name in whenever a form is active and then referencing it in the function. Any other ideas? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, September 16, 2003 12:07 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Here's a custom commandbar routine I've used. > > Public Function cbUndo() > On Error Resume Next > DoCmd.RunCommand acCmdUndo > End Function 'cbUndo() > > Charlotte Foust > > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Tuesday, September 16, 2003 9:00 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > I've been reading up on this and ADH recommends not using ActiveForm. > > Maybe I'm overthinking this and missing something obvious but I'm > definitely missing something :o) > > Can someone tell me how to save the record of the calling form when I > can't pass the Me object to the function because it's being called from > a shortcut menu? > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > > Sent: Monday, September 15, 2003 5:41 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Charlotte: > > That's what I'm experiencing. I have a function that is called by > > shortcut menu from a number of different forms. The record needs to be > > > saved before it will work correctly. I could save the record > > automatically in the after_update event but this would be saving the > > record after each update for something that rarely occurrs. > > > > The only time this is an issue is if someone adds a new row (this is a > > > continuos form) and then uses the shortcut function immediately. Of > > course a client just called and noted this. Click on another row first > > > is the immediate work around but not real obvious to them. > > > > I'm thinking I should be able to use ActiveForm to perform a > > SaveRecord when the shortcut menu calls the function. Any help on that > > > idea would be welcome. > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > Foust > > > Sent: Monday, September 15, 2003 5:30 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > > won't automatically trigger a save of the current record. > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Monday, September 15, 2003 2:12 PM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > It should because the popup menu would have the focus. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John B. [mailto:john at winhaven.net] > > > Sent: Monday, September 15, 2003 4:57 PM > > > To: AccessD > > > Subject: [AccessD] Lose Focus > > > > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > > > John B. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From askolits at ot.com Tue Sep 16 12:56:32 2003 From: askolits at ot.com (John Skolits) Date: Tue, 16 Sep 2003 13:56:32 -0400 Subject: [AccessD] OT: Detect what Network I'm on In-Reply-To: Message-ID: I need to be able to detect the name of what local network I am on. Anyone have an API call for this? John Skolits From tim at irwin-greenhouses.com Tue Sep 16 13:00:20 2003 From: tim at irwin-greenhouses.com (Tim Thiessen) Date: Tue, 16 Sep 2003 13:00:20 -0500 Subject: [AccessD] Referencing Recordsource in Report In-Reply-To: <9935119028.20030916182727@cactus.dk> Message-ID: <000501c37c7c$6567db80$6600a8c0@tim> Thanks Gustav and Charolette! Gustav, the code you gave worked. I did not know about the referencing the query as the recordsource in code in reports. Learn something new everyday on this list. Thanks again. Tim From cfoust at infostatsystems.com Tue Sep 16 13:15:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Sep 2003 11:15:49 -0700 Subject: [AccessD] Lose Focus Message-ID: I've certainly used a static variable (works the same as the static function) to hold the "currentform" name. Then all I have to do is retrieve the value from the function. The only catch is that you have to be sure and include code in each form to keep that value updated or else bind each form to a class that included that functionality, so I'm not sure how that would improve your situation. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Tuesday, September 16, 2003 9:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Lose Focus I tried DoCmd.RunCommand acCmdSaveRecord but it doesn't work from the function. I would have to include it in each indivdual form module under an event, which is what I'm trying to avoid doing. I'm thinking of using one of Arthur's patented global functions to load the form name in whenever a form is active and then referencing it in the function. Any other ideas? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, September 16, 2003 12:07 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Here's a custom commandbar routine I've used. > > Public Function cbUndo() > On Error Resume Next > DoCmd.RunCommand acCmdUndo > End Function 'cbUndo() > > Charlotte Foust > > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Tuesday, September 16, 2003 9:00 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > I've been reading up on this and ADH recommends not using ActiveForm. > > Maybe I'm overthinking this and missing something obvious but I'm > definitely missing something :o) > > Can someone tell me how to save the record of the calling form when I > can't pass the Me object to the function because it's being called > from a shortcut menu? > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > > Sent: Monday, September 15, 2003 5:41 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Charlotte: > > That's what I'm experiencing. I have a function that is called by > > shortcut menu from a number of different forms. The record needs to > > be > > > saved before it will work correctly. I could save the record > > automatically in the after_update event but this would be saving the > > record after each update for something that rarely occurrs. > > > > The only time this is an issue is if someone adds a new row (this is > > a > > > continuos form) and then uses the shortcut function immediately. Of > > course a client just called and noted this. Click on another row > > first > > > is the immediate work around but not real obvious to them. > > > > I'm thinking I should be able to use ActiveForm to perform a > > SaveRecord when the shortcut menu calls the function. Any help on > > that > > > idea would be welcome. > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > > Charlotte Foust > > > Sent: Monday, September 15, 2003 5:30 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > Sort of. The exit event of the form doesn't occur, so context > > > menu won't automatically trigger a save of the current record. > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Monday, September 15, 2003 2:12 PM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > It should because the popup menu would have the focus. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John B. [mailto:john at winhaven.net] > > > Sent: Monday, September 15, 2003 4:57 PM > > > To: AccessD > > > Subject: [AccessD] Lose Focus > > > > > > > > > Does the Lose Focus event fire when then shortcut menu is popped > > > up? > > > > > > John B. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Sep 16 13:28:11 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Sep 2003 11:28:11 -0700 Subject: [AccessD] OT: Detect what Network I'm on References: Message-ID: <3F67563B.5050904@shaw.ca> WMI API should have it. Installed on WinXP and Win2000, have to install from MS for Win9x Windows Management Instrumentation, You could hunt around here for sample code. http://www.activxperts.com/activmonitor/windowsmanagement/wmisamples/ example The Win32_NetworkClient WMI class represents a network client on a Windows system. Any computer system on the network with a client relationship to the system is a descendent (or member) of this class (for example, a computer running Windows 2000 Workstation or Windows 98 that is part of a Windows 2000 domain). On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkClient",,48) For Each objItem in colItems Wscript.Echo "Caption: " & objItem.Caption Wscript.Echo "Description: " & objItem.Description Wscript.Echo "InstallDate: " & objItem.InstallDate Wscript.Echo "Manufacturer: " & objItem.Manufacturer Wscript.Echo "Name: " & objItem.Name Wscript.Echo "Status: " & objItem.Status Next John Skolits wrote: >I need to be able to detect the name of what local network I am on. > > >Anyone have an API call for this? > >John Skolits > > > > From Jdemarco at hshhp.org Tue Sep 16 14:39:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 16 Sep 2003 15:39:26 -0400 Subject: =?iso-8859-1?Q?RE=3A_=5BAccessD=5D__InterSystems_Cach=E9_database_engine?= Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F567@TTNEXCHSRV1.hshhp.com> Now you've gone and got me curious again! Thanks, Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, September 16, 2003 10:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] InterSystems Cach? database engine Hi Jim Yes, they claim an ODBC driver to be available: http://www.intersystems.com/cache/cache5/fb/fb_02.html http://www.intersystems.com/cache/fusion/cache-prd_05.html and note 3 here: http://www.intersystems.com/cache/product-tables/current-prodlist.html That could be the answer to your question. /gustav > To be honest I never even gave Access a thought. I was pretty focused on the OO syntax for accessing data that I never got that far. Are there ODBC drivers for it? > I never saw where/how the data was stored since they don't use table structures. That was one of the issues I wanted to discuss with then (does one have to write an app to see the data because you > can't double click a table?) and how to interface with VB/VBA. > Jim > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Tuesday, September 16, 2003 8:58 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] InterSystems Cach? database engine > Hi Jim > How would you judge its relevance to Access? Either as a backend with > ODBC interface or as an "extension" to VBA? > /gustav >> Gustav, >> I've played with Cache a bit on its own (no Access or VB FE). I found it interesting because it's an object oriented DBMS as opposed to relational (you can use SQL with joins etc). If you follow >> their tutorial you'll see how very easy it is to get a web based app together. I never had time to continue "playing" with it but the concept makes complete sense to me. On the down side, a >> planned tech support call (them calling me) to answer some questions I had about the data storage never happened (without explaination). >> Jim DeMarco >> Director of Product Development >> HealthSource/Hudson Health Plan >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Tuesday, September 16, 2003 5:29 AM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] InterSystems Cach? database engine >> Hi group >> Just noticed this option for a free developer license: >> http://www.intersystems.com/downloads/index.html >> Anyone having experience with this engine as a backend for Access or >> otherwise? >> The free license doesn't allow you to sell your apps. It is, however, >> not time limited. >> /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Tue Sep 16 15:19:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 16 Sep 2003 15:19:28 -0500 Subject: [AccessD] Message-ID: <2F8793082E00D4119A1700B0D0216BF8022271FD@main2.marlow.com> You're quite welcome.... Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 16, 2003 10:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Right you are. Thanks John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Tuesday, September 16, 2003 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] http://wolfwares.com/accessd/postinfo.asp?Post=37212 I think that's what you are looking for. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 16, 2003 10:16 AM To: AccessD Subject: [AccessD] I am using Windows 2000 Remote Access and VPN to get in to a client's network. I used to have this working on my system and lost the setup when I rebuilt my machine. I had something like a shortcut that opened the vpn, then mapped a drive. When the VPN closed, the drive was unmapped as well. Now I don't remember how to set it up. Does anyone know how to do this? TIA John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Sep 16 15:35:06 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 16 Sep 2003 13:35:06 -0700 Subject: [AccessD] OT: Detect what Network I'm on In-Reply-To: <3F67563B.5050904@shaw.ca> References: <3F67563B.5050904@shaw.ca> Message-ID: <3F6773FA.1080909@verizon.net> Watch for the line wrap... note finding the network has not worked on a 9x machine. Option Explicit '-------------------------------------------------------------------- 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at allapi.net Const RPC_S_OK = &H0 Const RPC_S_UUID_LOCAL_ONLY = &H720 Const RPC_S_UUID_NO_ADDRESS = &H6CB Private Type UUID Data1 As Long Data2 As Integer Data3 As Integer Data4(7) As Byte End Type Private Declare Function UuidCreate Lib "rpcrt4" (lpUUID As UUID) As Long Private Declare Function UuidToString Lib "rpcrt4" Alias "UuidToStringA" (lpUUID As UUID, lpUUIDString As Long) As Long Private Declare Function RpcStringFree Lib "rpcrt4" Alias "RpcStringFreeA" (lpUUIDString As Long) As Long Private Declare Function lstrlen Lib "kernel32" Alias "lstrlenA" (ByVal lpString As Long) As Long Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (lpDest As Any, lpSource As Any, ByVal cBytes As Long) '-------------------------------------------------------------------- 'Use the following to get UserName Private Declare Function apiGetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long 'Use the following to get PC Name Private Const MAX_COMPUTERNAME_LENGTH As Long = 31 Private Declare Function GetComputerName Lib "kernel32" Alias "GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long 'Thanks to: Http://www.allapi.net 'To run this program, you must set the startup object to 'Sub Main' 'You can do this by going to Project->Project Properties->Startup Object 'In a module Private Const PLATFORM_ID_DOS = 300 Private Const PLATFORM_ID_OS2 = 400 Private Const PLATFORM_ID_NT = 500 Private Const PLATFORM_ID_OSF = 600 Private Const PLATFORM_ID_VMS = 700 Private Type WKSTA_INFO_102 wki100_platform_id As Long pwki100_computername As Long pwki100_langroup As Long wki100_ver_major As Long wki100_ver_minor As Long pwki102_lanroot As Long wki102_logged_on_users As Long End Type Declare Function NetWkstaGetInfo Lib "netapi32" (ByVal servername As String, ByVal level As Long, lpBuf As Any) As Long Declare Function NetApiBufferFree Lib "netapi32" (ByVal Buffer As Long) As Long 'KPD-Team 2000 'URL: http://www.allapi.net/ 'E-Mail: KPDTeam at allapi.net Function fOSPCName() As String Dim dwLen As Long Dim strString As String 'Create a buffer dwLen = MAX_COMPUTERNAME_LENGTH + 1 strString = String(dwLen, "X") 'Get the computer name GetComputerName strString, dwLen 'get only the actual data strString = Left(strString, dwLen) 'Show the computer name fOSPCName = strString End Function Function fOSDomainName() As String 'code submitted by Andreas Linnemann (ALinnemann at gmx.de) Dim pWrkInfo As Long, WrkInfo(0) As WKSTA_INFO_102, lResult As Long, strComputername As String 'make sure you replace the value of the following constant 'with a valid computer name from your LAN strComputername = fOSPCName() If CheckOS4NT = True Then lResult = NetWkstaGetInfo(StrConv("\\" & strComputername, vbUnicode), 102, pWrkInfo) If lResult = 0 Then Dim cname As String cname = String$(255, 0) CopyMemory WrkInfo(0), ByVal pWrkInfo, ByVal Len(WrkInfo(0)) CopyMemory ByVal cname, ByVal WrkInfo(0).pwki100_langroup, ByVal 255 fOSDomainName = StripTerminator(StrConv(cname, vbFromUnicode)) NetApiBufferFree ByVal pWrkInfo End If Else 'Couldn't determine Domain on 9x fOSDomainName = fOSPCName() End If End Function MartyConnelly wrote: > WMI API should have it. Installed on WinXP and Win2000, have to install > from MS for Win9x > Windows Management Instrumentation, You could hunt around here for > sample code. > > http://www.activxperts.com/activmonitor/windowsmanagement/wmisamples/ > > > example > The Win32_NetworkClient WMI class represents a network client on a > Windows system. Any computer system on the network with a client > relationship to the system is a descendent (or member) of this class > (for example, a computer running Windows 2000 Workstation or Windows 98 > that is part of a Windows 2000 domain). > > On Error Resume Next > strComputer = "." > Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") > Set colItems = objWMIService.ExecQuery("Select * from > Win32_NetworkClient",,48) > For Each objItem in colItems > Wscript.Echo "Caption: " & objItem.Caption > Wscript.Echo "Description: " & objItem.Description > Wscript.Echo "InstallDate: " & objItem.InstallDate > Wscript.Echo "Manufacturer: " & objItem.Manufacturer > Wscript.Echo "Name: " & objItem.Name > Wscript.Echo "Status: " & objItem.Status > Next > > John Skolits wrote: > >> I need to be able to detect the name of what local network I am on. >> >> Anyone have an API call for this? >> >> John Skolits -- -Francisco From bchacc at san.rr.com Tue Sep 16 23:29:44 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 16 Sep 2003 21:29:44 -0700 Subject: [AccessD] SubForm Disappears In Design View Message-ID: <02a501c37cd4$52435040$6601a8c0@HAL9002> Dear List: In A2K sometimes when I open a main form with a subform in design view, my sub-form disappears to be replaced by a big white box. If I want to work on it, I have to close the main form and open the subform in design view from the database container. Then, some random amount of time later, the subform reappears on the main form in design view. It's a real PITA. Has anyone seen this behavior and found a solution to it? MTIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael.mattys at adelphia.net Tue Sep 16 23:45:21 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 17 Sep 2003 00:45:21 -0400 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> Message-ID: <027801c37cd6$81815c10$6401a8c0@default> Hello Rocky, Michael Kaplan made something for this Look here: http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Wednesday, September 17, 2003 12:29 AM Subject: [AccessD] SubForm Disappears In Design View Dear List: In A2K sometimes when I open a main form with a subform in design view, my sub-form disappears to be replaced by a big white box. If I want to work on it, I have to close the main form and open the subform in design view from the database container. Then, some random amount of time later, the subform reappears on the main form in design view. It's a real PITA. Has anyone seen this behavior and found a solution to it? MTIA, is ---------------------------------------------------------------------------- ---- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Sep 16 23:47:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Sep 2003 21:47:30 -0700 Subject: [AccessD] Trasnfer Table Between Databases References: Message-ID: <3F67E762.1000308@shaw.ca> You can do this; from IN and INTO help files The following example makes a copy of the Employees table and places the new table in the assumed database Backup.mdb: SELECT Employees.* INTO Employees IN Backup.mdb FROM Employees; or Sub SelectIntoX() Dim dbs As Database Dim qdf As QueryDef ' Modify this line to include the path to Northwind ' on your computer. Set dbs = OpenDatabase("Northwind.mdb") ' Select all records in the Employees table ' and copy them into a new table, Emp Backup. dbs.Execute "SELECT Employees.* INTO " _ & "[Emp Backup] FROM Employees;" ' Delete the table because this is a demonstration. dbs.Execute "DROP TABLE [Emp Backup];" dbs.Close End Sub Arthur Fuller wrote: > I know that you can do SELECTs from multiple MDBs in a single SELECT > statement. I never tried an append query across MDBs but I think it > would work. > > A. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Tuesday, September 16, 2003 7:55 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Trasnfer Table Between Databases > > Dear List: > > I have a FE/BE app where I need to transfer three of the BE tables > to another database. Is there a better way to do this than > creating a workspace for the target database, opening the > target, opening the source and object tables and transferring the > records one by one. The table structure in the source and target > databases is the same. The number of records is small. So time > is not a consideration. > > MTIA > > Rocky Smolin > Beach Access Software > > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Wed Sep 17 00:16:57 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Sep 2003 22:16:57 -0700 Subject: [AccessD] OT: Today's GIS References: Message-ID: <3F67EE49.6060906@shaw.ca> The rough rule of thumb for speed and cost that I have heard is Access below 500MB, MS-SQL up to 5TB, Oracle or DB2 up to 20-30TB and some specialized databases after that. I would be heading for the hills after the first TeraByte. Yup they do get this size easily, raster vs vector storage is 10:1 I have heard of one radio astronomy VLBI group in Europe that road or air freights their Terabyte tapes. The internet is too slow. They grab data at the rate of 1 Gigabyte per second per telescope and they have 16 of them. http://news.bbc.co.uk/1/hi/technology/3093294.stm Generally the vectors or raster info is stored in a Blob type field and handled by a secondary proprietary database engine sitting on top of the primary database. ESRI calls it an SDE (Spatial Datbase Engine). These work via R* trees or Quad Tree indexes. Charlotte Foust wrote: >I thought Oracle was the RDBMS of choice for ESRI. > >Charlotte Foust > >-----Original Message----- >From: John B. [mailto:john at winhaven.net] >Sent: Tuesday, September 16, 2003 5:18 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Today's GIS > > >:o) > >Yes, when they made the move to Arc8, which basically wants you to use a >RDBMS for data storage rather than the "Info" flat file system used >previously, most of the users rebelled. I would estimate that in >Wisconsin (ArcInfo is the State mandated standard) that no one moved to >using a RDBMS for over a yer and we're probably up to about 20% doing >it. Hard to change almost 20 years of engrained habit. > >The really nice thing is that the ESRI line VBA capable and they are >promoting the use of VBA instead of their own Macro languages. > >BTW for those of you who don't know what GIS is - it's Geographic >Information System. Basically smart maps (and other graphics). Very >powerful environments that allow one to connect intelligent graphics >elements to information attributes that can be entered, edited and >recalled via the graphics (and via queries). These graphic elements >"know" about themselves and where they fit in the world. Queries can be >attribute queries, spatial queries or a combination of both. On this >list we all know attribute queries. A spatial query would be something >Show me all of the residential areas that are adjacent to a water >feature. A combination query would be one that uses the graphics >elements and attribute information that has no graphic element such as >"phone number". One such as Marty described, in laymen's terms: "let me >see all of the residential units that have changed phone service within >the last year". Cool stuff. > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, >>Andrew >>Sent: Tuesday, September 16, 2003 2:14 AM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] OT: Today's GIS >> >> >>Lets hope ESRI get everything working properly in their latest >>releases. >>;=) >> >>-----Original Message----- >>From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >>Sent: Tuesday, 16 September 2003 4:07 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 >>Compiler) >> >> >>There has been some major chances in GIS capabilities over the last >>twenty years. The new state art is ARCInfo. It is a full object >>oriented data and graphic package with an extensive set of tools that >>can link it into virtually any data sources and combine them >>together. It is fully programmable as well. Some pretty heady stuff. >>As you have observed, the GIS packages are much more than just a CAD >>program. >> >>I may eventually start working in GIS, again...one of these days...an >>old friend is now incharge of the local government services and has >>extended an offer. >> >>Still debating. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>MartyConnelly >>Sent: Monday, September 15, 2003 7:58 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 >>Compiler) >> >> >>I took a GIS course, a couple of years back at U Vic to keep my hand >>in. It was all Unix MapSys. I am still surprised how many people >>don't think out of the box with GIS. I once had to find out how many >>people had moved in a year in a municipality surrounded by Ottawa. So >> >> > > > >>I did it with address matching and maps showing the actual moves; took >> >> > > > >>about a month to do. I came up with a figure of 30%. The urban >>planners started berating me about the figure being way too high. >> So I showed them the figures I got from Bell Canada. The number of >> >> >new > > >>residential phone connects in the year was 33% in that municipality. >> >> >At > > >>that time there were no cell phones. >>One phone call to Bell could have given them a ball park figure rather >>than using GIS. >> >>John B. wrote: >> >> >> >>>If you haven't worked in GIS for awhile I think you'de be pleasantly >>>surprised how far they've come. >>> >>>I was a GIS Project Manager in the late 90's just as Intergraph >>> >>> >>made a huge >> >> >>>switch in philosphy. They adapted Windows NT as their OS of choice >>>and jumped from Unix to NT, Eventually, after they migrated their >>>customer >>> >>> >>base, >> >> >>>they got out of the Unix OS(Clipper) business all together, although >>>they >>> >>> >>do >> >> >>>support using other OS based DBs via networks. >>> >>>There are basically two main companies involved in GIS now, >>>Intergraph (which is publicly held) and ESRI (which is privately >>>owned). Intergraph >>> >>> >>has >> >> >>>a lot of other companies using their technologies to target specfic >>>tasks/audiences. ESRI has a lot of companies writing add-ons or >>> >>> >>supplements >> >> >>>to their software. >>> >>>It's an amazing set of technologies! >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>>MartyConnelly >>>>Sent: Sunday, September 14, 2003 10:02 PM >>>>To: Access Developers discussion and problem solving >>>>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler >>>> >>>> >>>>Cadastral from french cadastre meaning to register. Hence a Land >>>>registry system. >>>> >>>>However don't go near the Quebec Land Registry based on old >>>>Seigneurial land titles everything was measured in perches or some >>>>other obscure 17'th century measurement. >>>> >>>>Yup I worked on two GIS cadastral mapping systems linked to land >>>>assessment databases one in Ottawa with a Honeywell 6000 GCOS >>>>mainframe and one PDP 11/70 Intergraph system in Calgary. >>>> >>>>Gustav Brock wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi Jim >>>>> >>>>>Sounds impressive. But cadastral? Even my trusted "American >>>>>Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to >>>>>give up on this. Google, however, revealed this page among others: >>>>> >>>>>http://www.co.blm.gov/cadastral/cadhome.htm >>>>> >>>>>Is that what your project was about? >>>>> >>>>>/gustav >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Wow, that dates things...I was pretty decent Fortran programmer >>>>>> >>>>>> >>>>>> >>>>>> >>>>back in the >>>> >>>> >>>> >>>> >>>>>>late seventies, early eighties...I build a complete cadastral >>>>>>AutoCAD application that translated coordinates from Clarke's 1886 >>>>>> >>>>>> >>>>>> >>>>>> >>>>global positional >>>> >>>> >>>> >>>> >>>>>>formula spheroid to conic and mecaider map projections, on an >>>>>> >>>>>> >>Intergraph >> >> >>>>>>system, running on an old PDP11-70 VAX. I was a lot brighter then >>>>>>and remember little about it except that one period missing in a >>>>>> >>>>>> >>>>>> >>>>>> >>>>the code could >>>> >>>> >>>> >>>> >>>>>>result in 100 plus pages of errors. I hope they have improved >>>>>> >>>>>> >>the error >> >> >>>>>>handling routines. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>Thanks for the heads up Marty and maybe I will take a stroll >>>>>> >>>>>> >>down memory >> >> >>>>>>lane. (Even though it is a bit over-grown.) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>Jim >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>-----Original Message----- >>>>>>From: accessd-bounces at databaseadvisors.com >>>>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>>>> >>>>>> >>MartyConnelly >> >> >>>>>>Sent: Saturday, September 13, 2003 5:09 PM >>>>>>To: Access Developers discussion and problem solving >>>>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>I was looking at the Fortran95.Net compiler on this site when I >>>>>>came across this free for personal use Fortran 77 compiler. a bit >>>>>>dated but... Still useable with some of the good stat-math packs >>>>>>that are floating around on the net. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>_______________________________________________ >>>>>AccessD mailing list >>>>>AccessD at databaseadvisors.com >>>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>>Website: http://www.databaseadvisors.com >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>IMPORTANT - PLEASE READ ******************** >>This email and any files transmitted with it are confidential and may >>contain information protected by law from disclosure. If you have >>received this message in error, please notify the sender immediately >>and delete this email from your system. No warranty is given that this >> >> > > > >>email or files, if attached to this email, are free from computer >>viruses or other defects. They are provided on the basis the user >>assumes all responsibility for loss, damage or consequence resulting >>directly or indirectly from their use, whether caused by the >>negligence of the sender or not. >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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.be Wed Sep 17 01:58:11 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 17 Sep 2003 08:58:11 +0200 Subject: [AccessD] OT: Detect what Network I'm on Message-ID: What do you mean with local network name? The workgroup, domain name? Don't know that one, but I supose it's posible. The network user name I can give you an api call for. Hope this helps. Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _ "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long Function GetNetworkUserName() As Variant Dim lngLen As Long Dim lngX As Long Dim strUserName As String strUserName = String$(254, 0) lngLen = 255 lngX = apiGetUserName(strUserName, lngLen) If lngX <> 0 Then GetNetworkUserName = Left$(strUserName, lngLen - 1) Else GetNetworkUserName = Null End If End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Skolits Sent: Tuesday, September 16, 2003 7:57 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Detect what Network I'm on I need to be able to detect the name of what local network I am on. Anyone have an API call for this? John Skolits _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Sep 17 02:16:14 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 17 Sep 2003 17:16:14 +1000 Subject: [AccessD] OT: Detect what Network I'm on In-Reply-To: Message-ID: <3F6896DE.25750.22020A0@localhost> On 17 Sep 2003 at 8:58, Erwin Craps wrote: > What do you mean with local network name? > > The workgroup, domain name? > Don't know that one, but I supose it's posible. > I haven't tried it (I'll play around with it later) but: NetWkstaUserGetInfo The NetWkstaUserGetInfo function returns information about the currently logged-on user. This function must be called in the context of the logged-on user. Security Requirements This function only works locally. NET_API_STATUS NetWkstaUserGetInfo( LPTSTR reserved, DWORD level, LPBYTE *bufptr ); Parameters reserved This parameter must be set to NULL. level Specifies one of the following values to return the level of information provided. Value Meaning 0 The bufptr parameter points to a WKSTA_USER_INFO_0 structure. 1 The bufptr parameter points to a WKSTA_USER_INFO_1 structure. 1101 The bufptr parameter points to a WKSTA_USER_INFO_1101 structure. bufptr On return, a pointer to the return information structure is returned in the address pointed to by bufptr. and The WKSTA_USER_INFO_1 structure contains user information about a specified workstation, including the name of the current user, the LAN Manager domains accessed by the workstation, and user account information. typedef struct _WKSTA_USER_INFO_1 { LPTSTR wkui1_username; LPTSTR wkui1_logon_domain; LPTSTR wkui1_oth_domains; LPTSTR wkui1_logon_server;}WKSTA_USER_INFO_1, *PWKSTA_USER_INFO_1, *LPWKSTA_USER_INFO_1; Members wkui1_username Returns the name of the user currently logged on to the workstation. wkui1_logon_domain Returns the domain name of the user account of the user currently logged on to the workstation. wkui1_oth_domains Returns the list of other LAN Manager domains browsed by the workstation. The domain names are separated by blanks. wkui1_logon_server Returns the name of the computer that authenticated the server. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From accessd at shaw.ca Wed Sep 17 06:00:35 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 17 Sep 2003 04:00:35 -0700 Subject: [AccessD] OT: Today's GIS In-Reply-To: <3F67EE49.6060906@shaw.ca> Message-ID: Very interesting Marty.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Tuesday, September 16, 2003 10:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Today's GIS The rough rule of thumb for speed and cost that I have heard is Access below 500MB, MS-SQL up to 5TB, Oracle or DB2 up to 20-30TB and some specialized databases after that. I would be heading for the hills after the first TeraByte. Yup they do get this size easily, raster vs vector storage is 10:1 I have heard of one radio astronomy VLBI group in Europe that road or air freights their Terabyte tapes. The internet is too slow. They grab data at the rate of 1 Gigabyte per second per telescope and they have 16 of them. http://news.bbc.co.uk/1/hi/technology/3093294.stm Generally the vectors or raster info is stored in a Blob type field and handled by a secondary proprietary database engine sitting on top of the primary database. ESRI calls it an SDE (Spatial Datbase Engine). These work via R* trees or Quad Tree indexes. Charlotte Foust wrote: >I thought Oracle was the RDBMS of choice for ESRI. > >Charlotte Foust > >-----Original Message----- >From: John B. [mailto:john at winhaven.net] >Sent: Tuesday, September 16, 2003 5:18 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Today's GIS > > >:o) > >Yes, when they made the move to Arc8, which basically wants you to use a >RDBMS for data storage rather than the "Info" flat file system used >previously, most of the users rebelled. I would estimate that in >Wisconsin (ArcInfo is the State mandated standard) that no one moved to >using a RDBMS for over a yer and we're probably up to about 20% doing >it. Hard to change almost 20 years of engrained habit. > >The really nice thing is that the ESRI line VBA capable and they are >promoting the use of VBA instead of their own Macro languages. > >BTW for those of you who don't know what GIS is - it's Geographic >Information System. Basically smart maps (and other graphics). Very >powerful environments that allow one to connect intelligent graphics >elements to information attributes that can be entered, edited and >recalled via the graphics (and via queries). These graphic elements >"know" about themselves and where they fit in the world. Queries can be >attribute queries, spatial queries or a combination of both. On this >list we all know attribute queries. A spatial query would be something >Show me all of the residential areas that are adjacent to a water >feature. A combination query would be one that uses the graphics >elements and attribute information that has no graphic element such as >"phone number". One such as Marty described, in laymen's terms: "let me >see all of the residential units that have changed phone service within >the last year". Cool stuff. > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Haslett, >>Andrew >>Sent: Tuesday, September 16, 2003 2:14 AM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] OT: Today's GIS >> >> >>Lets hope ESRI get everything working properly in their latest >>releases. >>;=) >> >>-----Original Message----- >>From: Jim Lawrence (AccessD) [mailto:accessd at shaw.ca] >>Sent: Tuesday, 16 September 2003 4:07 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 >>Compiler) >> >> >>There has been some major chances in GIS capabilities over the last >>twenty years. The new state art is ARCInfo. It is a full object >>oriented data and graphic package with an extensive set of tools that >>can link it into virtually any data sources and combine them >>together. It is fully programmable as well. Some pretty heady stuff. >>As you have observed, the GIS packages are much more than just a CAD >>program. >> >>I may eventually start working in GIS, again...one of these days...an >>old friend is now incharge of the local government services and has >>extended an offer. >> >>Still debating. >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>MartyConnelly >>Sent: Monday, September 15, 2003 7:58 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Today's GIS (was Info: Free Windows Fortran 77 >>Compiler) >> >> >>I took a GIS course, a couple of years back at U Vic to keep my hand >>in. It was all Unix MapSys. I am still surprised how many people >>don't think out of the box with GIS. I once had to find out how many >>people had moved in a year in a municipality surrounded by Ottawa. So >> >> > > > >>I did it with address matching and maps showing the actual moves; took >> >> > > > >>about a month to do. I came up with a figure of 30%. The urban >>planners started berating me about the figure being way too high. >> So I showed them the figures I got from Bell Canada. The number of >> >> >new > > >>residential phone connects in the year was 33% in that municipality. >> >> >At > > >>that time there were no cell phones. >>One phone call to Bell could have given them a ball park figure rather >>than using GIS. >> >>John B. wrote: >> >> >> >>>If you haven't worked in GIS for awhile I think you'de be pleasantly >>>surprised how far they've come. >>> >>>I was a GIS Project Manager in the late 90's just as Intergraph >>> >>> >>made a huge >> >> >>>switch in philosphy. They adapted Windows NT as their OS of choice >>>and jumped from Unix to NT, Eventually, after they migrated their >>>customer >>> >>> >>base, >> >> >>>they got out of the Unix OS(Clipper) business all together, although >>>they >>> >>> >>do >> >> >>>support using other OS based DBs via networks. >>> >>>There are basically two main companies involved in GIS now, >>>Intergraph (which is publicly held) and ESRI (which is privately >>>owned). Intergraph >>> >>> >>has >> >> >>>a lot of other companies using their technologies to target specfic >>>tasks/audiences. ESRI has a lot of companies writing add-ons or >>> >>> >>supplements >> >> >>>to their software. >>> >>>It's an amazing set of technologies! >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: accessd-bounces at databaseadvisors.com >>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>>MartyConnelly >>>>Sent: Sunday, September 14, 2003 10:02 PM >>>>To: Access Developers discussion and problem solving >>>>Subject: Re: [AccessD] Info: Free Windows Fortran 77 Compiler >>>> >>>> >>>>Cadastral from french cadastre meaning to register. Hence a Land >>>>registry system. >>>> >>>>However don't go near the Quebec Land Registry based on old >>>>Seigneurial land titles everything was measured in perches or some >>>>other obscure 17'th century measurement. >>>> >>>>Yup I worked on two GIS cadastral mapping systems linked to land >>>>assessment databases one in Ottawa with a Honeywell 6000 GCOS >>>>mainframe and one PDP 11/70 Intergraph system in Calgary. >>>> >>>>Gustav Brock wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Hi Jim >>>>> >>>>>Sounds impressive. But cadastral? Even my trusted "American >>>>>Heritage Dictionary" (bought in Olympia 1986 for USD 4.95) had to >>>>>give up on this. Google, however, revealed this page among others: >>>>> >>>>>http://www.co.blm.gov/cadastral/cadhome.htm >>>>> >>>>>Is that what your project was about? >>>>> >>>>>/gustav >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Wow, that dates things...I was pretty decent Fortran programmer >>>>>> >>>>>> >>>>>> >>>>>> >>>>back in the >>>> >>>> >>>> >>>> >>>>>>late seventies, early eighties...I build a complete cadastral >>>>>>AutoCAD application that translated coordinates from Clarke's 1886 >>>>>> >>>>>> >>>>>> >>>>>> >>>>global positional >>>> >>>> >>>> >>>> >>>>>>formula spheroid to conic and mecaider map projections, on an >>>>>> >>>>>> >>Intergraph >> >> >>>>>>system, running on an old PDP11-70 VAX. I was a lot brighter then >>>>>>and remember little about it except that one period missing in a >>>>>> >>>>>> >>>>>> >>>>>> >>>>the code could >>>> >>>> >>>> >>>> >>>>>>result in 100 plus pages of errors. I hope they have improved >>>>>> >>>>>> >>the error >> >> >>>>>>handling routines. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>Thanks for the heads up Marty and maybe I will take a stroll >>>>>> >>>>>> >>down memory >> >> >>>>>>lane. (Even though it is a bit over-grown.) >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>Jim >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>-----Original Message----- >>>>>>From: accessd-bounces at databaseadvisors.com >>>>>>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >>>>>> >>>>>> >>MartyConnelly >> >> >>>>>>Sent: Saturday, September 13, 2003 5:09 PM >>>>>>To: Access Developers discussion and problem solving >>>>>>Subject: [AccessD] Info: Free Windows Fortran 77 Compiler >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>I was looking at the Fortran95.Net compiler on this site when I >>>>>>came across this free for personal use Fortran 77 compiler. a bit >>>>>>dated but... Still useable with some of the good stat-math packs >>>>>>that are floating around on the net. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>>>http://www.salfordsoftware.co.uk/compilers/ftn77pe/index.shtml >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>_______________________________________________ >>>>>AccessD mailing list >>>>>AccessD at databaseadvisors.com >>>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>>Website: http://www.databaseadvisors.com >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >>IMPORTANT - PLEASE READ ******************** >>This email and any files transmitted with it are confidential and may >>contain information protected by law from disclosure. If you have >>received this message in error, please notify the sender immediately >>and delete this email from your system. No warranty is given that this >> >> > > > >>email or files, if attached to this email, are free from computer >>viruses or other defects. They are provided on the basis the user >>assumes all responsibility for loss, damage or consequence resulting >>directly or indirectly from their use, whether caused by the >>negligence of the sender or not. >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Wed Sep 17 06:29:54 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 17 Sep 2003 04:29:54 -0700 (PDT) Subject: [AccessD] Still no mail In-Reply-To: <3F66A1C6.27056.1FAFFA@localhost> Message-ID: <20030917112954.65801.qmail@web60207.mail.yahoo.com> Hehehe, it works again! thnx bryan. Sander --- Bryan Carbonnell wrote: > On 15 Sep 2003 at 22:52, Sad Der wrote: > > > I got some respons on my test mail if my mails > where > > getting through to the list. It seems that they > do. > > > > Does anybody know where/how I can unsubscribe and > > resubscribe (with the same mail adres!). I'm a > member > > for about 6 years now and i have no idea how I > > subscribed to this list. > > > > Please respond send a CC to s_derix at yahoo.com. So > that > > I do net get 400 e-mails with the same answer in > my > > personal mail box! The number of replies on a > question > > is rather high on this list, wich is a good thing! > > Sander, > > Your account was automatically put on hold by the > mailing list > software for too many bounces. > > I unheld your account, so you should start getting > e-mails again. > > If this happens again, you can goto: > http://databaseadvisors.com/mailman/options/accessd/YourEmail at YourHost > .TLD > and set your options. > > If you can't get that to work you can always e-mail > the listmaster > (me) at listmaster at databaseadvisors.com or > carbonnb at sympatico.ca and > I can look into it for you. Same goes for anyone on > the list. > > HTH, > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > For every bug fixed, there is a bigger bug not yet > discovered. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Wed Sep 17 06:35:28 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 17 Sep 2003 04:35:28 -0700 (PDT) Subject: [AccessD] Archives on http://databaseadvisors.com/pipermail/accessd/ Message-ID: <20030917113528.68789.qmail@web60203.mail.yahoo.com> Hi group, I found the archives of this list on the above URL. There are a couple of txt files with all the mails. Did anybody perhaps start building a database for this baby? So it's easy to search for past discussions? If not, can anybody give some pointers on how to import this into a database? I don't see any logic in it. TIA Sander __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From dfenton at ozemail.com.au Wed Sep 17 08:03:23 2003 From: dfenton at ozemail.com.au (David Fenton) Date: Wed, 17 Sep 2003 23:03:23 +1000 Subject: [AccessD] Lose Focus Message-ID: <5.2.1.1.0.20030917225930.00af2458@mail.ozemail.com.au> I've had a similar problem with the save record before it can be used. I solved it by putting an If me.dirty then me.dirty=false into the opening lines of every event the user would be likely to activate (which was only three) where I needed the record, they were working on, to be saved first. It worked beautifully. Surely it can't be this simple? HTH, David Brisbane Australia From wdhindman at bellsouth.net Wed Sep 17 08:06:32 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 17 Sep 2003 09:06:32 -0400 Subject: [AccessD] Archives on http://databaseadvisors.com/pipermail/accessd/ References: <20030917113528.68789.qmail@web60203.mail.yahoo.com> Message-ID: <005c01c37d1c$8458bc30$6001a8c0@dejpolsys> http://www.wolfwares.com/AccessD/ William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Sad Der" To: "Acces User Group" Sent: Wednesday, September 17, 2003 7:35 AM Subject: [AccessD] Archives on http://databaseadvisors.com/pipermail/accessd/ > Hi group, > > I found the archives of this list on the above URL. > There are a couple of txt files with all the mails. > Did anybody perhaps start building a database for this > baby? So it's easy to search for past discussions? > > If not, can anybody give some pointers on how to > import this into a database? I don't see any logic in > it. > > TIA > > Sander > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Sep 17 08:15:08 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 06:15:08 -0700 Subject: [AccessD] Trasnfer Table Between Databases References: <3F67E762.1000308@shaw.ca> Message-ID: <007401c37d1d$b7ad5720$6601a8c0@HAL9002> Marty: That's a much more straightforward approach than I came up with, which I post here anyway as someone might be able to use it. The SendMessage sub uses the Outlook object. I would prefer to use SendObject but don't see a way to attach a database file to the message. Do you know if I can attach an mdb to an email using SendObject? Thanks and regards, Rocky Smolin Beach Access Software Dim strDBFrom As String Dim strDBTo As String Dim tdf As TableDef Dim objAccess As New Access.Application Dim wrkjet As DAO.Workspace Dim db As DAO.Database Set db = CurrentDb ' Get the name and location of the back end Set tdf = db.TableDefs("tblPatient") strDBFrom = Right(tdf.Connect, Len(tdf.Connect) - InStr(1, tdf.Connect, "=")) Set tdf = Nothing strDBTo = Left(strDBFrom, Len(strDBFrom) - 4) & "_LT.mdb" ' Use TransferDatabase to trasnfer the tables to the target database With objAccess .OpenCurrentDatabase (strDBFrom) .DoCmd.TransferDatabase acExport, "Microsoft Access", strDBTo, acTable, "tblPatient", "tblPatient" .DoCmd.TransferDatabase acExport, "Microsoft Access", strDBTo, acTable, "tblDiagnosticCode", "tblDiagnosticCode" .DoCmd.TransferDatabase acExport, "Microsoft Access", strDBTo, acTable, "tblServiceCode", "tblServiceCode" .DoCmd.TransferDatabase acExport, "Microsoft Access", strDBTo, acTable, "tblVisit", "tblVisit" .CloseCurrentDatabase End With Set objAccess = Nothing ' Empty the Visits table Set wrkjet = CreateWorkspace("", "admin", "", dbUseJet) Set db = wrkjet.OpenDatabase(strDBTo, True) db.Execute "Delete * FROM tblVisit" db.Close Set db = Nothing Call SendMessage("bchacc at san.rr.com", strDBTo) ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 16, 2003 9:47 PM Subject: Re: [AccessD] Trasnfer Table Between Databases > You can do this; from IN and INTO help files > > The following example makes a copy of the Employees table and places the > new table in the assumed database Backup.mdb: > > SELECT Employees.* INTO Employees IN Backup.mdb FROM Employees; > > or > Sub SelectIntoX() > Dim dbs As Database > Dim qdf As QueryDef > ' Modify this line to include the path to Northwind > ' on your computer. > Set dbs = OpenDatabase("Northwind.mdb") > > ' Select all records in the Employees table > ' and copy them into a new table, Emp Backup. > dbs.Execute "SELECT Employees.* INTO " _ > & "[Emp Backup] FROM Employees;" > > ' Delete the table because this is a demonstration. > dbs.Execute "DROP TABLE [Emp Backup];" > > > dbs.Close > > End Sub > Arthur Fuller wrote: > > > I know that you can do SELECTs from multiple MDBs in a single SELECT > > statement. I never tried an append query across MDBs but I think it > > would work. > > > > A. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Tuesday, September 16, 2003 7:55 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Trasnfer Table Between Databases > > > > Dear List: > > > > I have a FE/BE app where I need to transfer three of the BE tables > > to another database. Is there a better way to do this than > > creating a workspace for the target database, opening the > > target, opening the source and object tables and transferring the > > records one by one. The table structure in the source and target > > databases is the same. The number of records is small. So time > > is not a consideration. > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > > > > >------------------------------------------------------------------------ > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 17 08:34:02 2003 From: john at winhaven.net (John B.) Date: Wed, 17 Sep 2003 08:34:02 -0500 Subject: [AccessD] Lose Focus In-Reply-To: <5.2.1.1.0.20030917225930.00af2458@mail.ozemail.com.au> Message-ID: Hi David: I can place "DoCmd.RunCommand acCmdSaveRecord" in an appropriate event procedure such as After_Update and it saves the record. My problem is that I don't want to force a save unless the function (on the shortcut menu) is called. I can't seem to effectively trap the "right click" which calls the shortcut menu. I've come up with two alternatives to actually trapping the keystroke or directly referencing the form: 1. use a command button to do the exact same thing and add the save command in its procedure 2. use a global variable/function to store the name of the form. Neither solution is optimal for the situation. John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Fenton > Sent: Wednesday, September 17, 2003 8:03 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Lose Focus > > > I've had a similar problem with the save record before it can be used. > > I solved it by putting an > > If me.dirty then me.dirty=false > > into the opening lines of every event the user would be likely to > activate > (which was only three) where I needed the record, they were > working on, to > be saved first. > It worked beautifully. > > Surely it can't be this simple? > > HTH, > > David > Brisbane > Australia > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Sep 17 08:41:10 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 06:41:10 -0700 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> <027801c37cd6$81815c10$6401a8c0@default> Message-ID: <008401c37d21$5aa54840$6601a8c0@HAL9002> Michael: Well that works around the problem when it occurs. Thanks. I'm still curious about why that happens. There doesn't seem to be any pattern to it. Best, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 16, 2003 9:45 PM Subject: Re: [AccessD] SubForm Disappears In Design View > Hello Rocky, > > Michael Kaplan made something for this > Look here: > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Wednesday, September 17, 2003 12:29 AM > Subject: [AccessD] SubForm Disappears In Design View > > > Dear List: > > In A2K sometimes when I open a main form with a subform in design view, my > sub-form disappears to be replaced by a big white box. If I want to work on > it, I have to close the main form and open the subform in design view from > the database container. Then, some random amount of time later, the subform > reappears on the main form in design view. It's a real PITA. > > Has anyone seen this behavior and found a solution to it? > > MTIA, > > is > > > > -------------------------------------------------------------------------- -- > ---- > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sep 17 10:22:31 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Sep 2003 08:22:31 -0700 Subject: [AccessD] Lose Focus Message-ID: John, Is this a custom shortcut menu or the built in context menu for the form/subform? I assumed you were using a custom shortcut menu. Charlotte Foust -----Original Message----- From: John B. [mailto:john at winhaven.net] Sent: Tuesday, September 16, 2003 9:00 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Lose Focus I've been reading up on this and ADH recommends not using ActiveForm. Maybe I'm overthinking this and missing something obvious but I'm definitely missing something :o) Can someone tell me how to save the record of the calling form when I can't pass the Me object to the function because it's being called from a shortcut menu? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > Sent: Monday, September 15, 2003 5:41 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > Charlotte: > That's what I'm experiencing. I have a function that is called by > shortcut menu from a number of different forms. The record needs to be > saved before it will work correctly. I could save the record > automatically in the after_update event but this would be saving the > record after each update for something that rarely occurrs. > > The only time this is an issue is if someone adds a new row (this is a > continuos form) and then uses the shortcut function immediately. Of > course a client just called and noted this. Click on another row first > is the immediate work around but not real obvious to them. > > I'm thinking I should be able to use ActiveForm to perform a > SaveRecord when the shortcut menu calls the function. Any help on that > idea would be welcome. > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Monday, September 15, 2003 5:30 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > won't automatically trigger a save of the current record. > > > > Charlotte Foust > > > > -----Original Message----- > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > Sent: Monday, September 15, 2003 2:12 PM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Lose Focus > > > > > > It should because the popup menu would have the focus. > > > > Drew > > > > -----Original Message----- > > From: John B. [mailto:john at winhaven.net] > > Sent: Monday, September 15, 2003 4:57 PM > > To: AccessD > > Subject: [AccessD] Lose Focus > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > John B. > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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.mattys at adelphia.net Wed Sep 17 10:37:01 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 17 Sep 2003 11:37:01 -0400 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002><027801c37cd6$81815c10$6401a8c0@default> <008401c37d21$5aa54840$6601a8c0@HAL9002> Message-ID: <031901c37d31$8d24bb10$6401a8c0@default> Rocky, After looking over TSI_Subforminator, I have come to the conclusion that it has to do with the Name AutoCorrect feature. Apparently, it needs to open subforms live in order to track the names. TSI_Subforminator appears to update the name maps for the Access 2000 Name AutoCorrect feature before opening a subform in design view. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 9:41 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Michael: > > Well that works around the problem when it occurs. Thanks. I'm still > curious about why that happens. There doesn't seem to be any pattern to it. > > Best, > > Rocky > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 16, 2003 9:45 PM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Hello Rocky, > > > > Michael Kaplan made something for this > > Look here: > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > Michael R. Mattys > > Try MattysMapLib for MapPoint at > > www.mattysconsulting.com > > > > > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: > > Sent: Wednesday, September 17, 2003 12:29 AM > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > Dear List: > > > > In A2K sometimes when I open a main form with a subform in design view, my > > sub-form disappears to be replaced by a big white box. If I want to work > on > > it, I have to close the main form and open the subform in design view from > > the database container. Then, some random amount of time later, the > subform > > reappears on the main form in design view. It's a real PITA. > > > > Has anyone seen this behavior and found a solution to it? > > > > MTIA, > > > > is > > > > > > > > -------------------------------------------------------------------------- > -- > > ---- > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 17 10:47:51 2003 From: john at winhaven.net (John B.) Date: Wed, 17 Sep 2003 10:47:51 -0500 Subject: [AccessD] Lose Focus In-Reply-To: Message-ID: A custom shortcut menu. You were right :o) > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, September 17, 2003 10:23 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > John, > > Is this a custom shortcut menu or the built in context menu for the > form/subform? I assumed you were using a custom shortcut menu. > > Charlotte Foust > > -----Original Message----- > From: John B. [mailto:john at winhaven.net] > Sent: Tuesday, September 16, 2003 9:00 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Lose Focus > > > I've been reading up on this and ADH recommends not using ActiveForm. > > Maybe I'm overthinking this and missing something obvious but I'm > definitely missing something :o) > > Can someone tell me how to save the record of the calling form when I > can't pass the Me object to the function because it's being called from > a shortcut menu? > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > > Sent: Monday, September 15, 2003 5:41 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > Charlotte: > > That's what I'm experiencing. I have a function that is called by > > shortcut menu from a number of different forms. The record needs to be > > > saved before it will work correctly. I could save the record > > automatically in the after_update event but this would be saving the > > record after each update for something that rarely occurrs. > > > > The only time this is an issue is if someone adds a new row (this is a > > > continuos form) and then uses the shortcut function immediately. Of > > course a client just called and noted this. Click on another row first > > > is the immediate work around but not real obvious to them. > > > > I'm thinking I should be able to use ActiveForm to perform a > > SaveRecord when the shortcut menu calls the function. Any help on that > > > idea would be welcome. > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > Foust > > > Sent: Monday, September 15, 2003 5:30 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > > won't automatically trigger a save of the current record. > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > Sent: Monday, September 15, 2003 2:12 PM > > > To: 'Access Developers discussion and problem solving' > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > It should because the popup menu would have the focus. > > > > > > Drew > > > > > > -----Original Message----- > > > From: John B. [mailto:john at winhaven.net] > > > Sent: Monday, September 15, 2003 4:57 PM > > > To: AccessD > > > Subject: [AccessD] Lose Focus > > > > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > > > John B. > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Wed Sep 17 10:57:46 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 08:57:46 -0700 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> <027801c37cd6$81815c10$6401a8c0@default> <008401c37d21$5aa54840$6601a8c0@HAL9002> <031901c37d31$8d24bb10$6401a8c0@default> Message-ID: <00d601c37d34$7028cf80$6601a8c0@HAL9002> I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is > > > > > > > > > > > > > -------------------------------------------------------------------------- > > -- > > > ---- > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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.mattys at adelphia.net Wed Sep 17 11:05:24 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 17 Sep 2003 12:05:24 -0400 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002><027801c37cd6$81815c10$6401a8c0@default><008401c37d21$5aa54840$6601a8c0@HAL9002><031901c37d31$8d24bb10$6401a8c0@default> <00d601c37d34$7028cf80$6601a8c0@HAL9002> Message-ID: <032e01c37d35$81d0f680$6401a8c0@default> Rocky, If I recall correctly, it resets your margins & such on reports and you have to scratch your head for a while trying to figure out why it's happening. Mike ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 11:57 AM Subject: Re: [AccessD] SubForm Disappears In Design View > I always (try to remember to) turn off the Autocorrect feature. It causes > some problem that I can't remember anymore, only that I want that sucker off > all the time. > > So if I turn it on maybe the disappearing sub-forms will stop disappearing > (but I'll get that other problem back)? > > Regards, > > Rocky > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 8:37 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Rocky, > > > > After looking over TSI_Subforminator, I have > > come to the conclusion that it has to do with the > > Name AutoCorrect feature. > > > > Apparently, it needs to open subforms live in order > > to track the names. TSI_Subforminator appears to > > update the name maps for the Access 2000 Name > > AutoCorrect feature before opening a subform in > > design view. > > > > Michael R. Mattys > > Try MattysMapLib for MapPoint at > > www.mattysconsulting.com > > > > > > > > ----- Original Message ----- > > From: "Rocky Smolin - Beach Access Software" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, September 17, 2003 9:41 AM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Michael: > > > > > > Well that works around the problem when it occurs. Thanks. I'm still > > > curious about why that happens. There doesn't seem to be any pattern to > > it. > > > > > > Best, > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Michael R Mattys" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > Hello Rocky, > > > > > > > > Michael Kaplan made something for this > > > > Look here: > > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > > > Michael R. Mattys > > > > Try MattysMapLib for MapPoint at > > > > www.mattysconsulting.com > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Rocky Smolin - Beach Access Software" > > > > To: > > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > Dear List: > > > > > > > > In A2K sometimes when I open a main form with a subform in design > view, > > my > > > > sub-form disappears to be replaced by a big white box. If I want to > > work > > > on > > > > it, I have to close the main form and open the subform in design view > > from > > > > the database container. Then, some random amount of time later, the > > > subform > > > > reappears on the main form in design view. It's a real PITA. > > > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > > > MTIA, > > > > > > > > is > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > > > -- > > > > ---- > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Sep 17 11:04:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 09:04:50 -0700 Subject: [AccessD] Attach Database Using SendObject Message-ID: <00f701c37d35$6c6fa2a0$6601a8c0@HAL9002> Dear List: Does anyone know if it is possible to attach a database to an email using SendObject? Right now I send it using the Outlook object model but I don't want the user to be limited to using Outlook for their mail client. MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From prodevmg at yahoo.com Wed Sep 17 11:21:48 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 17 Sep 2003 09:21:48 -0700 (PDT) Subject: [AccessD] Attach Database Using SendObject In-Reply-To: <00f701c37d35$6c6fa2a0$6601a8c0@HAL9002> Message-ID: <20030917162148.52444.qmail@web20413.mail.yahoo.com> Here is some VBA that I use to send files from a network drive. Hope this helps... Dim appOutLook As Outlook.Application Dim MailOutLook As Outlook.MailItem Call SET_INACT_DATE_KS Set appOutLook = CreateObject("Outlook.Application") Set MailOutLook = appOutLook.CreateItem(olMailItem) With MailOutLook .To = "email address here" .BCC = "email address here" .Subject = "Email Subject in Here" .Body = "***** This is a system generated email. Do not reply to sender. *****" _ & vbNewLine & vbNewLine _ & "Blah Blah Blah" .Attachments.Add "C:\MyFolderName\MyFile.mdb", olByValue, 1, "Attchment Name" .Send End With Rocky Smolin - Beach Access Software wrote: Dear List: Does anyone know if it is possible to attach a database to an email using SendObject? Right now I send it using the Outlook object model but I don't want the user to be limited to using Outlook for their mail client. MTIA, Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Sep 17 11:43:16 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 09:43:16 -0700 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> <027801c37cd6$81815c10$6401a8c0@default> <008401c37d21$5aa54840$6601a8c0@HAL9002> <031901c37d31$8d24bb10$6401a8c0@default> <00d601c37d34$7028cf80$6601a8c0@HAL9002> <032e01c37d35$81d0f680$6401a8c0@default> Message-ID: <012b01c37d3a$cb3529e0$6601a8c0@HAL9002> Yeah, that was it. I used to lose the landscape/portrait setting. Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 9:05 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > If I recall correctly, it resets your margins > & such on reports and you have to scratch > your head for a while trying to figure out why > it's happening. > > Mike > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 11:57 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > I always (try to remember to) turn off the Autocorrect feature. It causes > > some problem that I can't remember anymore, only that I want that sucker > off > > all the time. > > > > So if I turn it on maybe the disappearing sub-forms will stop disappearing > > (but I'll get that other problem back)? > > > > Regards, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, September 17, 2003 8:37 AM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Rocky, > > > > > > After looking over TSI_Subforminator, I have > > > come to the conclusion that it has to do with the > > > Name AutoCorrect feature. > > > > > > Apparently, it needs to open subforms live in order > > > to track the names. TSI_Subforminator appears to > > > update the name maps for the Access 2000 Name > > > AutoCorrect feature before opening a subform in > > > design view. > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, September 17, 2003 9:41 AM > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > Michael: > > > > > > > > Well that works around the problem when it occurs. Thanks. I'm still > > > > curious about why that happens. There doesn't seem to be any pattern > to > > > it. > > > > > > > > Best, > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Michael R Mattys" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > Hello Rocky, > > > > > > > > > > Michael Kaplan made something for this > > > > > Look here: > > > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > > > > > Michael R. Mattys > > > > > Try MattysMapLib for MapPoint at > > > > > www.mattysconsulting.com > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > To: > > > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > In A2K sometimes when I open a main form with a subform in design > > view, > > > my > > > > > sub-form disappears to be replaced by a big white box. If I want to > > > work > > > > on > > > > > it, I have to close the main form and open the subform in design > view > > > from > > > > > the database container. Then, some random amount of time later, the > > > > subform > > > > > reappears on the main form in design view. It's a real PITA. > > > > > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > > > > > MTIA, > > > > > > > > > > is > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > > > > -- > > > > > ---- > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Sep 17 11:44:35 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 09:44:35 -0700 Subject: [AccessD] Attach Database Using SendObject References: <20030917162148.52444.qmail@web20413.mail.yahoo.com> Message-ID: <013e01c37d3a$fa932bb0$6601a8c0@HAL9002> Lonnie: Very similar to what I use but I'm trying to get away from using Outlook. That's why I though of SendObject because it should trigger whatever the user's default mail client is. I think. Rocky ----- Original Message ----- From: Lonnie Johnson To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 9:21 AM Subject: Re: [AccessD] Attach Database Using SendObject Here is some VBA that I use to send files from a network drive. Hope this helps... Dim appOutLook As Outlook.Application Dim MailOutLook As Outlook.MailItem Call SET_INACT_DATE_KS Set appOutLook = CreateObject("Outlook.Application") Set MailOutLook = appOutLook.CreateItem(olMailItem) With MailOutLook .To = "email address here" .BCC = "email address here" .Subject = "Email Subject in Here" .Body = "***** This is a system generated email. Do not reply to sender. *****" _ & vbNewLine & vbNewLine _ & "Blah Blah Blah" .Attachments.Add "C:\MyFolderName\MyFile.mdb", olByValue, 1, "Attchment Name" .Send End With Rocky Smolin - Beach Access Software wrote: Dear List: Does anyone know if it is possible to attach a database to an email using SendObject? Right now I send it using the Outlook object model but I don't want the user to be limited to using Outlook for their mail client. MTIA, Rocky Smolin Beach Access Software _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ------------------------------------------------------------------------------ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bryan_Carbonnell at cbc.ca Wed Sep 17 11:45:44 2003 From: Bryan_Carbonnell at cbc.ca (Bryan Carbonnell) Date: Wed, 17 Sep 2003 12:45:44 -0400 Subject: [AccessD] Archives on http://databaseadvisors.com/pipermail/accessd/ Message-ID: Sander, Drew has archived the AccessD list in a searchable format on his website for us. You can either goto his site, which William provided, or you can search from dba's main website http://www.databaseadvisors.com. Follow the Archives link on the left of the page and enter your search terms in the textbox in the body of the page that comes up. Bryan Carbonnell bryan_carbonnell at cbc.ca >>> accessd666 at yahoo.com 17-Sep-03 7:35:28 AM >>> Hi group, I found the archives of this list on the above URL. There are a couple of txt files with all the mails. Did anybody perhaps start building a database for this baby? So it's easy to search for past discussions? If not, can anybody give some pointers on how to import this into a database? I don't see any logic in it. From ssharkins at bellsouth.net Wed Sep 17 11:39:50 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Sep 2003 12:39:50 -0400 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002><027801c37cd6$81815c10$6401a8c0@default><008401c37d21$5aa54840$6601a8c0@HAL9002><031901c37d31$8d24bb10$6401a8c0@default><00d601c37d34$7028cf80$6601a8c0@HAL9002> <032e01c37d35$81d0f680$6401a8c0@default> Message-ID: <00b701c37d3b$90fdcb00$220110ac@SUSANONE> Didn't one of the service releases fix it? Susan H. > Rocky, > > If I recall correctly, it resets your margins > & such on reports and you have to scratch > your head for a while trying to figure out why > it's happening. > > Mike > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 11:57 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > I always (try to remember to) turn off the Autocorrect feature. It causes > > some problem that I can't remember anymore, only that I want that sucker > off > > all the time. > > > > So if I turn it on maybe the disappearing sub-forms will stop disappearing > > (but I'll get that other problem back)? > > > > Regards, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, September 17, 2003 8:37 AM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Rocky, > > > > > > After looking over TSI_Subforminator, I have > > > come to the conclusion that it has to do with the > > > Name AutoCorrect feature. > > > > > > Apparently, it needs to open subforms live in order > > > to track the names. TSI_Subforminator appears to > > > update the name maps for the Access 2000 Name > > > AutoCorrect feature before opening a subform in > > > design view. > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, September 17, 2003 9:41 AM > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > Michael: > > > > > > > > Well that works around the problem when it occurs. Thanks. I'm still > > > > curious about why that happens. There doesn't seem to be any pattern > to > > > it. > > > > > > > > Best, > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Michael R Mattys" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > Hello Rocky, > > > > > > > > > > Michael Kaplan made something for this > > > > > Look here: > > > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > > > > > Michael R. Mattys > > > > > Try MattysMapLib for MapPoint at > > > > > www.mattysconsulting.com > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > To: > > > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > In A2K sometimes when I open a main form with a subform in design > > view, > > > my > > > > > sub-form disappears to be replaced by a big white box. If I want to > > > work > > > > on > > > > > it, I have to close the main form and open the subform in design > view > > > from > > > > > the database container. Then, some random amount of time later, the > > > > subform > > > > > reappears on the main form in design view. It's a real PITA. > > > > > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > > > > > MTIA, > > > > > > > > > > is > > > > > > > > > > > > > > > > > > > > > > > > > > -------------------------------------------------------------------------- > > > > -- > > > > > ---- > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Sep 17 12:11:14 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Sep 2003 10:11:14 -0700 Subject: [AccessD] SubForm Disappears In Design View Message-ID: Supposedly it's fixed in OXP, but I wouldn't bank on that. It is still a huge resource hog and causes all sorts of wierdness that appears totally unrelated but can be fixed instantly by turning off Name Autocorrect. I use it only occasionally during development and make sure it is turned off otherwise. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Wednesday, September 17, 2003 8:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SubForm Disappears In Design View Didn't one of the service releases fix it? Susan H. > Rocky, > > If I recall correctly, it resets your margins > & such on reports and you have to scratch > your head for a while trying to figure out why > it's happening. > > Mike > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 11:57 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > I always (try to remember to) turn off the Autocorrect feature. It causes > > some problem that I can't remember anymore, only that I want that > > sucker > off > > all the time. > > > > So if I turn it on maybe the disappearing sub-forms will stop disappearing > > (but I'll get that other problem back)? > > > > Regards, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, September 17, 2003 8:37 AM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Rocky, > > > > > > After looking over TSI_Subforminator, I have > > > come to the conclusion that it has to do with the > > > Name AutoCorrect feature. > > > > > > Apparently, it needs to open subforms live in order > > > to track the names. TSI_Subforminator appears to > > > update the name maps for the Access 2000 Name > > > AutoCorrect feature before opening a subform in > > > design view. > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Wednesday, September 17, 2003 9:41 AM > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > Michael: > > > > > > > > Well that works around the problem when it occurs. Thanks. I'm still > > > > curious about why that happens. There doesn't seem to be any pattern > to > > > it. > > > > > > > > Best, > > > > > > > > Rocky > > > > > > > > ----- Original Message ----- > > > > From: "Michael R Mattys" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > Hello Rocky, > > > > > > > > > > Michael Kaplan made something for this > > > > > Look here: > > > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > > > > > Michael R. Mattys > > > > > Try MattysMapLib for MapPoint at www.mattysconsulting.com > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Rocky Smolin - Beach Access Software" > > > > > To: > > > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > > > > > > > Dear List: > > > > > > > > > > In A2K sometimes when I open a main form with a subform in design > > view, > > > my > > > > > sub-form disappears to be replaced by a big white box. If I want to > > > work > > > > on > > > > > it, I have to close the main form and open the subform in design > view > > > from > > > > > the database container. Then, some random amount of time later, the > > > > subform > > > > > reappears on the main form in design view. It's a real PITA. > > > > > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > > > > > MTIA, > > > > > > > > > > is > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ -- > > > > -- > > > > > ---- > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Wed Sep 17 12:15:04 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Sep 2003 13:15:04 -0400 Subject: [AccessD] SubForm Disappears In Design View References: Message-ID: <011801c37d3f$a136ca40$220110ac@SUSANONE> I've always turned it off, but it's good to know that it's still haunting stuff even though it's supposed to be fixed. :) Susan H. > Supposedly it's fixed in OXP, but I wouldn't bank on that. It is still > a huge resource hog and causes all sorts of wierdness that appears > totally unrelated but can be fixed instantly by turning off Name > Autocorrect. I use it only occasionally during development and make > sure it is turned off otherwise. From adtp at touchtelindia.net Wed Sep 17 12:29:56 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 17 Sep 2003 22:59:56 +0530 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002><027801c37cd6$81815c10$6401a8c0@default><008401c37d21$5aa54840$6601a8c0@HAL9002><031901c37d31$8d24bb10$6401a8c0@default> <00d601c37d34$7028cf80$6601a8c0@HAL9002> Message-ID: <010101c37d41$bbea8140$83edf73d@winxp> Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Wed Sep 17 12:56:42 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 10:56:42 -0700 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> <027801c37cd6$81815c10$6401a8c0@default> <008401c37d21$5aa54840$6601a8c0@HAL9002> <031901c37d31$8d24bb10$6401a8c0@default> <00d601c37d34$7028cf80$6601a8c0@HAL9002> <010101c37d41$bbea8140$83edf73d@winxp> Message-ID: <019801c37d45$0d6823d0$6601a8c0@HAL9002> AHA! I know more than one person who will be interested in this. Now I know for a fact when I get the blank rectangle that the sub-form is not open. However, I generally keep the code window open all the time. If the code window is open to the subform's module, is that what's causing this? So would opening a different code window (say, the main form's) cause the sub-form to re-appear in the main form? Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 10:29 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Wed Sep 17 13:02:36 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Sep 2003 11:02:36 -0700 Subject: [AccessD] SubForm Disappears In Design View Message-ID: Actually, that's what happens in A97 and earlier. In A2k and later, you get a warning message if you try to open a subform that's already open in either design or runtime view. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, September 17, 2003 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SubForm Disappears In Design View AHA! I know more than one person who will be interested in this. Now I know for a fact when I get the blank rectangle that the sub-form is not open. However, I generally keep the code window open all the time. If the code window is open to the subform's module, is that what's causing this? So would opening a different code window (say, the main form's) cause the sub-form to re-appear in the main form? Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 10:29 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From serbach at new.rr.com Wed Sep 17 13:57:25 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Wed, 17 Sep 2003 13:57:25 -0500 Subject: [AccessD] Access on hand helds Message-ID: <009901c37d4e$14ba7170$5d0ed018@W2k> Dear Group, Do any of you lot know whether Access can be run on a Windows Mobile device? Any limitations? Regards... `?.??.???`?.??.???`?-> Steve Erbach From jarus at amerinet-gpo.com Wed Sep 17 14:42:37 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Wed, 17 Sep 2003 14:42:37 -0500 Subject: [AccessD] SubForm Disappears In Design View Message-ID: I have this same problem with users in production, using a tabbed form with subforms. Some users that are on the system have no problem - everything works fine. Some users (and it's the same ones) get a blank white rectangle where a subform should appear - for every tab that has a subform. We think it's a network issue regarding folder rights - although we're not sure as yet. I have all rights to the folder that houses the BE - the FE is on my local drive and a copy of the FE is on each user's local drive. My network guy seems to think that because the users do not have Delete rights (they have all others) that this might be the problem. We don't want them to be able to accidentally delete the BE - rightfully so. I am going to try turning off the AutoCorrect feature to see if that makes a difference. I'm running out of options and ideas and my users are getting frustrated. I'll let you know if we ever get this problem resolved. It's a little different in that we have the problem in production, but not in design.... Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> cfoust at infostatsystems.com 09/17/03 01:02PM >>> Actually, that's what happens in A97 and earlier. In A2k and later, you get a warning message if you try to open a subform that's already open in either design or runtime view. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, September 17, 2003 9:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SubForm Disappears In Design View AHA! I know more than one person who will be interested in this. Now I know for a fact when I get the blank rectangle that the sub-form is not open. However, I generally keep the code window open all the time. If the code window is open to the subform's module, is that what's causing this? So would opening a different code window (say, the main form's) cause the sub-form to re-appear in the main form? Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 10:29 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bridgetd at biostat.umn.edu Wed Sep 17 14:47:11 2003 From: bridgetd at biostat.umn.edu (Bridget Doran) Date: Wed, 17 Sep 2003 14:47:11 -0500 (CDT) Subject: [AccessD] Report/SubReport Page Break Troubles Message-ID: Hi All -- I have a report I have inherited (did not write the queries or report). The folks who are sending this out want the page to break at a certain point and I cannot get it to for all the futzing in the world. Some facts: 1) In the Page header there is one line of info. 2) In the Detail section there are two subreports. 3) In the Report header of the first subreport there are a dozen or so fields lined up in a tabular format and then directly underneath this is a few lines of header information (labels) for the following detail section. 4) In the detail section are a line of fields that repeat and spill onto the next page. The powers that be would like these sections to group together on only one page which in this case would mean basically a page break after the fields in the header and before the few lines of header info in the Report header. This won't work! I can get a page break to work if I am just on the subreport exclusively but when it is on the main report it will not break. Any other ideas? Thanks Bridget From markamatte at hotmail.com Wed Sep 17 15:02:24 2003 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 17 Sep 2003 20:02:24 +0000 Subject: [AccessD] Lose Focus Message-ID: John, If I understand your dilema...you need to reference the form name that had focus right before 'right clicking'...you might be able to use the method below. The main error not addressed is if no control had focus previous to the 'right click'. I created this function in a module(and can call from anywhere in app) and then referenced it on the shortcut menu. "ctlPrevious.Parent.Name" gives you the name of the form that you right clicked on...or the form name of the object(textbox or whatever) you right clicked on depending where you indicated it as a shortcut menu.. Hope it helps, Mark A. Matte Function FormNameGet() Dim ctlPrevious As Control Set ctlPrevious = Screen.PreviousControl Forms!frmtest!test = ctlPrevious.Parent.Name End Function >From: "John B." >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: RE: [AccessD] Lose Focus >Date: Wed, 17 Sep 2003 10:47:51 -0500 > >A custom shortcut menu. > >You were right :o) > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > Foust > > Sent: Wednesday, September 17, 2003 10:23 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > John, > > > > Is this a custom shortcut menu or the built in context menu for the > > form/subform? I assumed you were using a custom shortcut menu. > > > > Charlotte Foust > > > > -----Original Message----- > > From: John B. [mailto:john at winhaven.net] > > Sent: Tuesday, September 16, 2003 9:00 AM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Lose Focus > > > > > > I've been reading up on this and ADH recommends not using ActiveForm. > > > > Maybe I'm overthinking this and missing something obvious but I'm > > definitely missing something :o) > > > > Can someone tell me how to save the record of the calling form when I > > can't pass the Me object to the function because it's being called from > > a shortcut menu? > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > > > Sent: Monday, September 15, 2003 5:41 PM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > Charlotte: > > > That's what I'm experiencing. I have a function that is called by > > > shortcut menu from a number of different forms. The record needs to be > > > > > saved before it will work correctly. I could save the record > > > automatically in the after_update event but this would be saving the > > > record after each update for something that rarely occurrs. > > > > > > The only time this is an issue is if someone adds a new row (this is a > > > > > continuos form) and then uses the shortcut function immediately. Of > > > course a client just called and noted this. Click on another row first > > > > > is the immediate work around but not real obvious to them. > > > > > > I'm thinking I should be able to use ActiveForm to perform a > > > SaveRecord when the shortcut menu calls the function. Any help on that > > > > > idea would be welcome. > > > > > > John B. > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > > Foust > > > > Sent: Monday, September 15, 2003 5:30 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > > > > Sort of. The exit event of the form doesn't occur, so context menu > > > > won't automatically trigger a save of the current record. > > > > > > > > Charlotte Foust > > > > > > > > -----Original Message----- > > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > > Sent: Monday, September 15, 2003 2:12 PM > > > > To: 'Access Developers discussion and problem solving' > > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > > > > It should because the popup menu would have the focus. > > > > > > > > Drew > > > > > > > > -----Original Message----- > > > > From: John B. [mailto:john at winhaven.net] > > > > Sent: Monday, September 15, 2003 4:57 PM > > > > To: AccessD > > > > Subject: [AccessD] Lose Focus > > > > > > > > > > > > Does the Lose Focus event fire when then shortcut menu is popped up? > > > > > > > > John B. > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From bheygood at abestsystems.com Wed Sep 17 15:13:07 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 17 Sep 2003 13:13:07 -0700 Subject: [AccessD] Access 2 Word In-Reply-To: Message-ID: Hello to the List, I am hoping to extract some data from more than 800 Word .dot & .docs. The user has saved these without either naming the fields or inserting bookmarks. My thought is to iterate thru the Fields collection and capture the info. I would welcome any help with the code to do so or another idea. I also have considered using a search routine to find the location via the text preceding each field. TIA Bob Heygood From backroad at idir.net Wed Sep 17 15:14:38 2003 From: backroad at idir.net (Backroads Data) Date: Wed, 17 Sep 2003 15:14:38 -0500 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: <001001c37d58$56d77260$6501a8c0@Julie> Hi - When I use CurrentDB.Name in code, sometimes it returns using short names, like this: C:\DOCUME~1\JULIES~1\MYDOCU~1\DEVELO~1\SomeFile.mdb and other times it uses long names, like this: C:\DOCUMENTS AND SETTINGS\JULIE SCHWALM\MY DOCUMENTS\DEVELOPMENT\SomeFile.mdb Does anyone know why it would vary? (Sometimes re-booting gets it to switch back to long file names, but not always - and not today!) I guess more important - does it matter? In code I want to create a small text file in the same directory where the app is stored. Other code will go look for this file and read its contents. I'm using Access 97 and WinXP for development. Finished product will be Access97 runtime installed on anything from Win95 and up. TIA for any insights. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Wed Sep 17 15:29:52 2003 From: JHewson at karta.com (Jim Hewson) Date: Wed, 17 Sep 2003 15:29:52 -0500 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294DC5@NT04> I use: Application.CurrentProject.Path which gives the current path of the Access mdb. txtFile = Application.CurrentProject.Path & "\" & Text.txt might work for you. I use this method for a database that is constantly moving to different machines, different users to access pictures. I haven't had any problems yet. This is for Access 2000, not sure if it will work A97. HTH Jim -----Original Message----- From: Backroads Data [mailto:backroad at idir.net] Sent: Wednesday, September 17, 2003 3:15 PM To: AccessD Subject: [AccessD] Short vs. Long File Names - Does it matter? Hi - When I use CurrentDB.Name in code, sometimes it returns using short names, like this: C:\DOCUME~1\JULIES~1\MYDOCU~1\DEVELO~1\SomeFile.mdb and other times it uses long names, like this: C:\DOCUMENTS AND SETTINGS\JULIE SCHWALM\MY DOCUMENTS\DEVELOPMENT\SomeFile.mdb Does anyone know why it would vary? (Sometimes re-booting gets it to switch back to long file names, but not always - and not today!) I guess more important - does it matter? In code I want to create a small text file in the same directory where the app is stored. Other code will go look for this file and read its contents. I'm using Access 97 and WinXP for development. Finished product will be Access97 runtime installed on anything from Win95 and up. TIA for any insights. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rjhjr at cox.net Wed Sep 17 15:44:35 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 17 Sep 2003 16:44:35 -0400 Subject: [AccessD] Short vs. Long File Names - Does it matter? In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294DC5@NT04> References: <353A32F9B331D411BB8F00A0C9FC503701294DC5@NT04> Message-ID: <20030917204435.GC12852@kongemord.krig.net> On Wed, Sep 17, 2003 at 03:29:52PM -0500, Jim Hewson wrote: > I use: Application.CurrentProject.Path > which gives the current path of the Access mdb. > > txtFile = Application.CurrentProject.Path & "\" & Text.txt > might work for you. > > I use this method for a database that is constantly moving to different > machines, different users to access pictures. I haven't had any problems > yet. > This is for Access 2000, not sure if it will work A97. IIRC, the CurrentProject object was introduced in Acc2k. I don't think it exists in Acc97. It would be nice to have a solution for non-truncated paths in Acc97. I've looked and never found one. Bob Hall From Erwin.Craps at ithelps.be Wed Sep 17 15:59:10 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Wed, 17 Sep 2003 22:59:10 +0200 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: I wonder if this has anything to do with how your disk is formatted. NTFS or FAT32 (or even less). NTFS is way better. You can convert from FAT to NTFS using the convert command. This does mean that you can no longer access your disk when booting from a dos floppy disk. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Bob Hall Verzonden: woensdag 17 september 2003 22:45 Aan: 'Access Developers discussion and problem solving' Onderwerp: Re: [AccessD] Short vs. Long File Names - Does it matter? On Wed, Sep 17, 2003 at 03:29:52PM -0500, Jim Hewson wrote: > I use: Application.CurrentProject.Path > which gives the current path of the Access mdb. > > txtFile = Application.CurrentProject.Path & "\" & Text.txt might work > for you. > > I use this method for a database that is constantly moving to > different machines, different users to access pictures. I haven't had > any problems yet. > This is for Access 2000, not sure if it will work A97. IIRC, the CurrentProject object was introduced in Acc2k. I don't think it exists in Acc97. It would be nice to have a solution for non-truncated paths in Acc97. I've looked and never found one. Bob Hall _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Sep 17 15:59:01 2003 From: john at winhaven.net (John B.) Date: Wed, 17 Sep 2003 15:59:01 -0500 Subject: [AccessD] Lose Focus In-Reply-To: Message-ID: Mark, My dilema is this: I have a combo box on a continuos subform on a tab control page. Once a user enters a new row on the continuous form they can (rarely) right click and choose a menu item. The menu item fires of a function which requires that the new record be saved. I can, of course save this record in the After_Update event of the combo box BUT 1. this sequence of events is rare 2. saving the record normally wouldn't be desirable because of various reasons What I want to do is have the function which is called from the custom shortcut menu save the new record which has been added previous to the "right click". Thanks, John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark A Matte > Sent: Wednesday, September 17, 2003 3:02 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Lose Focus > > > John, > > If I understand your dilema...you need to reference the form name > that had > focus right before 'right clicking'...you might be able to use the method > below. The main error not addressed is if no control had focus > previous to > the 'right click'. I created this function in a module(and can call from > anywhere in app) and then referenced it on the shortcut menu. > "ctlPrevious.Parent.Name" gives you the name of the form that you right > clicked on...or the form name of the object(textbox or whatever) > you right > clicked on depending where you indicated it as a shortcut menu.. > > Hope it helps, > > Mark A. Matte > > Function FormNameGet() > > Dim ctlPrevious As Control > > Set ctlPrevious = Screen.PreviousControl > Forms!frmtest!test = ctlPrevious.Parent.Name > > End Function > > > > >From: "John B." > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: RE: [AccessD] Lose Focus > >Date: Wed, 17 Sep 2003 10:47:51 -0500 > > > >A custom shortcut menu. > > > >You were right :o) > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > > > Foust > > > Sent: Wednesday, September 17, 2003 10:23 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > John, > > > > > > Is this a custom shortcut menu or the built in context menu for the > > > form/subform? I assumed you were using a custom shortcut menu. > > > > > > Charlotte Foust > > > > > > -----Original Message----- > > > From: John B. [mailto:john at winhaven.net] > > > Sent: Tuesday, September 16, 2003 9:00 AM > > > To: Access Developers discussion and problem solving > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > I've been reading up on this and ADH recommends not using ActiveForm. > > > > > > Maybe I'm overthinking this and missing something obvious but I'm > > > definitely missing something :o) > > > > > > Can someone tell me how to save the record of the calling form when I > > > can't pass the Me object to the function because it's being > called from > > > a shortcut menu? > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John B. > > > > Sent: Monday, September 15, 2003 5:41 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > > > > Charlotte: > > > > That's what I'm experiencing. I have a function that is called by > > > > shortcut menu from a number of different forms. The record > needs to be > > > > > > > saved before it will work correctly. I could save the record > > > > automatically in the after_update event but this would be saving the > > > > record after each update for something that rarely occurrs. > > > > > > > > The only time this is an issue is if someone adds a new row > (this is a > > > > > > > continuos form) and then uses the shortcut function immediately. Of > > > > course a client just called and noted this. Click on > another row first > > > > > > > is the immediate work around but not real obvious to them. > > > > > > > > I'm thinking I should be able to use ActiveForm to perform a > > > > SaveRecord when the shortcut menu calls the function. Any > help on that > > > > > > > idea would be welcome. > > > > > > > > John B. > > > > > > > > > -----Original Message----- > > > > > From: accessd-bounces at databaseadvisors.com > > > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Charlotte > > > > > Foust > > > > > Sent: Monday, September 15, 2003 5:30 PM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > > > > > > > Sort of. The exit event of the form doesn't occur, so > context menu > > > > > won't automatically trigger a save of the current record. > > > > > > > > > > Charlotte Foust > > > > > > > > > > -----Original Message----- > > > > > From: Drew Wutka [mailto:DWUTKA at marlow.com] > > > > > Sent: Monday, September 15, 2003 2:12 PM > > > > > To: 'Access Developers discussion and problem solving' > > > > > Subject: RE: [AccessD] Lose Focus > > > > > > > > > > > > > > > It should because the popup menu would have the focus. > > > > > > > > > > Drew > > > > > > > > > > -----Original Message----- > > > > > From: John B. [mailto:john at winhaven.net] > > > > > Sent: Monday, September 15, 2003 4:57 PM > > > > > To: AccessD > > > > > Subject: [AccessD] Lose Focus > > > > > > > > > > > > > > > Does the Lose Focus event fire when then shortcut menu is > popped up? > > > > > > > > > > John B. > > > > > > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Send and receive larger attachments with Hotmail Extra Storage. > http://join.msn.com/?PAGE=features/es > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From martyconnelly at shaw.ca Wed Sep 17 16:23:59 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 17 Sep 2003 14:23:59 -0700 Subject: [AccessD] Short vs. Long File Names - Does it matter? References: <353A32F9B331D411BB8F00A0C9FC503701294DC5@NT04> <20030917204435.GC12852@kongemord.krig.net> Message-ID: <3F68D0EF.90805@shaw.ca> API: Get Short and Long file names http://www.mvps.org/access/api/api0020.htm Bob Hall wrote: >On Wed, Sep 17, 2003 at 03:29:52PM -0500, Jim Hewson wrote: > > >>I use: Application.CurrentProject.Path >>which gives the current path of the Access mdb. >> >>txtFile = Application.CurrentProject.Path & "\" & Text.txt >>might work for you. >> >>I use this method for a database that is constantly moving to different >>machines, different users to access pictures. I haven't had any problems >>yet. >>This is for Access 2000, not sure if it will work A97. >> >> > >IIRC, the CurrentProject object was introduced in Acc2k. I don't >think it exists in Acc97. It would be nice to have a solution for >non-truncated paths in Acc97. I've looked and never found one. > >Bob Hall >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From martyconnelly at shaw.ca Wed Sep 17 16:29:15 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 17 Sep 2003 14:29:15 -0700 Subject: [AccessD] Access 2 Word References: Message-ID: <3F68D22B.4050801@shaw.ca> How about using Word203 to dump all the data to XML files,and using the WORD 2003 XSD schema file scan through the xml files by bringing them into an XMLdom and use Xpath to rip out the interesting bits. Bob Heygood wrote: >Hello to the List, > >I am hoping to extract some data from more than 800 Word .dot & .docs. The >user has saved these without either naming the fields or inserting >bookmarks. >My thought is to iterate thru the Fields collection and capture the info. I >would welcome any help with the code to do so or another idea. I also have >considered using a search routine to find the location via the text >preceding each field. > >TIA > >Bob Heygood > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From stuart at lexacorp.com.pg Wed Sep 17 17:20:31 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Sep 2003 08:20:31 +1000 Subject: [AccessD] Attach Database Using SendObject In-Reply-To: <013e01c37d3a$fa932bb0$6601a8c0@HAL9002> Message-ID: <3F696ACF.24830.17A0D0@localhost> On 17 Sep 2003 at 9:44, Rocky Smolin - Beach Access S wrote: > Very similar to what I use but I'm trying to get away from using > Outlook. That's why I though of SendObject because it should trigger > whatever the user's default mail client is. I think. > > Rocky > SendObject will only send objects which are in a database, not a database or any other sort of file. My solution in this case (I stay right away from OE/Outlook whenever possible) is to Shell out to a little utility I wrote called MAPISend. You can download it (11KB) from http://www.lexacorp.com.pg Here's what I say about it on my software page: MAPISend is a simple Command Line utility to send messages (and attachments) via any MAPI compliant email system (such as Pegasus Mail). You can use it in batch files or macros/modules in other programs to automate emailing documents. If you run MAPISend without any parameters, it will display a simple help screen. One use for MAPISend is to email MS Word documents easily (which you normally can't do unless you use MS Outlook.) To do this, just put put this Macro in your Normal.dot template file and create a menu item or toolbar button to invoke the macro: Public Sub send_document() Dim lngResult As Long If Documents.Count >= 1 Then If ActiveDocument.Saved = False Then ActiveDocument.Save End If lngResult = Shell("Mapisend /E /F " & ActiveDocument.Name) Else MsgBox "No documents are open" End If End Sub -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From bchacc at san.rr.com Wed Sep 17 17:59:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 17 Sep 2003 15:59:24 -0700 Subject: [AccessD] Attach Database Using SendObject References: <3F696ACF.24830.17A0D0@localhost> Message-ID: <028001c37d6f$57128820$6601a8c0@HAL9002> Stuart: Thanks. I'll give it a try. Is Outlook MAPI compliant? Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 3:20 PM Subject: Re: [AccessD] Attach Database Using SendObject > On 17 Sep 2003 at 9:44, Rocky Smolin - Beach Access S wrote: > > > Very similar to what I use but I'm trying to get away from using > > Outlook. That's why I though of SendObject because it should trigger > > whatever the user's default mail client is. I think. > > > > Rocky > > > > SendObject will only send objects which are in a database, not a > database or any other sort of file. > > My solution in this case (I stay right away from OE/Outlook whenever > possible) is to Shell out to a little utility I wrote called > MAPISend. You can download it (11KB) from http://www.lexacorp.com.pg > Here's what I say about it on my software page: > > MAPISend is a simple Command Line utility to send messages (and > attachments) via any MAPI compliant email system (such as Pegasus > Mail). You can use it in batch files or macros/modules in other > programs to automate emailing documents. > If you run MAPISend without any parameters, it will display a simple > help screen. > > One use for MAPISend is to email MS Word documents easily (which you > normally can't do unless you use MS Outlook.) > To do this, just put put this Macro in your Normal.dot template file > and create a menu item or toolbar button to invoke the macro: > > Public Sub send_document() > Dim lngResult As Long > If Documents.Count >= 1 Then > If ActiveDocument.Saved = False Then > ActiveDocument.Save > End If > lngResult = Shell("Mapisend /E /F " & ActiveDocument.Name) > Else > MsgBox "No documents are open" > End If > > End Sub > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Wed Sep 17 18:27:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Sep 2003 16:27:19 -0700 Subject: [AccessD] Attach Database Using SendObject Message-ID: Outlook is definitely MAPI compliant. That's what those annoying security patches were all about. :o{ Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, September 17, 2003 2:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Attach Database Using SendObject Stuart: Thanks. I'll give it a try. Is Outlook MAPI compliant? Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 3:20 PM Subject: Re: [AccessD] Attach Database Using SendObject > On 17 Sep 2003 at 9:44, Rocky Smolin - Beach Access S wrote: > > > Very similar to what I use but I'm trying to get away from using > > Outlook. That's why I though of SendObject because it should > > trigger whatever the user's default mail client is. I think. > > > > Rocky > > > > SendObject will only send objects which are in a database, not a > database or any other sort of file. > > My solution in this case (I stay right away from OE/Outlook whenever > possible) is to Shell out to a little utility I wrote called MAPISend. > You can download it (11KB) from http://www.lexacorp.com.pg Here's what > I say about it on my software page: > > MAPISend is a simple Command Line utility to send messages (and > attachments) via any MAPI compliant email system (such as Pegasus > Mail). You can use it in batch files or macros/modules in other > programs to automate emailing documents. If you run MAPISend without > any parameters, it will display a simple help screen. > > One use for MAPISend is to email MS Word documents easily (which you > normally can't do unless you use MS Outlook.) To do this, just put put > this Macro in your Normal.dot template file and create a menu item or > toolbar button to invoke the macro: > > Public Sub send_document() > Dim lngResult As Long > If Documents.Count >= 1 Then > If ActiveDocument.Saved = False Then > ActiveDocument.Save > End If > lngResult = Shell("Mapisend /E /F " & ActiveDocument.Name) Else > MsgBox "No documents are open" > End If > > End Sub > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rjhjr at cox.net Wed Sep 17 19:57:07 2003 From: rjhjr at cox.net (Bob Hall) Date: Wed, 17 Sep 2003 20:57:07 -0400 Subject: [AccessD] Short vs. Long File Names - Does it matter? In-Reply-To: <3F68D0EF.90805@shaw.ca> References: <353A32F9B331D411BB8F00A0C9FC503701294DC5@NT04> <20030917204435.GC12852@kongemord.krig.net> <3F68D0EF.90805@shaw.ca> Message-ID: <20030918005707.GA14063@kongemord.krig.net> On Wed, Sep 17, 2003 at 02:23:59PM -0700, MartyConnelly wrote: > API: Get Short and Long file names How embarassing. It's obvious, and I never thought of it. Thanks. Bob Hall From jcolby at colbyconsulting.com Wed Sep 17 22:28:50 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Wed, 17 Sep 2003 23:28:50 -0400 Subject: [AccessD] SQL Server database Message-ID: I need to replace my hard disk in my server with a bigger model. This will involve a complete re-install (it's time!). The question is, do I need to do a backup of the SQL Server database or will a new install be able to just use an existing database? John W. Colby www.colbyconsulting.com From andrew.haslett at ilc.gov.au Wed Sep 17 23:18:56 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Thu, 18 Sep 2003 13:48:56 +0930 Subject: [AccessD] SQL Server database Message-ID: You should restore from a backup, or detach and then re-attach your database after reinstallation. You should also back up your Master and MSDB database if you have any jobs running. Cheers, Andrew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 18 September 2003 12:59 PM To: AccessD Subject: [AccessD] SQL Server database I need to replace my hard disk in my server with a bigger model. This will involve a complete re-install (it's time!). The question is, do I need to do a backup of the SQL Server database or will a new install be able to just use an existing database? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. From accessd666 at yahoo.com Thu Sep 18 00:32:15 2003 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 17 Sep 2003 22:32:15 -0700 (PDT) Subject: [AccessD] Archives on http://databaseadvisors.com/pipermail/accessd/ In-Reply-To: <005c01c37d1c$8458bc30$6001a8c0@dejpolsys> Message-ID: <20030918053215.24312.qmail@web60210.mail.yahoo.com> I was reading and I thought to myself this one fell of the wagon....then I noticed the URL. Thanx. Great stuff! Regards, Sander --- William Hindman wrote: > http://www.wolfwares.com/AccessD/ > > William Hindman > So, then, to every man his chance -- to every man, > regardless of his birth, > his shining golden opportunity -- to every man his > right to live, to work, > to be himself, to become whatever his manhood and > his vision can combine to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > > > > ----- Original Message ----- > From: "Sad Der" > To: "Acces User Group" > > Sent: Wednesday, September 17, 2003 7:35 AM > Subject: [AccessD] Archives on > http://databaseadvisors.com/pipermail/accessd/ > > > > Hi group, > > > > I found the archives of this list on the above > URL. > > There are a couple of txt files with all the > mails. > > Did anybody perhaps start building a database for > this > > baby? So it's easy to search for past discussions? > > > > If not, can anybody give some pointers on how to > > import this into a database? I don't see any logic > in > > it. > > > > TIA > > > > Sander > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > > http://sitebuilder.yahoo.com > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From Erwin.Craps at ithelps.be Thu Sep 18 00:40:14 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 18 Sep 2003 07:40:14 +0200 Subject: [AccessD] SQL Server database Message-ID: Just a warning thats probably not a problem in your case. Reattach does not work when having diffent language sets. I'm not sure for backup/restore. I needed to import from one running db server to another db server.... According to a MS article. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Haslett, Andrew Verzonden: donderdag 18 september 2003 6:19 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] SQL Server database You should restore from a backup, or detach and then re-attach your database after reinstallation. You should also back up your Master and MSDB database if you have any jobs running. Cheers, Andrew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Thursday, 18 September 2003 12:59 PM To: AccessD Subject: [AccessD] SQL Server database I need to replace my hard disk in my server with a bigger model. This will involve a complete re-install (it's time!). The question is, do I need to do a backup of the SQL Server database or will a new install be able to just use an existing database? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Sep 18 02:28:30 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Sep 2003 17:28:30 +1000 Subject: [AccessD] Attach Database Using SendObject In-Reply-To: <028001c37d6f$57128820$6601a8c0@HAL9002> Message-ID: <3F69EB3E.15279.20D5220@localhost> On 17 Sep 2003 at 15:59, Rocky Smolin - Beach Access S wrote: > Stuart: > > Thanks. I'll give it a try. Is Outlook MAPI compliant? > Yes -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From adtp at touchtelindia.net Thu Sep 18 03:32:46 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 18 Sep 2003 14:02:46 +0530 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002><027801c37cd6$81815c10$6401a8c0@default><008401c37d21$5aa54840$6601a8c0@HAL9002><031901c37d31$8d24bb10$6401a8c0@default><00d601c37d34$7028cf80$6601a8c0@HAL9002><010101c37d41$bbea8140$83edf73d@winxp> <019801c37d45$0d6823d0$6601a8c0@HAL9002> Message-ID: <003b01c37dbf$b93bdec0$dfedf73d@winxp> Rocky, In the said state, the subform does not necessarily have a visible window. If you check for all open windows by Alt + Tab, you might not find the subform anywhere. However, it acts as if open in design mode even though you feel certain (in your words - "know for a fact" ) that it is not open. As a test, if you try to open the main form in normal view, you get the message "You can't open a subform when it is also open ii Design view" The phenomenon occurs when you disturb the subform's code module in some way. Merely opening the VBA window and the fact that a particular module happens to be in view, does not cause any problem. Coming to the point raised towards the end of your message, the following scenarios could be considered - A - Main form has been opened (in any view) before opening the VBA Editor - No problem. B - Main form has Not been opened before opening the VBA Editor - (a) If the code module for the main form is disturbed before touching that for the subform, no problem. (b) If the code module for subform is disturbed before touching that for the main form, you get into the problem of blank rectangle. It does not get rectified merely by tinkering with (or putting in view) the code module for main form. You then have to go to database window, select the subform, open it in design view and close it again. It might also be desirable to keep the VBA Editor window always closed when not actively needed.. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 23:26 Subject: Re: [AccessD] SubForm Disappears In Design View AHA! I know more than one person who will be interested in this. Now I know for a fact when I get the blank rectangle that the sub-form is not open. However, I generally keep the code window open all the time. If the code window is open to the subform's module, is that what's causing this? So would opening a different code window (say, the main form's) cause the sub-form to re-appear in the main form? Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 10:29 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Thu Sep 18 05:00:01 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 18 Sep 2003 11:00:01 +0100 Subject: [AccessD] Report/SubReport Page Break Troubles In-Reply-To: Message-ID: <001b01c37dcb$a0335e60$b274d0d5@minster33c3r25> Hi Bridget Would inserting a Page Break mot do it? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bridget Doran > Sent: 17 September 2003 20:47 > To: accessd at databaseadvisors.com > Subject: [AccessD] Report/SubReport Page Break Troubles > > > Hi All -- > > I have a report I have inherited (did not write the queries > or report). The folks who are sending this out want the page > to break at a certain point and I cannot get it to for all > the futzing in the world. > > Some facts: > > 1) In the Page header there is one line of info. > 2) In the Detail section there are two subreports. > 3) In the Report header of the first subreport there are a > dozen or so fields lined up in a tabular format and then > directly underneath this is a few lines of header information > (labels) for the following detail section. > 4) In the detail section are a line of fields that repeat and > spill onto the next page. > > The powers that be would like these sections to group > together on only one page which in this case would mean > basically a page break after the fields in the header and > before the few lines of header info in the Report header. > > This won't work! I can get a page break to work if I am just > on the subreport exclusively but when it is on the main > report it will not break. > > Any other ideas? > > Thanks > Bridget > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From RSmethurst at UxbridgeCollege.ac.uk Thu Sep 18 05:51:39 2003 From: RSmethurst at UxbridgeCollege.ac.uk (Ryan Smethurst) Date: Thu, 18 Sep 2003 11:51:39 +0100 Subject: [AccessD] OT: Excel Add-In Password Message-ID: Hi All, I am using an excel add-in which was set up by someone else (has now left) which links to a database for some data. Some of the code needs to be updated but the add-in's module is password protected and I don't have it. Does anyone know of any method to get to the code, or useful links for this. Rgds and thanks, RyanS The information or opinions in this message (including any attachments) are those of the author and are not necessarily those of Uxbridge College, which disclaims responsibility for loss or damage arising from its use to the maximum extent permitted by law. E-mail messages sometimes go astray. This message is sent in confidence for the addressee only. It may contain confidential or sensitive information. The contents are not to be disclosed to anyone other than the addressee. Unauthorised recipients are requested to preserve this confidentiality and to advise the originator. immediately and to delete the message without copying, altering or disclosing its contents. E-mails to or from Uxbridge College may be monitored by the College in accordance with its current policy. From stuart at lexacorp.com.pg Thu Sep 18 06:21:46 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Sep 2003 21:21:46 +1000 Subject: [AccessD] OT: Excel Add-In Password In-Reply-To: Message-ID: <3F6A21EA.32741.2E2E114@localhost> On 18 Sep 2003 at 11:51, Ryan Smethurst wrote: > Hi All, > > I am using an excel add-in which was set up by someone else (has now > left) which links to a database for some data. Some of the code needs > to be updated but the add-in's module is password protected and I > don't have it. Does anyone know of any method to get to the code, or > useful links for this. > If you want to send me a copy of the add-in, I'll see what I can do. I've got a licensed copy of "Advanced Excel Password Recovery" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Christian.Brock at hoffman.army.mil Thu Sep 18 06:42:12 2003 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, PERSCOM) Date: Thu, 18 Sep 2003 07:42:12 -0400 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: It can matter depending on what you will do with it. For example, the activeX component for FTP in Access97 cannot handle spaces in path and file names, so therefore you would need to the shortname. Christian Brock -----Original Message----- From: Backroads Data [mailto:backroad at idir.net] Sent: Wednesday, 17 September 2003 16:15 To: AccessD Subject: [AccessD] Short vs. Long File Names - Does it matter? Hi - When I use CurrentDB.Name in code, sometimes it returns using short names, like this: C:\DOCUME~1\JULIES~1\MYDOCU~1\DEVELO~1\SomeFile.mdb and other times it uses long names, like this: C:\DOCUMENTS AND SETTINGS\JULIE SCHWALM\MY DOCUMENTS\DEVELOPMENT\SomeFile.mdb Does anyone know why it would vary? (Sometimes re-booting gets it to switch back to long file names, but not always - and not today!) I guess more important - does it matter? In code I want to create a small text file in the same directory where the app is stored. Other code will go look for this file and read its contents. I'm using Access 97 and WinXP for development. Finished product will be Access97 runtime installed on anything from Win95 and up. TIA for any insights. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Sep 18 08:12:21 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Sep 2003 09:12:21 -0400 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7734@xlivmbx12.aig.com> Certainly nothing to do with the disk format. You get short file names with NTFS and FAT/FAT32 drives. I use API calls to build the long or short names, whichever I need. And yes, an MSDOS boot disk will have no access to an NTFS drive, though you can get drivers that will permit this access. > -----Original Message----- > From: Erwin Craps [SMTP:Erwin.Craps at ithelps.be] > Sent: Wednesday, September 17, 2003 4:59 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Short vs. Long File Names - Does it matter? > > I wonder if this has anything to do with how your disk is formatted. > > NTFS or FAT32 (or even less). > > NTFS is way better. You can convert from FAT to NTFS using the convert > command. > This does mean that you can no longer access your disk when booting from > a dos floppy disk. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Bob Hall > Verzonden: woensdag 17 september 2003 22:45 > Aan: 'Access Developers discussion and problem solving' > Onderwerp: Re: [AccessD] Short vs. Long File Names - Does it matter? > > > On Wed, Sep 17, 2003 at 03:29:52PM -0500, Jim Hewson wrote: > > I use: Application.CurrentProject.Path > > which gives the current path of the Access mdb. > > > > txtFile = Application.CurrentProject.Path & "\" & Text.txt might work > > for you. > > > > I use this method for a database that is constantly moving to > > different machines, different users to access pictures. I haven't had > > > any problems yet. > > This is for Access 2000, not sure if it will work A97. > > IIRC, the CurrentProject object was introduced in Acc2k. I don't > think it exists in Acc97. It would be nice to have a solution for > non-truncated paths in Acc97. I've looked and never found one. > > Bob Hall > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DElam at jenkens.com Thu Sep 18 08:15:25 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 18 Sep 2003 08:15:25 -0500 Subject: [AccessD] SQL Server database Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C629041@natexch.jenkens.com> I have done it both ways. The backup takes up less room and less time copying. Debbie -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, September 17, 2003 10:29 PM To: AccessD Subject: [AccessD] SQL Server database I need to replace my hard disk in my server with a bigger model. This will involve a complete re-install (it's time!). The question is, do I need to do a backup of the SQL Server database or will a new install be able to just use an existing database? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From Erwin.Craps at ithelps.be Thu Sep 18 08:28:09 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Thu, 18 Sep 2003 15:28:09 +0200 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: >From my experiance 16 bit app/dll do seem to return 8.3 formats, but I would not -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, September 18, 2003 3:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Short vs. Long File Names - Does it matter? Certainly nothing to do with the disk format. You get short file names with NTFS and FAT/FAT32 drives. I use API calls to build the long or short names, whichever I need. And yes, an MSDOS boot disk will have no access to an NTFS drive, though you can get drivers that will permit this access. > -----Original Message----- > From: Erwin Craps [SMTP:Erwin.Craps at ithelps.be] > Sent: Wednesday, September 17, 2003 4:59 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Short vs. Long File Names - Does it matter? > > I wonder if this has anything to do with how your disk is formatted. > > NTFS or FAT32 (or even less). > > NTFS is way better. You can convert from FAT to NTFS using the convert > command. This does mean that you can no longer access your disk when > booting from a dos floppy disk. > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Bob Hall > Verzonden: woensdag 17 september 2003 22:45 > Aan: 'Access Developers discussion and problem solving' > Onderwerp: Re: [AccessD] Short vs. Long File Names - Does it matter? > > > On Wed, Sep 17, 2003 at 03:29:52PM -0500, Jim Hewson wrote: > > I use: Application.CurrentProject.Path > > which gives the current path of the Access mdb. > > > > txtFile = Application.CurrentProject.Path & "\" & Text.txt might > > work > > for you. > > > > I use this method for a database that is constantly moving to > > different machines, different users to access pictures. I haven't had > > > any problems yet. > > This is for Access 2000, not sure if it will work A97. > > IIRC, the CurrentProject object was introduced in Acc2k. I don't > think it exists in Acc97. It would be nice to have a solution for > non-truncated paths in Acc97. I've looked and never found one. > > Bob Hall > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Sep 18 08:43:35 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 18 Sep 2003 06:43:35 -0700 (PDT) Subject: [AccessD] DAO Query Message-ID: <20030918134335.767.qmail@web60202.mail.yahoo.com> Hi group, I've got a function called GetStatus. It was created by Bruce (from this list) and used to be in ADO. I made changes so that it would now run in DAO. Somehow the function doesn't work. At the line: Set rst = oDb.OpenRecordset(Name:=qryName) I get the error: 3061 too few parameters Expected 1 However I call it like this: gstrSwitchStatus = GetStatus("qrySwitchStatus") Any ideas? TIA SD Public Function GetStatus(qryName As String) As String ' ' Description / Purpose :- ' GetStatus executes a stored database query that returns a status ' The query MUST return only one row, and only one Field "qryStatus". ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' qryName string The name of the select query to be run ' ' ' Version Dated Author Comment ' ' 1.0 28/06/2003 bruce Original. Dim strRtn As String Dim oDb As DAO.Database Dim rst As DAO.Recordset 'recordset returned by the query On Error GoTo GetCount_ERR 'lngRtn = -1 strRtn = "FAILED" 'Set conn = CurrentProject.Connection 'Set rst = New Recordset Set oDb = CurrentDb() Set rst = oDb.OpenRecordset(Name:=qryName) ', Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) ... ... end function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From my.lists at verizon.net Thu Sep 18 09:28:36 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 18 Sep 2003 07:28:36 -0700 Subject: [AccessD] SQL Server database In-Reply-To: References: Message-ID: <3F69C114.2040403@verizon.net> John Colby wrote: > I need to replace my hard disk in my server with a bigger model. This will > involve a complete re-install (it's time!). The question is, do I need to > do a backup of the SQL Server database or will a new install be able to just > use an existing database? > > John W. Colby > www.colbyconsulting.com JC, If you have any DTS in your sytem or jobs you'll want to backup the master, the MSDB and your actual databases when restoring you should be in single user mode in order to restore the master, and MSDB, then you can log on as normal (take server out of single user mode) and restore your database, YOU SHOULD use the BACKUP/RESTORE procedure over a typical DETACH AND RE-ATTACH or else you will loose any diagrams you may have created. Bear in mind that your relationships between tables stay intact no matter which method you choose, but w/ the DETACH/ATTACH method you loose the diagrams portion for some reason. (info on placing the server in single user mode is in BOL). -- -Francisco From ggonzalez at cccis.com Thu Sep 18 09:59:07 2003 From: ggonzalez at cccis.com (ggonzalez at cccis.com) Date: Thu, 18 Sep 2003 09:59:07 -0500 Subject: [AccessD] SQL Server database Message-ID: Can you guy point me to some good resources for SQL server 2000 development. The Company I work for has made the decision to move our Access application to SQL server 2000. Thanks! From jcolby at colbyconsulting.com Thu Sep 18 10:06:17 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 18 Sep 2003 11:06:17 -0400 Subject: [AccessD] SQL Server database In-Reply-To: <3F69C114.2040403@verizon.net> Message-ID: Thanks! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Thursday, September 18, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server database John Colby wrote: > I need to replace my hard disk in my server with a bigger model. This will > involve a complete re-install (it's time!). The question is, do I need to > do a backup of the SQL Server database or will a new install be able to just > use an existing database? > > John W. Colby > www.colbyconsulting.com JC, If you have any DTS in your sytem or jobs you'll want to backup the master, the MSDB and your actual databases when restoring you should be in single user mode in order to restore the master, and MSDB, then you can log on as normal (take server out of single user mode) and restore your database, YOU SHOULD use the BACKUP/RESTORE procedure over a typical DETACH AND RE-ATTACH or else you will loose any diagrams you may have created. Bear in mind that your relationships between tables stay intact no matter which method you choose, but w/ the DETACH/ATTACH method you loose the diagrams portion for some reason. (info on placing the server in single user mode is in BOL). -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Thu Sep 18 10:15:58 2003 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Thu, 18 Sep 2003 16:15:58 +0100 Subject: [AccessD] SQL Server database References: Message-ID: <000901c37df7$c397b780$9111758f@aine> SQL Access to SQL Server is a good resource Totally biased of course I helped write it. Martin ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Thursday, September 18, 2003 3:59 PM Subject: Re: [AccessD] SQL Server database > > > > > > Can you guy point me to some good resources for SQL server 2000 > development. The Company I work for has made the decision to move our > Access application to SQL server 2000. > > Thanks! > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nancy.lytle at auatac.com Thu Sep 18 10:35:29 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Thu, 18 Sep 2003 11:35:29 -0400 Subject: [AccessD] DAO Query In-Reply-To: <20030918134335.767.qmail@web60202.mail.yahoo.com> Message-ID: <200309181535.h8IFZDp23751@databaseadvisors.com> How about oDB.OpenRecordset(qryName) instead of oDb.OpenRecordset(Name:=qryName) Nancy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Thursday, September 18, 2003 9:44 AM To: Acces User Group Hi group, I've got a function called GetStatus. It was created by Bruce (from this list) and used to be in ADO. I made changes so that it would now run in DAO. Somehow the function doesn't work. At the line: Set rst = oDb.OpenRecordset(Name:=qryName) I get the error: 3061 too few parameters Expected 1 However I call it like this: gstrSwitchStatus = GetStatus("qrySwitchStatus") Any ideas? TIA SD Public Function GetStatus(qryName As String) As String ' ' Description / Purpose :- ' GetStatus executes a stored database query that returns a status ' The query MUST return only one row, and only one Field "qryStatus". ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' qryName string The name of the select query to be run ' ' ' Version Dated Author Comment ' ' 1.0 28/06/2003 bruce Original. Dim strRtn As String Dim oDb As DAO.Database Dim rst As DAO.Recordset 'recordset returned by the query On Error GoTo GetCount_ERR 'lngRtn = -1 strRtn = "FAILED" 'Set conn = CurrentProject.Connection 'Set rst = New Recordset Set oDb = CurrentDb() Set rst = oDb.OpenRecordset(Name:=qryName) ', Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) .... .... end function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.518 / Virus Database: 316 - Release Date: 9/11/2003 From DWUTKA at marlow.com Thu Sep 18 10:46:04 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 18 Sep 2003 10:46:04 -0500 Subject: [AccessD] Short vs. Long File Names - Does it matter? Message-ID: <2F8793082E00D4119A1700B0D0216BF802227201@main2.marlow.com> No, it doesn't really matter, unless you are hard coding the path somewhere. (ie, if you take the path, and store it in a table, and then try to use it somewhere else. If the system is saving the long file names, on one machine, and you try to use that long file name on a system that wants the short file names.....then there's a problem. But if you just get the path, and use it, on the same machine, it shouldn't matter.) Drew -----Original Message----- From: Backroads Data [mailto:backroad at idir.net] Sent: Wednesday, September 17, 2003 3:15 PM To: AccessD Subject: [AccessD] Short vs. Long File Names - Does it matter? Hi - When I use CurrentDB.Name in code, sometimes it returns using short names, like this: C:\DOCUME~1\JULIES~1\MYDOCU~1\DEVELO~1\SomeFile.mdb and other times it uses long names, like this: C:\DOCUMENTS AND SETTINGS\JULIE SCHWALM\MY DOCUMENTS\DEVELOPMENT\SomeFile.mdb Does anyone know why it would vary? (Sometimes re-booting gets it to switch back to long file names, but not always - and not today!) I guess more important - does it matter? In code I want to create a small text file in the same directory where the app is stored. Other code will go look for this file and read its contents. I'm using Access 97 and WinXP for development. Finished product will be Access97 runtime installed on anything from Win95 and up. TIA for any insights. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Sep 18 10:48:55 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 18 Sep 2003 10:48:55 -0500 Subject: [AccessD] SQL Server database Message-ID: <2F8793082E00D4119A1700B0D0216BF802227202@main2.marlow.com> Is your 'server' actually running Windows 2000 server? If that's the case, just mirror the OS (and whatever drives you want to move to the bigger hard drive), break the mirror, and boot from your new drive. (I did that on my server a year ago, took about 30 minutes to change the HD that had my root drive on it from 8 gig to 20 gig. The OS won't let you change the size of the root drive, but it should let you change the size of other volumes. (if not, you could use Partition Magic (I think...I don't personally use that!) Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Wednesday, September 17, 2003 10:29 PM To: AccessD Subject: [AccessD] SQL Server database I need to replace my hard disk in my server with a bigger model. This will involve a complete re-install (it's time!). The question is, do I need to do a backup of the SQL Server database or will a new install be able to just use an existing database? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Thu Sep 18 11:01:53 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 18 Sep 2003 09:01:53 -0700 Subject: [AccessD] SQL Server database In-Reply-To: <000901c37df7$c397b780$9111758f@aine> References: <000901c37df7$c397b780$9111758f@aine> Message-ID: <3F69D6F1.5010902@verizon.net> I'll second that book as well, also sign up to the dba-sqlserver mailing list hosted by DatabaseAdvisors http://databaseadvisors.com/mailman/listinfo/dba-sqlserver and lastly sign up at SqlServerCentral.com (signup is free) and check out their in depth articles and scripts ;) Martin Reid wrote: > SQL Access to SQL Server is a good resource > > Totally biased of course I helped write it. > > > Martin > > > ----- Original Message ----- > From: > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 18, 2003 3:59 PM > Subject: Re: [AccessD] SQL Server database > > > >> >> >> >> >>Can you guy point me to some good resources for SQL server 2000 >>development. The Company I work for has made the decision to move our >>Access application to SQL server 2000. >> >>Thanks! -- -Francisco From michael.mattys at adelphia.net Thu Sep 18 11:30:17 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 18 Sep 2003 12:30:17 -0400 Subject: [AccessD] Error 3045 File Already In Use Message-ID: <001601c37e02$2bba4d50$6401a8c0@default> Hi Folks, A user in accounting has a db opened exclusively The db has linked tables and seems to be opening all other databases exclusively also. Does this seem right? Is there a way to free up the other dbs? Michael R. Mattys www.mattysconsulting.com From delliker at hotmail.com Thu Sep 18 11:57:02 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 18 Sep 2003 12:57:02 -0400 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: I know I have seen this go by - how do I create a shortcut that defines the workgroup as well as the application? _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com From cfoust at infostatsystems.com Thu Sep 18 12:10:41 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 10:10:41 -0700 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" /wrkgrp C:\WINDOWS\System32\MyWorkgroup.mdw The path to the workgroup should be whatever is appropriate, of course, and the executable path can be the full version or the runtime. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, September 18, 2003 8:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Defining Workgroup in the shortcut A2K I know I have seen this go by - how do I create a shortcut that defines the workgroup as well as the application? _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Compare Cable, DSL or Satellite plans: As low as $29.95. https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 18 12:15:21 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Sep 2003 13:15:21 -0400 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7737@xlivmbx12.aig.com> The command line of the shortcut would look like this (all quotes are required, and it's all one line) "C:\FullPathToMsAcces\MSACCES.EXE" "X:FullPathToDatabase\SomeDb.Mdb" /wrkgrp "Z:\FullPathToMdwFile\SomeSystem.MDW" /user SomeUSerName Of course you could be calling and MDB or and MDE file. Lambert > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Thursday, September 18, 2003 12:57 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Defining Workgroup in the shortcut A2K > > I know I have seen this go by - how do I create a shortcut that defines > the > workgroup as well as the application? > _D > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > _________________________________________________________________ > Compare Cable, DSL or Satellite plans: As low as $29.95. > https://broadband.msn.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From delliker at hotmail.com Thu Sep 18 12:22:38 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 18 Sep 2003 13:22:38 -0400 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: Thanks, - is the user name required? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Heenan, Lambert" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K >Date: Thu, 18 Sep 2003 13:15:21 -0400 > >The command line of the shortcut would look like this (all quotes are >required, and it's all one line) > >"C:\FullPathToMsAcces\MSACCES.EXE" "X:FullPathToDatabase\SomeDb.Mdb" >/wrkgrp >"Z:\FullPathToMdwFile\SomeSystem.MDW" /user SomeUSerName > > >Of course you could be calling and MDB or and MDE file. > >Lambert > > > -----Original Message----- > > From: Don Elliker [SMTP:delliker at hotmail.com] > > Sent: Thursday, September 18, 2003 12:57 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Defining Workgroup in the shortcut A2K > > > > I know I have seen this go by - how do I create a shortcut that defines > > the > > workgroup as well as the application? > > _D > > > > > > "Things are only free to the extent that you don't pay for them".-Don > > Elliker > > > > _________________________________________________________________ > > Compare Cable, DSL or Satellite plans: As low as $29.95. > > https://broadband.msn.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From michael.mattys at adelphia.net Thu Sep 18 12:29:13 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 18 Sep 2003 13:29:13 -0400 Subject: [AccessD] Error 3045 File Already In Use References: <001601c37e02$2bba4d50$6401a8c0@default> Message-ID: <004b01c37e0a$623c5640$6401a8c0@default> Update After a bit of looking around, it turns out that the database is not opened exclusively. Instead, the ODBC connections to MAS-90 have failed and the error "File Already In Use" is kicked up from the other databases when they try to run their reports. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "AccessD" Sent: Thursday, September 18, 2003 12:30 PM Subject: [AccessD] Error 3045 File Already In Use > Hi Folks, > > A user in accounting has a db opened exclusively > The db has linked tables and seems to be opening > all other databases exclusively also. > Does this seem right? Is there a way to free up the > other dbs? > > Michael R. Mattys > www.mattysconsulting.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 Sep 18 12:32:37 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 10:32:37 -0700 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: The user name isn't required. It will prompt you with the login dialog. Charlotte Foust -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Thursday, September 18, 2003 9:23 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K Thanks, - is the user name required? _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Heenan, Lambert" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K >Date: Thu, 18 Sep 2003 13:15:21 -0400 > >The command line of the shortcut would look like this (all quotes are >required, and it's all one line) > >"C:\FullPathToMsAcces\MSACCES.EXE" "X:FullPathToDatabase\SomeDb.Mdb" >/wrkgrp >"Z:\FullPathToMdwFile\SomeSystem.MDW" /user SomeUSerName > > >Of course you could be calling and MDB or and MDE file. > >Lambert > > > -----Original Message----- > > From: Don Elliker [SMTP:delliker at hotmail.com] > > Sent: Thursday, September 18, 2003 12:57 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Defining Workgroup in the shortcut A2K > > > > I know I have seen this go by - how do I create a shortcut that > > defines the workgroup as well as the application? > > _D > > > > > > "Things are only free to the extent that you don't pay for > > them".-Don Elliker > > > > _________________________________________________________________ > > Compare Cable, DSL or Satellite plans: As low as $29.95. > > https://broadband.msn.com > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 18 12:37:46 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 10:37:46 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: <017701c37e0b$92e11370$6601a8c0@HAL9002> Dear List: Given the problems with some of the Microsoft Updates, I am wondering whether to install O2K service pack 3. Does anyone have any experience with it pro or con? TIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheygood at abestsystems.com Thu Sep 18 12:42:19 2003 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 18 Sep 2003 10:42:19 -0700 Subject: [AccessD] Access 2 Word In-Reply-To: <3F68D22B.4050801@shaw.ca> Message-ID: Marty thanks for responding. I can open each file and set an option and save as text and have comma delim files created. But I want to do this thru automation/code processing all files at once. Can Word 2000 do as you describe? TIA Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Wednesday, September 17, 2003 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2 Word How about using Word203 to dump all the data to XML files,and using the WORD 2003 XSD schema file scan through the xml files by bringing them into an XMLdom and use Xpath to rip out the interesting bits. Bob Heygood wrote: >Hello to the List, > >I am hoping to extract some data from more than 800 Word .dot & .docs. The >user has saved these without either naming the fields or inserting >bookmarks. >My thought is to iterate thru the Fields collection and capture the info. I >would welcome any help with the code to do so or another idea. I also have >considered using a search routine to find the location via the text >preceding each field. > >TIA > >Bob Heygood > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 18 12:48:08 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 10:48:08 -0700 Subject: [AccessD] SubForm Disappears In Design View References: <02a501c37cd4$52435040$6601a8c0@HAL9002> <027801c37cd6$81815c10$6401a8c0@default> <008401c37d21$5aa54840$6601a8c0@HAL9002> <031901c37d31$8d24bb10$6401a8c0@default> <00d601c37d34$7028cf80$6601a8c0@HAL9002> <010101c37d41$bbea8140$83edf73d@winxp> <019801c37d45$0d6823d0$6601a8c0@HAL9002> <003b01c37dbf$b93bdec0$dfedf73d@winxp> Message-ID: <019201c37e0d$05383470$6601a8c0@HAL9002> A.J.: Thanks again for your response. I did some further investigating and found that the problem occurred today when I opened the application normally and went to the form view of the main form (navigating through the Main Menu of the app). Then when I went to the design view I got the blank sub-forms If I opened the form in design view from the database container I get the two subforms OK. Then restarted the app, went back to the form in question through the Main Menu again, went to design view and was able to see the two sub-forms in design view. Very confusing. But thanks again for your input. I'll see if I can't find a way to duplicate the problem consistently. Regards, Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 1:32 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, In the said state, the subform does not necessarily have a visible window. If you check for all open windows by Alt + Tab, you might not find the subform anywhere. However, it acts as if open in design mode even though you feel certain (in your words - "know for a fact" ) that it is not open. As a test, if you try to open the main form in normal view, you get the message "You can't open a subform when it is also open ii Design view" The phenomenon occurs when you disturb the subform's code module in some way. Merely opening the VBA window and the fact that a particular module happens to be in view, does not cause any problem. Coming to the point raised towards the end of your message, the following scenarios could be considered - A - Main form has been opened (in any view) before opening the VBA Editor - No problem. B - Main form has Not been opened before opening the VBA Editor - (a) If the code module for the main form is disturbed before touching that for the subform, no problem. (b) If the code module for subform is disturbed before touching that for the main form, you get into the problem of blank rectangle. It does not get rectified merely by tinkering with (or putting in view) the code module for main form. You then have to go to database window, select the subform, open it in design view and close it again. It might also be desirable to keep the VBA Editor window always closed when not actively needed.. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 23:26 Subject: Re: [AccessD] SubForm Disappears In Design View AHA! I know more than one person who will be interested in this. Now I know for a fact when I get the blank rectangle that the sub-form is not open. However, I generally keep the code window open all the time. If the code window is open to the subform's module, is that what's causing this? So would opening a different code window (say, the main form's) cause the sub-form to re-appear in the main form? Rocky ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 10:29 AM Subject: Re: [AccessD] SubForm Disappears In Design View Rocky, Blank rectangle in place of subform (on opening the main form in design view), is indicative of the subform being already open in design view, even though you might not have consciously opened the same. Whenever the code module for any form or report is handled in the VBA editor, the corresponding object (form / subform / report / subreport) gets simultaneously opened in design view. Remedy - Close the main form, open the subform in design view (no need to keep searching for it), close it - and then open the main form in design view. Everything should be OK. Prevention - Prior to undertaking any editing of associated code modules of the main or subform, open the main form in design view. This will forestall the problem mentioned by you. Regards, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, September 17, 2003 21:27 Subject: Re: [AccessD] SubForm Disappears In Design View I always (try to remember to) turn off the Autocorrect feature. It causes some problem that I can't remember anymore, only that I want that sucker off all the time. So if I turn it on maybe the disappearing sub-forms will stop disappearing (but I'll get that other problem back)? Regards, Rocky ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 17, 2003 8:37 AM Subject: Re: [AccessD] SubForm Disappears In Design View > Rocky, > > After looking over TSI_Subforminator, I have > come to the conclusion that it has to do with the > Name AutoCorrect feature. > > Apparently, it needs to open subforms live in order > to track the names. TSI_Subforminator appears to > update the name maps for the Access 2000 Name > AutoCorrect feature before opening a subform in > design view. > > Michael R. Mattys > Try MattysMapLib for MapPoint at > www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 17, 2003 9:41 AM > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > Michael: > > > > Well that works around the problem when it occurs. Thanks. I'm still > > curious about why that happens. There doesn't seem to be any pattern to > it. > > > > Best, > > > > Rocky > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 16, 2003 9:45 PM > > Subject: Re: [AccessD] SubForm Disappears In Design View > > > > > > > Hello Rocky, > > > > > > Michael Kaplan made something for this > > > Look here: > > > http://www.trigeminal.com/lang/1033/utility.asp?ItemID=5 > > > > > > Michael R. Mattys > > > Try MattysMapLib for MapPoint at > > > www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Rocky Smolin - Beach Access Software" > > > To: > > > Sent: Wednesday, September 17, 2003 12:29 AM > > > Subject: [AccessD] SubForm Disappears In Design View > > > > > > > > > Dear List: > > > > > > In A2K sometimes when I open a main form with a subform in design view, > my > > > sub-form disappears to be replaced by a big white box. If I want to > work > > on > > > it, I have to close the main form and open the subform in design view > from > > > the database container. Then, some random amount of time later, the > > subform > > > reappears on the main form in design view. It's a real PITA. > > > > > > Has anyone seen this behavior and found a solution to it? > > > > > > MTIA, > > > > > > is ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Thu Sep 18 12:50:49 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 18 Sep 2003 10:50:49 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: <657FB70438B7D311AF320090279C1801026D7BBF@EXCHMAIL> I had problems with antivirus software and a few other annoyances. But I've also seen SP3 running on machines without problems. Your best bet would be to ghost your drive right before upgrading so you can come back to pre-SP3 if you do experience problems. Oh, also, some SP3 installs are uninstallable...another reason for the ghost ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 18, 2003 10:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: Given the problems with some of the Microsoft Updates, I am wondering whether to install O2K service pack 3. Does anyone have any experience with it pro or con? TIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Sep 18 12:55:49 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Sep 2003 13:55:49 -0400 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7738@xlivmbx12.aig.com> no. it's just a convenient way to populate the username on the login dialog. > -----Original Message----- > From: Don Elliker [SMTP:delliker at hotmail.com] > Sent: Thursday, September 18, 2003 1:23 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K > > Thanks, - is the user name required? > _D > > > "Things are only free to the extent that you don't pay for them".-Don > Elliker > > > > > > >From: "Heenan, Lambert" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K > >Date: Thu, 18 Sep 2003 13:15:21 -0400 > > > >The command line of the shortcut would look like this (all quotes are > >required, and it's all one line) > > > >"C:\FullPathToMsAcces\MSACCES.EXE" "X:FullPathToDatabase\SomeDb.Mdb" > >/wrkgrp > >"Z:\FullPathToMdwFile\SomeSystem.MDW" /user SomeUSerName > > > > > >Of course you could be calling and MDB or and MDE file. > > > >Lambert > > > > > -----Original Message----- > > > From: Don Elliker [SMTP:delliker at hotmail.com] > > > Sent: Thursday, September 18, 2003 12:57 PM > > > To: accessd at databaseadvisors.com > > > Subject: [AccessD] Defining Workgroup in the shortcut A2K > > > > > > I know I have seen this go by - how do I create a shortcut that > defines > > > the > > > workgroup as well as the application? > > > _D > > > > > > > > > "Things are only free to the extent that you don't pay for them".-Don > > > Elliker > > > > > > _________________________________________________________________ > > > Compare Cable, DSL or Satellite plans: As low as $29.95. > > > https://broadband.msn.com > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. > http://join.msn.com/?PAGE=features/es > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Thu Sep 18 12:58:57 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Sep 2003 13:58:57 -0400 Subject: [AccessD] O2K Service Pack 3 Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7739@xlivmbx12.aig.com> Got anything against SP4 - it's out there now. > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 18, 2003 1:38 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] O2K Service Pack 3 > > Dear List: > > Given the problems with some of the Microsoft Updates, I am wondering > whether to install O2K service pack 3. Does anyone have any experience > with it pro or con? > > TIA, > > is > << File: ATT3337140.txt >> From delliker at hotmail.com Thu Sep 18 13:03:59 2003 From: delliker at hotmail.com (Don Elliker) Date: Thu, 18 Sep 2003 14:03:59 -0400 Subject: [AccessD] Defining Workgroup in the shortcut A2K Message-ID: OkeyDokey....Thanks! _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Heenan, Lambert" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K >Date: Thu, 18 Sep 2003 13:55:49 -0400 > >no. it's just a convenient way to populate the username on the login >dialog. > > > -----Original Message----- > > From: Don Elliker [SMTP:delliker at hotmail.com] > > Sent: Thursday, September 18, 2003 1:23 PM > > To: accessd at databaseadvisors.com > > Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K > > > > Thanks, - is the user name required? > > _D > > > > > > "Things are only free to the extent that you don't pay for them".-Don > > Elliker > > > > > > > > > > > > >From: "Heenan, Lambert" > > >Reply-To: Access Developers discussion and problem > > >solving > > >To: "'Access Developers discussion and problem solving'" > > > > > >Subject: RE: [AccessD] Defining Workgroup in the shortcut A2K > > >Date: Thu, 18 Sep 2003 13:15:21 -0400 > > > > > >The command line of the shortcut would look like this (all quotes are > > >required, and it's all one line) > > > > > >"C:\FullPathToMsAcces\MSACCES.EXE" "X:FullPathToDatabase\SomeDb.Mdb" > > >/wrkgrp > > >"Z:\FullPathToMdwFile\SomeSystem.MDW" /user SomeUSerName > > > > > > > > >Of course you could be calling and MDB or and MDE file. > > > > > >Lambert > > > > > > > -----Original Message----- > > > > From: Don Elliker [SMTP:delliker at hotmail.com] > > > > Sent: Thursday, September 18, 2003 12:57 PM > > > > To: accessd at databaseadvisors.com > > > > Subject: [AccessD] Defining Workgroup in the shortcut A2K > > > > > > > > I know I have seen this go by - how do I create a shortcut that > > defines > > > > the > > > > workgroup as well as the application? > > > > _D > > > > > > > > > > > > "Things are only free to the extent that you don't pay for >them".-Don > > > > Elliker > > > > > > > > _________________________________________________________________ > > > > Compare Cable, DSL or Satellite plans: As low as $29.95. > > > > https://broadband.msn.com > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > > _________________________________________________________________ > > Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. > > http://join.msn.com/?PAGE=features/es > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Send and receive larger attachments with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From bchacc at san.rr.com Thu Sep 18 13:14:22 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 11:14:22 -0700 Subject: [AccessD] O2K Service Pack 3 References: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7739@xlivmbx12.aig.com> Message-ID: <01f401c37e10$afeff120$6601a8c0@HAL9002> When I went to the MS site that looks at your office installation and makes recommendations on what to install SP3 is what it came back with. Rocky ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 18, 2003 10:58 AM Subject: RE: [AccessD] O2K Service Pack 3 > Got anything against SP4 - it's out there now. > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > Sent: Thursday, September 18, 2003 1:38 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] O2K Service Pack 3 > > > > Dear List: > > > > Given the problems with some of the Microsoft Updates, I am wondering > > whether to install O2K service pack 3. Does anyone have any experience > > with it pro or con? > > > > TIA, > > > > is > > << File: ATT3337140.txt >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Sep 18 13:41:12 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 11:41:12 -0700 Subject: [AccessD] Form Property Message-ID: <021201c37e14$6ef4f9a0$6601a8c0@HAL9002> Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Thu Sep 18 13:42:47 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Sep 2003 14:42:47 -0400 Subject: [AccessD] O2K Service Pack 3 Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD773C@xlivmbx12.aig.com> Oops. My mistake. I read the original post as if it were referring to *Windows 2K* not *Office 2K* > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 18, 2003 2:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > > When I went to the MS site that looks at your office installation and > makes > recommendations on what to install SP3 is what it came back with. > > Rocky > > ----- Original Message ----- > From: "Heenan, Lambert" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, September 18, 2003 10:58 AM > Subject: RE: [AccessD] O2K Service Pack 3 > > > > Got anything against SP4 - it's out there now. > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 18, 2003 1:38 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] O2K Service Pack 3 > > > > > > Dear List: > > > > > > Given the problems with some of the Microsoft Updates, I am wondering > > > whether to install O2K service pack 3. Does anyone have any > experience > > > with it pro or con? > > > > > > TIA, > > > > > > is > > > << File: ATT3337140.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From backroad at idir.net Thu Sep 18 13:45:58 2003 From: backroad at idir.net (Backroads Data) Date: Thu, 18 Sep 2003 13:45:58 -0500 Subject: [AccessD] Short vs. Long File Names - Does it matter? References: <2F8793082E00D4119A1700B0D0216BF802227201@main2.marlow.com> Message-ID: <004801c37e15$30a26d30$6501a8c0@Julie> Thanks to everyone who replied on this - great information. I believe in this situation I'll be ok since everything is generated / used during runtime - no paths stored in tables, etc. However, I'll be storing the API's which provide either long or short names consistently as required. If I don't need that in this case, I probably will need it in the future. Thanks again. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ----- Original Message ----- From: Drew Wutka To: 'Access Developers discussion and problem solving' Sent: Thursday, September 18, 2003 10:46 AM Subject: RE: [AccessD] Short vs. Long File Names - Does it matter? No, it doesn't really matter, unless you are hard coding the path somewhere. (ie, if you take the path, and store it in a table, and then try to use it somewhere else. If the system is saving the long file names, on one machine, and you try to use that long file name on a system that wants the short file names.....then there's a problem. But if you just get the path, and use it, on the same machine, it shouldn't matter.) Drew -----Original Message----- From: Backroads Data [mailto:backroad at idir.net] Sent: Wednesday, September 17, 2003 3:15 PM To: AccessD Subject: [AccessD] Short vs. Long File Names - Does it matter? Hi - When I use CurrentDB.Name in code, sometimes it returns using short names, like this: C:\DOCUME~1\JULIES~1\MYDOCU~1\DEVELO~1\SomeFile.mdb and other times it uses long names, like this: C:\DOCUMENTS AND SETTINGS\JULIE SCHWALM\MY DOCUMENTS\DEVELOPMENT\SomeFile.mdb Does anyone know why it would vary? (Sometimes re-booting gets it to switch back to long file names, but not always - and not today!) I guess more important - does it matter? In code I want to create a small text file in the same directory where the app is stored. Other code will go look for this file and read its contents. I'm using Access 97 and WinXP for development. Finished product will be Access97 runtime installed on anything from Win95 and up. TIA for any insights. Best Regards, Julie Schwalm Backroads Data www.backroadsdata.com 785-594-6807 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Thu Sep 18 14:20:53 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Thu, 18 Sep 2003 12:20:53 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: <657FB70438B7D311AF320090279C1801026D7BC1@EXCHMAIL> Sorry, my bad. I did the same. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, September 18, 2003 11:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] O2K Service Pack 3 Oops. My mistake. I read the original post as if it were referring to *Windows 2K* not *Office 2K* > -----Original Message----- > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > Sent: Thursday, September 18, 2003 2:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > > When I went to the MS site that looks at your office installation and > makes > recommendations on what to install SP3 is what it came back with. > > Rocky > > ----- Original Message ----- > From: "Heenan, Lambert" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, September 18, 2003 10:58 AM > Subject: RE: [AccessD] O2K Service Pack 3 > > > > Got anything against SP4 - it's out there now. > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [SMTP:bchacc at san.rr.com] > > > Sent: Thursday, September 18, 2003 1:38 PM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] O2K Service Pack 3 > > > > > > Dear List: > > > > > > Given the problems with some of the Microsoft Updates, I am wondering > > > whether to install O2K service pack 3. Does anyone have any > experience > > > with it pro or con? > > > > > > TIA, > > > > > > is > > > << File: ATT3337140.txt >> > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Sep 18 14:24:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 12:24:06 -0700 Subject: [AccessD] Form Property Message-ID: Me.MinMaxButtons = True Me.CloseButton = True Me.ControlBox = True Me.BorderStyle = 0 ' (Transparent) Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 18 14:26:06 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 12:26:06 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: Install it. Among other things, it patches the Access executable for that pesky problem caused by vbe6.dll. I've installed it on several machines without problems. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 9:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: Given the problems with some of the Microsoft Updates, I am wondering whether to install O2K service pack 3. Does anyone have any experience with it pro or con? TIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Thu Sep 18 13:48:40 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 18 Sep 2003 14:48:40 -0400 Subject: [AccessD] Form Property References: <021201c37e14$6ef4f9a0$6601a8c0@HAL9002> Message-ID: <022d01c37e16$13eec020$220110ac@SUSANONE> Forms!frmname.Form.Property = value ???? off the top of my head, so it could be wrong Susan H. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From martyconnelly at shaw.ca Thu Sep 18 14:14:31 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Sep 2003 12:14:31 -0700 Subject: [AccessD] Access 2 Word References: Message-ID: <3F6A0417.7010606@shaw.ca> Word 2000 doesn't have all the xml capabilities however you can drive all this from access just read directory filenames into a table Then scan through names open up word object from access vba and run the code to convert the file from the word vba code, you can get this if you record the macro in word of the steps you take from the menus to create the file. Then add this word vba macro to your code. Bob Heygood wrote: >Marty thanks for responding. > >I can open each file and set an option and save as text and have comma delim >files created. >But I want to do this thru automation/code processing all files at once. >Can Word 2000 do as you describe? > >TIA > >Bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Wednesday, September 17, 2003 2:29 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Access 2 Word > > >How about using Word203 to dump all the data to XML files,and using the >WORD 2003 XSD schema file scan through the xml files by bringing them >into an XMLdom and use Xpath to rip out the interesting bits. > > >Bob Heygood wrote: > > > >>Hello to the List, >> >>I am hoping to extract some data from more than 800 Word .dot & .docs. The >>user has saved these without either naming the fields or inserting >>bookmarks. >>My thought is to iterate thru the Fields collection and capture the info. I >>would welcome any help with the code to do so or another idea. I also have >>considered using a search routine to find the location via the text >>preceding each field. >> >>TIA >> >>Bob Heygood >> >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> >> >> > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From DWUTKA at marlow.com Thu Sep 18 14:23:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 18 Sep 2003 14:23:26 -0500 Subject: [AccessD] Form Property Message-ID: <2F8793082E00D4119A1700B0D0216BF802227208@main2.marlow.com> me.MinMaxButton me.ControlBox me.CloseButton The first has values of 0,1,2,3 (0-None, 1-Min, 2-Max, 3-Both) The other 2 are both true/false. So to set just the min, you'd go: Me.MinMaxButton=1 Any more questions?(These are pretty easy when you use Access 97's help file!) Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 1:41 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 18 15:15:50 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 13:15:50 -0700 Subject: [AccessD] Form Property References: Message-ID: <02b701c37e21$a7e06f30$6601a8c0@HAL9002> MessageTried that but when I run the code it says I can't assign a value to this object. Maybe they can only be set in design mode? Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 12:24 PM Subject: RE: [AccessD] Form Property Me.MinMaxButtons = True Me.CloseButton = True Me.ControlBox = True Me.BorderStyle = 0 ' (Transparent) Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 18 15:17:42 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 13:17:42 -0700 Subject: [AccessD] Form Property References: <021201c37e14$6ef4f9a0$6601a8c0@HAL9002> <022d01c37e16$13eec020$220110ac@SUSANONE> Message-ID: <02ca01c37e21$ea514100$6601a8c0@HAL9002> Gives Error 2465: Application defined or object defined error :( Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 11:48 AM Subject: Re: [AccessD] Form Property Forms!frmname.Form.Property = value ???? off the top of my head, so it could be wrong Susan H. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 18 15:18:18 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 13:18:18 -0700 Subject: [AccessD] O2K Service Pack 3 References: Message-ID: <02eb01c37e21$ffa9e250$6601a8c0@HAL9002> MessageThanks. I'll do it Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 12:26 PM Subject: RE: [AccessD] O2K Service Pack 3 Install it. Among other things, it patches the Access executable for that pesky problem caused by vbe6.dll. I've installed it on several machines without problems. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 9:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: Given the problems with some of the Microsoft Updates, I am wondering whether to install O2K service pack 3. Does anyone have any experience with it pro or con? TIA, is ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Thu Sep 18 15:21:39 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 18 Sep 2003 16:21:39 -0400 Subject: [AccessD] Form Property References: <021201c37e14$6ef4f9a0$6601a8c0@HAL9002><022d01c37e16$13eec020$220110ac@SUSANONE> <02ca01c37e21$ea514100$6601a8c0@HAL9002> Message-ID: <02e501c37e22$7f4f30f0$220110ac@SUSANONE> Well, if neither Me or Me.Form gets ya there, don't know. But you're most likely right -- you probably need to have the form in Design View. That's always such a pain. Susan H. ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:17 PM Subject: Re: [AccessD] Form Property Gives Error 2465: Application defined or object defined error :( Rocky ----- Original Message ----- From: Susan Harkins To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 11:48 AM Subject: Re: [AccessD] Form Property Forms!frmname.Form.Property = value ???? off the top of my head, so it could be wrong Susan H. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 18 15:23:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 13:23:16 -0700 Subject: [AccessD] Form Property Message-ID: What event are you trying to run them from? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Property Tried that but when I run the code it says I can't assign a value to this object. Maybe they can only be set in design mode? Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 12:24 PM Subject: RE: [AccessD] Form Property Me.MinMaxButtons = True Me.CloseButton = True Me.ControlBox = True Me.BorderStyle = 0 ' (Transparent) Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 18 15:24:52 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 13:24:52 -0700 Subject: [AccessD] Form Property Message-ID: Oh, and yes, according to help, these can only be set in Design View. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Property Tried that but when I run the code it says I can't assign a value to this object. Maybe they can only be set in design mode? Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 12:24 PM Subject: RE: [AccessD] Form Property Me.MinMaxButtons = True Me.CloseButton = True Me.ControlBox = True Me.BorderStyle = 0 ' (Transparent) Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Thu Sep 18 16:45:08 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 18 Sep 2003 16:45:08 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF04210BAA@PKDWB01C.ad.sprint.com> Hello, All I'm building a system that needs data from another Access db. The remote db is secured using user-level security, and I had hoped to be able to get data out of it without forcing a login to its workgroup. Not that it's out of the question, just that I'd rather not if I can avoid it. My first thought was to write a procedure that connects to the remote source, gets the needed data, and pushes it into a temporary table. Then I can do what I want with the data until it's time to purge and refresh it again. My initial experiments have been unsuccessful, but I'm not sure I understand the available methods to do such a thing. I've searched the help, and cannot find a reference to any techniques for passing a username and password to a remote db. I've found references to doing so using an ODBC connected data source, but not a Jet one. So, is it possible to do what I want? Or am I going to have to route users of the new system through the workgroup of the remote one if I want to make the data available? Any examples, tips or references to helpful resources will be greatly appreciated. Thanks! Don McGillivray From bchacc at san.rr.com Thu Sep 18 16:51:32 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 14:51:32 -0700 Subject: [AccessD] Form Property References: Message-ID: <036601c37e2f$064d0760$6601a8c0@HAL9002> MessageOnOpen. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 1:23 PM Subject: RE: [AccessD] Form Property What event are you trying to run them from? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 12:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Property Tried that but when I run the code it says I can't assign a value to this object. Maybe they can only be set in design mode? Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 12:24 PM Subject: RE: [AccessD] Form Property Me.MinMaxButtons = True Me.CloseButton = True Me.ControlBox = True Me.BorderStyle = 0 ' (Transparent) Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 10:41 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Form Property Dear List: My day for questions I guess. I need to set the MinMax buttons, Close Button, Control Box, and border style though code, but can't ferret out the syntax for this. Does anyone know? MTIA, is -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Thu Sep 18 16:54:13 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 18 Sep 2003 16:54:13 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <2F8793082E00D4119A1700B0D0216BF80222720C@main2.marlow.com> What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 4:45 PM To: AccessD Subject: [AccessD] Retrieving data from a secured remote db Hello, All I'm building a system that needs data from another Access db. The remote db is secured using user-level security, and I had hoped to be able to get data out of it without forcing a login to its workgroup. Not that it's out of the question, just that I'd rather not if I can avoid it. My first thought was to write a procedure that connects to the remote source, gets the needed data, and pushes it into a temporary table. Then I can do what I want with the data until it's time to purge and refresh it again. My initial experiments have been unsuccessful, but I'm not sure I understand the available methods to do such a thing. I've searched the help, and cannot find a reference to any techniques for passing a username and password to a remote db. I've found references to doing so using an ODBC connected data source, but not a Jet one. So, is it possible to do what I want? Or am I going to have to route users of the new system through the workgroup of the remote one if I want to make the data available? Any examples, tips or references to helpful resources will be greatly appreciated. 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 mail.sprint.com Thu Sep 18 17:04:39 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 18 Sep 2003 17:04:39 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF04210BE2@PKDWB01C.ad.sprint.com> Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew From DWUTKA at marlow.com Thu Sep 18 17:18:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 18 Sep 2003 17:18:53 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <2F8793082E00D4119A1700B0D0216BF80222720D@main2.marlow.com> Okay, and you just want to retrieve data from it? Do you want a linked table, or not? If you have a table, that you want to allow access to, you should be able to set read permissions on a table, for the Admin account, which is the 'default' account used for unsecure databases. You'll have to give the admin account permissions to open the database too. If you don't want to go that route, with linking a table, you could just use ADO/DAO code, to connect to the db using the appropriate .mdw file, to retrieve the data (the unbound method)! grin. Of course this would put the account and password in the source, so you would probably want to restrict access to the source (.mde). Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From donald.a.Mcgillivray at mail.sprint.com Thu Sep 18 18:03:51 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 18 Sep 2003 18:03:51 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF04210C3E@PKDWB01C.ad.sprint.com> Thanks, Drew Well, either linking or grabbing the data - makes little difference to me. I'm planning to secure the new db, in case that complicates your first scenario any. Don't really like the idea of enabling the Admin account if I can avoid it. Can you point me in the direction of establishing a connection via code? Been studying the help(less) and don't see an example for what I'm aimed at. Thanks! Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 3:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Okay, and you just want to retrieve data from it? Do you want a linked table, or not? If you have a table, that you want to allow access to, you should be able to set read permissions on a table, for the Admin account, which is the 'default' account used for unsecure databases. You'll have to give the admin account permissions to open the database too. If you don't want to go that route, with linking a table, you could just use ADO/DAO code, to connect to the db using the appropriate .mdw file, to retrieve the data (the unbound method)! grin. Of course this would put the account and password in the source, so you would probably want to restrict access to the source (.mde). Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 18 18:14:15 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 16:14:15 -0700 Subject: [AccessD] Restore Box Message-ID: <040b01c37e3a$946ed400$6601a8c0@HAL9002> Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 18 18:20:00 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 16:20:00 -0700 Subject: [AccessD] Restore Box Message-ID: Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? MTIA Rocky -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Thu Sep 18 18:37:02 2003 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Sep 2003 18:37:02 -0500 Subject: [AccessD] Retrieving data from a secured remote db In-Reply-To: <6FC1C7A6E7BD5540AB0A8436713C43BF04210BAA@PKDWB01C.ad.sprint.com> Message-ID: <001601c37e3d$c5e6adc0$de1811d8@DanWaters> Don, Buried somewhere in Access help is some instruction on this. For someone who is logged into one db that has user security to open another db with user security, that person must have the same User Name and PID in both systems. This will avoid requiring the log in to the 2nd db. Once into the 2nd db, that person can do whatever the 2nd db's permissions allow. I tested this once to be sure, and it did work. I don't remember exactly how to open one db from another, but I believe it was just a matter of automation, and there is a lot of help available on that. Hope this helps! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Thursday, September 18, 2003 3:45 PM To: AccessD Subject: [AccessD] Retrieving data from a secured remote db Hello, All I'm building a system that needs data from another Access db. The remote db is secured using user-level security, and I had hoped to be able to get data out of it without forcing a login to its workgroup. Not that it's out of the question, just that I'd rather not if I can avoid it. My first thought was to write a procedure that connects to the remote source, gets the needed data, and pushes it into a temporary table. Then I can do what I want with the data until it's time to purge and refresh it again. My initial experiments have been unsuccessful, but I'm not sure I understand the available methods to do such a thing. I've searched the help, and cannot find a reference to any techniques for passing a username and password to a remote db. I've found references to doing so using an ODBC connected data source, but not a Jet one. So, is it possible to do what I want? Or am I going to have to route users of the new system through the workgroup of the remote one if I want to make the data available? Any examples, tips or references to helpful resources will be greatly appreciated. Thanks! Don McGillivray _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 18 19:14:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 17:14:24 -0700 Subject: [AccessD] Restore Box References: Message-ID: <042f01c37e42$fb574e10$6601a8c0@HAL9002> MessageYeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? MTIA Rocky ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 18 19:22:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2003 17:22:44 -0700 Subject: [AccessD] Restore Box Message-ID: Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? MTIA Rocky _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 18 19:31:39 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 17:31:39 -0700 Subject: [AccessD] Restore Box References: Message-ID: <049201c37e45$646d1720$6601a8c0@HAL9002> MessageYeah, that's it, Charlotte. Thanks for the heads up. But I use Maximize all the time so that the form will open up filling the whole screen. In this case, if it doesn't, there won;t be a maximize button on the form because I eliminated it. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 18 19:32:48 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 18 Sep 2003 17:32:48 -0700 Subject: [AccessD] Restore Box References: Message-ID: <04a001c37e45$8da32b70$6601a8c0@HAL9002> MessageOops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Thu Sep 18 19:37:21 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 18 Sep 2003 20:37:21 -0400 Subject: [AccessD] OT: Drivers for WPC11 Message-ID: Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com From connie.kamrowski at agric.nsw.gov.au Thu Sep 18 20:03:37 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Fri, 19 Sep 2003 11:03:37 +1000 Subject: [AccessD] Date issues in Access Message-ID: Hi Everyone, I am a newbie to thsi list but am at my wits end. I have a problem with Dates in Access. It is happening in two seperate applications. I am in Australia and need to have the Date format as dd/mm/yy. When a date is entered into a field it is displayed correctly ie. 06/08/02 when it is returned to me via a msgBox popup for troubleshooting it is displayed as 08/06/02 (US Format). when the date is after the 12th of the month it is all working fine. It only reverts to US format if the date is before the 12th. I am in Australia and need to have the Date format as dd/mm/yy. Thanks Connie Kamrowski Analyst/Programmer This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Thu Sep 18 20:39:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 11:39:33 +1000 Subject: [AccessD] Restore Box In-Reply-To: <040b01c37e3a$946ed400$6601a8c0@HAL9002> Message-ID: <3F6AEAF5.17130.B078DD0@localhost> On 18 Sep 2003 at 16:14, Rocky Smolin - Beach Access S wrote: > Dear List: > > So okay, I removed the max and min and close boxes from my forms in > design view. I can live without them. Changed the border style to > dialog. But I still can't get rid of that pesky Restore Window box in > the upper right corner (you only see it in form view, not in design > view). How do I get rid of that one? > AFAIK, you can't if the form is maximized. If the form is not maximized, it doesn't appear. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Thu Sep 18 20:42:35 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 11:42:35 +1000 Subject: [AccessD] Date issues in Access In-Reply-To: Message-ID: <3F6AEBAB.6718.B0A5642@localhost> Use Format$(mydate,"dd/mm/yy") in your messagebox. On 19 Sep 2003 at 11:03, connie.kamrowski at agric.nsw.go wrote: > Hi Everyone, > > I am a newbie to thsi list but am at my wits end. > I have a problem with Dates in Access. It is happening in two seperate > applications. > I am in Australia and need to have the Date format as dd/mm/yy. > > When a date is entered into a field it is displayed correctly ie. 06/08/02 > > when it is returned to me via a msgBox popup for troubleshooting it is > displayed as 08/06/02 (US Format). > when the date is after the 12th of the month it is all working fine. It > only reverts to US format if the date is before the 12th. > I am in Australia and need to have the Date format as dd/mm/yy. > > Thanks > Connie Kamrowski > Analyst/Programmer > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. Views > expressed are those of the individual sender and are not necessarily the > views of their organisation. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From andrew.haslett at ilc.gov.au Thu Sep 18 20:41:03 2003 From: andrew.haslett at ilc.gov.au (Haslett, Andrew) Date: Fri, 19 Sep 2003 11:11:03 +0930 Subject: [AccessD] O2K Service Pack 3 Message-ID: Only problem with OffSP3 we found, was that if a mchine had the Sharepoint Portal Client installed, when users opened Powerpoint, they would receive a PURE VIRTUAL FUNCTION CALL. We eventually found a registry fix for that. Apart from that, we've had no problems. Cheers, A -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, 19 September 2003 3:08 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: Given the problems with some of the Microsoft Updates, I am wondering whether to install O2K service pack 3. Does anyone have any experience with it pro or con? TIA, is IMPORTANT - PLEASE READ ******************** This email and any files transmitted with it are confidential and may contain information protected by law from disclosure. If you have received this message in error, please notify the sender immediately and delete this email from your system. No warranty is given that this email or files, if attached to this email, are free from computer viruses or other defects. They are provided on the basis the user assumes all responsibility for loss, damage or consequence resulting directly or indirectly from their use, whether caused by the negligence of the sender or not. -------------- next part -------------- An HTML attachment was scrubbed... URL: From connie.kamrowski at agric.nsw.gov.au Thu Sep 18 22:22:07 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Fri, 19 Sep 2003 13:22:07 +1000 Subject: [AccessD] Date issues in Access Message-ID: That works for display of the data but it is still returning incorrect results from the formula because the date is passed incorrectly if it is before the 12th of the month Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 |---------+------------------------------------> | | "Stuart McLachlan" | | | | | | Sent by: | | | accessd-bounces at databasea| | | dvisors.com | | | | | | | | | 19/09/03 11:42 AM | | | Please respond to Access | | | Developers discussion and| | | problem solving | | | | |---------+------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Access Developers discussion and problem solving | | cc: | | Subject: Re: [AccessD] Date issues in Access | >--------------------------------------------------------------------------------------------------------------| Use Format$(mydate,"dd/mm/yy") in your messagebox. On 19 Sep 2003 at 11:03, connie.kamrowski at agric.nsw.go wrote: > Hi Everyone, > > I am a newbie to thsi list but am at my wits end. > I have a problem with Dates in Access. It is happening in two seperate > applications. > I am in Australia and need to have the Date format as dd/mm/yy. > > When a date is entered into a field it is displayed correctly ie. 06/08/02 > > when it is returned to me via a msgBox popup for troubleshooting it is > displayed as 08/06/02 (US Format). > when the date is after the 12th of the month it is all working fine. It > only reverts to US format if the date is before the 12th. > I am in Australia and need to have the Date format as dd/mm/yy. > > Thanks > Connie Kamrowski > Analyst/Programmer > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. Views > expressed are those of the individual sender and are not necessarily the > views of their organisation. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From stuart at lexacorp.com.pg Thu Sep 18 22:31:32 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 13:31:32 +1000 Subject: [AccessD] Date issues in Access In-Reply-To: Message-ID: <3F6B0534.15317.B6E1915@localhost> On 19 Sep 2003 at 13:22, connie.kamrowski at agric.nsw.go wrote: > > That works for display of the data but it is still returning incorrect > results from the formula because the date is passed incorrectly if it is > before the 12th of the month > You only asked about displaying it in a message box :-) If you show us how you are currently using it in a formula, we can probably help there too. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From connie.kamrowski at agric.nsw.gov.au Thu Sep 18 22:43:52 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Fri, 19 Sep 2003 13:43:52 +1000 Subject: [AccessD] Date issues in Access Message-ID: The dates in Question are datDay1 and datDay2 , Some background here... I am a newly appointed Analyst programmer and am trying to troubleshoot thsi application which was written in 1995 by someone who is long gone from the organization. The formula involved is to calculate the number of days between two values. I get an error on the result of the number of longBusiness days, as follows: Public Function DiffBusinessDays_TSB(datDay1 As Date, datDay2 As Date, strHolidayTbl As String, strHolidayField As String) As Long ' Comments : Returns the number of business days between two dates ' The days are rounded down -- it takes 24 hours to make a day. ' Weekend dates (Saturday and Sunday) and holidays are not counted. ' Parameters: datDay1 - first (earlier) date/time (subtracted from datDay2) ' datDay2 - second (later) date/time ' strHolidayTbl - name of holiday table ' strHolidayField - field name of holiday dates in the holiday table ' Returns : Number of whole business days between two dates ' (Returns negative days if datDay1 is after datDay2) ' Dim db As Database Dim rst As Recordset Dim strSQL As String Dim strField As String Dim lngWeekdays As Long Dim lngBusinessDays As Long ' Calculate number of weekdays between two dates: lngWeekdays = DiffWeekdays_TSB(datDay1, datDay2) datDay1 = Format$(datDay1, "dd/mm/yy") datDay2 = Format$(datDay2, "dd/mm/yy") Set db = CurrentDb() strField = "[" & strHolidayTbl & "].[" & strHolidayField & "]" strSQL = "SELECT DISTINCTROW Count(" & strField & ") AS Count" strSQL = strSQL & " FROM " & strHolidayTbl strSQL = strSQL & " WHERE ((" & strField & " " If datDay1 <= datDay2 Then strSQL = strSQL & ">=#" & datDay1 & "# And " strSQL = strSQL & strField & "<#" & datDay2 & "#));" Else strSQL = strSQL & ">=#" & datDay2 & "# And " strSQL = strSQL & strField & "<#" & datDay1 & "#));" End If msgbox "long Week Days is " & lngWeekdays msgbox "Start Date is " & datDay1 Returns correct value msgbox "End Date is " & datDay2 Returns correct value Set rst = db.OpenRecordset(strSQL) lngBusinessDays = rst![Count] rst.Close db.Close msgbox "long Business Days is " & lngBusinessDays Returns incorrect value DiffBusinessDays_TSB = lngWeekdays - lngBusinessDays End Function Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 |---------+------------------------------------> | | "Stuart McLachlan" | | | | | | Sent by: | | | accessd-bounces at databasea| | | dvisors.com | | | | | | | | | 19/09/03 01:31 PM | | | Please respond to Access | | | Developers discussion and| | | problem solving | | | | |---------+------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Access Developers discussion and problem solving | | cc: | | Subject: Re: [AccessD] Date issues in Access | >--------------------------------------------------------------------------------------------------------------| On 19 Sep 2003 at 13:22, connie.kamrowski at agric.nsw.go wrote: > > That works for display of the data but it is still returning incorrect > results from the formula because the date is passed incorrectly if it is > before the 12th of the month > You only asked about displaying it in a message box :-) If you show us how you are currently using it in a formula, we can probably help there too. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From stuart at lexacorp.com.pg Thu Sep 18 23:05:17 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 14:05:17 +1000 Subject: [AccessD] Date issues in Access In-Reply-To: Message-ID: <3F6B0D1D.22848.B8D0162@localhost> On 19 Sep 2003 at 13:43, connie.kamrowski at agric.nsw.go wrote: >strSQL & ">=#" & datDay2 & "# And " ..... > Set rst = db.OpenRecordset(strSQL) Ah-ha! You're using it in SQL. SQL assumes US style dates where they are ambiguous. Help actually says "You must use English (United States) date formats in SQL statements in Visual Basic." but as you've discovered, if it is not a valid US style date (such as 13/9/03), it seems to work OK in most cases - but it is certainly not reliable. Two possibilitues, either of which will work: strSQL & ">=Datevalue('" & datDay2 & "') And " (will interpret the date based on your Regional Settings) or strSQL & ">=#" & format$(datDay2,"mm/dd/yy") & "# And " -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From accessd666 at yahoo.com Fri Sep 19 01:19:50 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 18 Sep 2003 23:19:50 -0700 (PDT) Subject: [AccessD] ADO Query (this time?!?) Message-ID: <20030919061950.95171.qmail@web60202.mail.yahoo.com> Hi group, for the last 1,5 hour I'm trying to create an ADO recordset.... What the hell is wrong with the code below? I use a function called GetStatus to run a query and send me the results back...shouldn't be that complex?! When I call it like this: gstrSwitchStatus = GetStatus("qrySwitchStatus") I keep getting the error: Invalid SQL-statement; expected DELETE, INSERT, PROCEDURE, SELECT, or UPDATE. Or when I call it like: (this is the sql-code of the query!) strSQL = "SELECT [tblSource].[Status] AS qryStatus " & _ "FROM tblSource " & _ "WHERE [tblSource].[ID]=[Forms]![fInterface]![lblID].Caption;" gstrSwitchStatus = GetStatus(strSQL) I get the error: No value given for one or more required parameters I call the function as follows: ...and here is the function: Public Function GetStatus(qryName As String) As String Dim strRtn As String Dim conn As ADODB.Connection 'db connection Dim rst As ADODB.Recordset ' On Error GoTo GetCount_ERR strRtn = "FAILED" Set conn = CurrentProject.Connection Set rst = New ADODB.Recordset With rst .ActiveConnection = conn .Source = qryName .LockType = adLockOptimistic .CursorType = adOpenDynamic .Open End With ' rst.Open qryName, conn, adOpenStatic, adLockReadOnly ... ... PLEASE HELP ME OUT! TIA SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From accessd666 at yahoo.com Fri Sep 19 01:34:26 2003 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 18 Sep 2003 23:34:26 -0700 (PDT) Subject: [AccessD] Restore Box In-Reply-To: <04a001c37e45$8da32b70$6601a8c0@HAL9002> Message-ID: <20030919063426.99192.qmail@web60202.mail.yahoo.com> I'm not exactly sure wich icon you want to get rid of but: 1= minimize button 2= maximize button 3= close button Border Style : Sizable : Dialog : Dialog Control Box : Yes : No : Yes MinMax Buttons: Both : Both : None Close Button : Yes : Yes : No Result : 1+2+3 : No controls : No controls HTH SD --- Rocky Smolin - Beach Access Software wrote: > MessageOops. Wrote too soon. Took out the > DoCmd.Maximize and the little box is still there. > > Rocky > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem > solving > Sent: Thursday, September 18, 2003 5:22 PM > Subject: RE: [AccessD] Restore Box > > > Are you by any chance maximizing the form? Even a > form that normally doesn't display the restore icon > will do so when it's maximized. I think the only > alternative in that case is the WinAPI. I > personally don't like maximized forms, so I haven't > messed around with that. > > Charlotte Foust > -----Original Message----- > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > Sent: Thursday, September 18, 2003 4:14 PM > To: Access Developers discussion and problem > solving > Subject: Re: [AccessD] Restore Box > > > Yeah. No soap. > > Rocky > > ----- Original Message ----- > From: Charlotte Foust > To: Access Developers discussion and problem > solving > Sent: Thursday, September 18, 2003 4:20 PM > Subject: RE: [AccessD] Restore Box > > > Have you tried setting the form's border style > to Thin instead of Dialog? > > Charlotte Foust > -----Original Message----- > From: Rocky Smolin - Beach Access Software > [mailto:bchacc at san.rr.com] > Sent: Thursday, September 18, 2003 3:14 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Restore Box > > > Dear List: > > So okay, I removed the max and min and close > boxes from my forms in design view. I can live > without them. Changed the border style to dialog. > But I still can't get rid of that pesky Restore > Window box in the upper right corner (you only see > it in form view, not in design view). How do I get > rid of that one? > > 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 > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From stuart at lexacorp.com.pg Fri Sep 19 01:43:09 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 16:43:09 +1000 Subject: [AccessD] ADO Query (this time?!?) In-Reply-To: <20030919061950.95171.qmail@web60202.mail.yahoo.com> Message-ID: <3F6B321D.31127.1F8830D@localhost> On 18 Sep 2003 at 23:19, Sad Der wrote: > Hi group, > > for the last 1,5 hour I'm trying to create an ADO > recordset.... > > What the hell is wrong with the code below? > I use a function called GetStatus to run a query and > send me the results back...shouldn't be that complex?! > > When I call it like this: > gstrSwitchStatus = GetStatus("qrySwitchStatus") > > I keep getting the error: > Invalid SQL-statement; expected DELETE, INSERT, > PROCEDURE, SELECT, or UPDATE. > > Or when I call it like: > (this is the sql-code of the query!) > strSQL = "SELECT [tblSource].[Status] AS qryStatus > " & _ > "FROM tblSource " & _ > "WHERE > [tblSource].[ID]=[Forms]![fInterface]![lblID].Caption;" > Hard to tell in the message, but it looks as though there is no space after qryStatus so you end with "qryStatusFROM" instead of "qryStatus FROM" -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From accessd666 at yahoo.com Fri Sep 19 02:02:49 2003 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 19 Sep 2003 00:02:49 -0700 (PDT) Subject: [AccessD] ADO Query (this time?!?) In-Reply-To: <20030919061950.95171.qmail@web60202.mail.yahoo.com> Message-ID: <20030919070249.26337.qmail@web60207.mail.yahoo.com> AAHHRGG thank god it's almost weekend. Check the where clause: WHERE [tblSource].[ID]=[Forms]![fInterface]![lblID].Caption;" according to my sql tblSource.ID equals the text: [Forms]![fInterface]![lblID].Caption i changed the where clause and it works like a charm! Regards, SD --- Sad Der wrote: > Hi group, > > for the last 1,5 hour I'm trying to create an ADO > recordset.... > > What the hell is wrong with the code below? > I use a function called GetStatus to run a query and > send me the results back...shouldn't be that > complex?! > > When I call it like this: > gstrSwitchStatus = GetStatus("qrySwitchStatus") > > I keep getting the error: > Invalid SQL-statement; expected DELETE, INSERT, > PROCEDURE, SELECT, or UPDATE. > > Or when I call it like: > (this is the sql-code of the query!) > strSQL = "SELECT [tblSource].[Status] AS > qryStatus > " & _ > "FROM tblSource " & _ > "WHERE > [tblSource].[ID]=[Forms]![fInterface]![lblID].Caption;" > > gstrSwitchStatus = GetStatus(strSQL) > > I get the error: > No value given for one or more required parameters > I call the function as follows: > > ...and here is the function: > Public Function GetStatus(qryName As String) As > String > > > Dim strRtn As String > Dim conn As ADODB.Connection 'db connection > Dim rst As ADODB.Recordset > > ' On Error GoTo GetCount_ERR > > strRtn = "FAILED" > > Set conn = CurrentProject.Connection > Set rst = New ADODB.Recordset > With rst > .ActiveConnection = conn > .Source = qryName > .LockType = adLockOptimistic > .CursorType = adOpenDynamic > .Open > End With > > ' rst.Open qryName, conn, adOpenStatic, > adLockReadOnly > ... > ... > > PLEASE HELP ME OUT! > > TIA > > SD > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site > design software > http://sitebuilder.yahoo.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From bbruen at bigpond.com Fri Sep 19 06:38:59 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Fri, 19 Sep 2003 21:38:59 +1000 Subject: [AccessD] DAO Query In-Reply-To: <20030918134335.767.qmail@web60202.mail.yahoo.com> Message-ID: <000001c37ea2$9efa2060$ae00a8c0@bbb888> Sander, I cant remember what we were doing with this code but it looks like qrySwitchStatus is expecting a parameter and I don't think looking at the date of the code that I was using parameterised queries for anything at that time. Check the query - is it non-parameterised? Definitely only returning one row? Hth Bruce P.s. HI List! Just dropped in to clear the mailbox (>2000 unreads!) Oh well - got to get back to the joys of reading McConnell (cant he just say something ONCE!!!) and writing methodologies..... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Thursday, 18 September 2003 11:44 PM To: Acces User Group Subject: [AccessD] DAO Query Hi group, I've got a function called GetStatus. It was created by Bruce (from this list) and used to be in ADO. I made changes so that it would now run in DAO. Somehow the function doesn't work. At the line: Set rst = oDb.OpenRecordset(Name:=qryName) I get the error: 3061 too few parameters Expected 1 However I call it like this: gstrSwitchStatus = GetStatus("qrySwitchStatus") Any ideas? TIA SD Public Function GetStatus(qryName As String) As String ' ' Description / Purpose :- ' GetStatus executes a stored database query that returns a status ' The query MUST return only one row, and only one Field "qryStatus". ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' qryName string The name of the select query to be run ' ' ' Version Dated Author Comment ' ' 1.0 28/06/2003 bruce Original. Dim strRtn As String Dim oDb As DAO.Database Dim rst As DAO.Recordset 'recordset returned by the query On Error GoTo GetCount_ERR 'lngRtn = -1 strRtn = "FAILED" 'Set conn = CurrentProject.Connection 'Set rst = New Recordset Set oDb = CurrentDb() Set rst = oDb.OpenRecordset(Name:=qryName) ', Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) ... ... end function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Fri Sep 19 06:59:28 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 19 Sep 2003 07:59:28 -0400 Subject: [AccessD] Restore Box Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F58E@TTNEXCHSRV1.hshhp.com> Even on Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 8:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Oops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Sep 19 07:01:34 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 19 Sep 2003 08:01:34 -0400 Subject: [AccessD] Restore Box Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F58F@TTNEXCHSRV1.hshhp.com> The restore icon should not be present unless the window is maximized. The trick I've seen to show a maximized window without the restore icon is to size the window to fill the child window area. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 7:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? MTIA Rocky *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Erwin.Craps at ithelps.be Fri Sep 19 07:58:08 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 19 Sep 2003 14:58:08 +0200 Subject: [AccessD] Screen position of mouse. Message-ID: I can't find how to know the postition of the mouse on the screen. I have a pop-up form I want to pop-up at the same place as where the mouse cursor is at that time. So I want to put put the code in the on_open event of the pop-up form in question lngMouseLeft = ???.Left lngMouseTop = ???.Top me.move lngMouseLeft, lngMouseTop Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lambert.Heenan at AIG.com Fri Sep 19 08:19:05 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 19 Sep 2003 09:19:05 -0400 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7745@xlivmbx12.aig.com> Well if the database that needs the data from the secured db is itself going to be secured, why don't you use the same MDW file to do the security, then the new db will automatically have rights to the other one. Problem solved. > -----Original Message----- > From: Mcgillivray, Donald [ITS] > [SMTP:donald.a.Mcgillivray at mail.sprint.com] > Sent: Thursday, September 18, 2003 7:04 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Retrieving data from a secured remote db > > Thanks, Drew > > Well, either linking or grabbing the data - makes little difference to > me. I'm planning to secure the new db, in case that complicates your > first scenario any. Don't really like the idea of enabling the Admin > account if I can avoid it. > > Can you point me in the direction of establishing a connection via code? > Been studying the help(less) and don't see an example for what I'm aimed > at. > > Thanks! > Don > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday, September 18, 2003 3:19 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Retrieving data from a secured remote db > > > Okay, and you just want to retrieve data from it? Do you want a linked > table, or not? If you have a table, that you want to allow access to, > you should be able to set read permissions on a table, for the Admin > account, which is the 'default' account used for unsecure databases. > You'll have to give the admin account permissions to open the database > too. > > If you don't want to go that route, with linking a table, you could just > use ADO/DAO code, to connect to the db using the appropriate .mdw file, > to retrieve the data (the unbound method)! grin. Of course this would > put the account and password in the source, so you would probably want > to restrict access to the source (.mde). > > Drew > > -----Original Message----- > From: Mcgillivray, Donald [ITS] > [mailto:donald.a.Mcgillivray at mail.sprint.com] > Sent: Thursday, September 18, 2003 5:05 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Retrieving data from a secured remote db > > > Drew, > > It's just an .mdb on a network drive. > > Don > > -----Original Message----- > From: Drew Wutka [mailto:DWUTKA at marlow.com] > Sent: Thursday, September 18, 2003 2:54 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Retrieving data from a secured remote db > > > What exactly do you mean by remote? Are we talking about an .mdb on a > network drive, or are we talking about an .mdb somewhere on the > internet? > > Drew > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Fri Sep 19 08:48:35 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 19 Sep 2003 08:48:35 -0500 Subject: [AccessD] Screen position of mouse. Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C937@TAPPEEXCH01> You need to use the GetCursorPos API call: Private Type POINTAPI x As Long y As Long End Type Private Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long Dim typPA AS POINTAPI GetCursorPos typPA Debug.Print typPA.x, typPA.y The results are in pixels, so to convert to twips you need to use the GetDeviceCaps API call: Private Const cTwipsPerInch = 1440 Private Const LOGPIXELSX = 88 ' Logical pixels/inch in X Private Const LOGPIXELSY = 90 ' Logical pixels/inch in Y Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long Public Function XPixelsToTwips(ByVal lngX As Long) As Long XPixelsToTwips = lngX * (cTwipsPerInch / GetDeviceCaps(GetDC(0), LOGPIXELSX)) End Function Public Function YPixelsToTwips(ByVal lngY As Long) As Long YPixelsToTwips = lngY * (cTwipsPerInch / GetDeviceCaps(GetDC(0), LOGPIXELSY)) End Function -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, September 19, 2003 7:58 AM To: Access Developers discussion and problem solving Subject: [AccessD] Screen position of mouse. I can't find how to know the postition of the mouse on the screen. I have a pop-up form I want to pop-up at the same place as where the mouse cursor is at that time. So I want to put put the code in the on_open event of the pop-up form in question lngMouseLeft = ???.Left lngMouseTop = ???.Top me.move lngMouseLeft, lngMouseTop Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at lexacorp.com.pg Fri Sep 19 08:55:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 19 Sep 2003 23:55:12 +1000 Subject: [AccessD] Screen position of mouse. In-Reply-To: Message-ID: <3F6B9760.23718.3841200@localhost> On 19 Sep 2003 at 14:58, Erwin Craps wrote: > I can't find how to know the postition of the mouse on the screen. > > I have a pop-up form I want to pop-up at the same place as where the > mouse cursor is at that time. > So I want to put put the code in the on_open event of the pop-up form in > question > > lngMouseLeft = ???.Left > lngMouseTop = ???.Top > > me.move lngMouseLeft, lngMouseTop > It gets quite tricky. You can find the current mouse position in pixels easily enough: In a module: Type POINTAPI x As Long y As Long End Type Declare Function GetCursorPos Lib "USER32.DLL" (lpPoint As POINTAPI) As Long In your event: Dim mptr As POINTAPI Dim result As Long result = GetCursorPos(mptr) Msgbox "Mouse is at Screen position " & mptr.x & " : " & mptr.y & " in pixels" However, that doesn't really help. Forms are positioned in twips relative to their parent (usually the main application window). You need to get a handle to the parent window using the GetActiveWindow() and GetWindow() API calls then get the location of that window using GetWindowPlacement. Then you need to convert these pixel figures to twips and use Docmd.MoveSize to place the from at an appropriate position within it's parent. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From Erwin.Craps at ithelps.be Fri Sep 19 09:30:10 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 19 Sep 2003 16:30:10 +0200 Subject: [AccessD] Screen position of mouse. ALMOST SOLVED.... Message-ID: Haha, I just implemented that code, but indeed left was ok but top was about 3 to 4 cm below my cursor.... But I got the picture and I'm driving in the right lane now... Thx -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, September 19, 2003 3:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Screen position of mouse. On 19 Sep 2003 at 14:58, Erwin Craps wrote: > I can't find how to know the postition of the mouse on the screen. > > I have a pop-up form I want to pop-up at the same place as where the > mouse cursor is at that time. So I want to put put the code in the > on_open event of the pop-up form in question > > lngMouseLeft = ???.Left > lngMouseTop = ???.Top > > me.move lngMouseLeft, lngMouseTop > It gets quite tricky. You can find the current mouse position in pixels easily enough: In a module: Type POINTAPI x As Long y As Long End Type Declare Function GetCursorPos Lib "USER32.DLL" (lpPoint As POINTAPI) As Long In your event: Dim mptr As POINTAPI Dim result As Long result = GetCursorPos(mptr) Msgbox "Mouse is at Screen position " & mptr.x & " : " & mptr.y & " in pixels" However, that doesn't really help. Forms are positioned in twips relative to their parent (usually the main application window). You need to get a handle to the parent window using the GetActiveWindow() and GetWindow() API calls then get the location of that window using GetWindowPlacement. Then you need to convert these pixel figures to twips and use Docmd.MoveSize to place the from at an appropriate position within it's parent. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Sep 19 09:46:32 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 20 Sep 2003 00:46:32 +1000 Subject: [AccessD] DAO Query In-Reply-To: <20030918134335.767.qmail@web60202.mail.yahoo.com> Message-ID: <000a01c37ebc$d4786fc0$0c05a8c0@carlton.local> Sad, Off the top of my head Change: Set rst = oDb.OpenRecordset(Name:=qryName) to: Set rst = oDb.OpenRecordset("qryName",dbopendynaset) HTH Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: Thursday, 18 September 2003 11:44 PM To: Acces User Group Subject: [AccessD] DAO Query Hi group, I've got a function called GetStatus. It was created by Bruce (from this list) and used to be in ADO. I made changes so that it would now run in DAO. Somehow the function doesn't work. At the line: Set rst = oDb.OpenRecordset(Name:=qryName) I get the error: 3061 too few parameters Expected 1 However I call it like this: gstrSwitchStatus = GetStatus("qrySwitchStatus") Any ideas? TIA SD Public Function GetStatus(qryName As String) As String ' ' Description / Purpose :- ' GetStatus executes a stored database query that returns a status ' The query MUST return only one row, and only one Field "qryStatus". ' ' Parameters:- ' PARAMETER TYPE COMMENTS ' qryName string The name of the select query to be run ' ' ' Version Dated Author Comment ' ' 1.0 28/06/2003 bruce Original. Dim strRtn As String Dim oDb As DAO.Database Dim rst As DAO.Recordset 'recordset returned by the query On Error GoTo GetCount_ERR 'lngRtn = -1 strRtn = "FAILED" 'Set conn = CurrentProject.Connection 'Set rst = New Recordset Set oDb = CurrentDb() Set rst = oDb.OpenRecordset(Name:=qryName) ', Type:=dbOpenSnapshot, Options:=dbOpenForwardOnly) ... ... end function __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 19 09:52:23 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2003 16:52:23 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: References: Message-ID: <6128812149.20030919165223@cactus.dk> Hi Connie Newbie or not, you've hit a sensitive topic of this list: Internationalization (look up the archive) ... Your basic problem is that this crappy function is (1) clumsy, (2) for US developers only. If you google on "DiffBusinessDays_TSB" you'll see some even more crappy variations on this at Experts-Exchange where it has been ghosting for a couple of years. First, as Stuart already has pointed out, dates in SQL code must be formatted as US style strings; no exceptions. Second, DateDiff() should be used for comparing date values. However, in SQL it is much easier to use Between .. And as this is symmetric (it doesn't matter wether the newest date is first or last) if you take care of that it will include both the start and end date. Thus, first, you'll have to modify your code to use US formatted date strings ("The Lembit method" as our fellow lister Lembit was the first to point this issue out and how to solve it). This function will help if you do not want to mess up your SQL string with the formatting expressions: Public Function StrDateSQL(ByVal dat As Date) As String ' Formats full string of date/time in US format for SQL. ' Overrides local (non US) settings for date/time separators. ' Example output: ' ' #08/16/1998 04:03:36 PM# ' ' 1999-10-21. Cactus Data ApS, CPH. StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") End Function ' Calculate number of weekdays between two dates: lngWeekdays = DiffWeekdays_TSB(datDay1, datDay2) Dim db As Database Dim rst As Recordset Dim strSQL As String Dim strDay1 As String Dim strDay2 As String Dim strField As String Dim lngWeekdays As Long Dim lngBusinessDays As Long strDay1 = StrDateSQL(datDay1) strDay2 = StrDateSQL(datDay2) Set db = CurrentDb() strField = "[" & strHolidayField & "]" strSQL = "SELECT Count("*") - 1 AS Count " strSQL = strSQL & "FROM " & strHolidayTbl & " " strSQL = strSQL & "WHERE (" & strField & " " strSQL = strSQL & "BETWEEN " & strDay1 & " " strSQL = strSQL & "AND " & strDay2 & ");" MsgBox "Long Week Days is " & lngWeekdays MsgBox "Start Date is " & datDay1 MsgBox "End Date is " & datDay2 Set rst = db.OpenRecordset(strSQL) lngBusinessDays = rst![Count] rst.Close db.Close MsgBox "Long Business Days is " & lngBusinessDays ... Set rst = Nothing Set db = Nothing DiffBusinessDays_TSB = lngWeekdays - lngBusinessDays This is not tested as I don't have these tables so corrections may be needed but you probably get the idea. /gustav > The dates in Question are datDay1 and datDay2 , > Some background here... I am a newly appointed Analyst programmer and am > trying to troubleshoot thsi application which was written in 1995 by > someone who is long gone from the organization. > The formula involved is to calculate the number of days between two values. > I get an error on the result of the number of longBusiness days, as > follows: > Public Function DiffBusinessDays_TSB(datDay1 As Date, datDay2 As Date, > strHolidayTbl As String, strHolidayField As String) As Long > ' Comments : Returns the number of business days between two dates > ' The days are rounded down -- it takes 24 hours to make a > day. > ' Weekend dates (Saturday and Sunday) and holidays are not > counted. > ' Parameters: datDay1 - first (earlier) date/time (subtracted from > datDay2) > ' datDay2 - second (later) date/time > ' strHolidayTbl - name of holiday table > ' strHolidayField - field name of holiday dates in the > holiday table > ' Returns : Number of whole business days between two dates > ' (Returns negative days if datDay1 is after datDay2) > ' > Dim db As Database > Dim rst As Recordset > Dim strSQL As String > Dim strField As String > Dim lngWeekdays As Long > Dim lngBusinessDays As Long > ' Calculate number of weekdays between two dates: > lngWeekdays = DiffWeekdays_TSB(datDay1, datDay2) > datDay1 = Format$(datDay1, "dd/mm/yy") > datDay2 = Format$(datDay2, "dd/mm/yy") > Set db = CurrentDb() > strField = "[" & strHolidayTbl & "].[" & strHolidayField & "]" > strSQL = "SELECT DISTINCTROW Count(" & strField & ") AS Count" > strSQL = strSQL & " FROM " & strHolidayTbl > strSQL = strSQL & " WHERE ((" & strField & " " > If datDay1 <= datDay2 Then > strSQL = strSQL & ">=#" & datDay1 & "# And " > strSQL = strSQL & strField & "<#" & datDay2 & "#));" > Else > strSQL = strSQL & ">=#" & datDay2 & "# And " > strSQL = strSQL & strField & "<#" & datDay1 & "#));" > End If > msgbox "long Week Days is " & lngWeekdays > msgbox "Start Date is " & datDay1 Returns correct value > msgbox "End Date is " & datDay2 Returns correct value > Set rst = db.OpenRecordset(strSQL) > lngBusinessDays = rst![Count] > rst.Close > db.Close > msgbox "long Business Days is " & lngBusinessDays Returns incorrect value > DiffBusinessDays_TSB = lngWeekdays - lngBusinessDays > End Function > Connie Kamrowski From tsm at zoomtown.com Fri Sep 19 09:53:34 2003 From: tsm at zoomtown.com (Scott Marcus) Date: Fri, 19 Sep 2003 10:53:34 -0400 Subject: [AccessD] OT: Drivers for WPC11 In-Reply-To: Message-ID: <009e01c37ebd$cce033f0$6601a8c0@laptop> http://www.linksys.com/download/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 18, 2003 8:37 PM To: AccessD Subject: [AccessD] OT: Drivers for WPC11 Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Fri Sep 19 09:55:36 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 19 Sep 2003 09:55:36 -0500 Subject: [AccessD] Screen position of mouse. Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C938@TAPPEEXCH01> Unless... You use the MoveWindow API call to reposition your form. Here is the code in it's entirety: Private Declare Function MoveWindow Lib "user32" Alias "MoveWindow" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long Private Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long Private Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Type POINTAPI x As Long y As Long End Type Public Sub RepositionForm(frm As Form) Dim typPA As POINTAPI Dim typRect AS RECT 'Determine current window dimensions GetWindowRect frm.hwnd, typRect 'Determine mouse cursor position GetCursorPos typPA 'Reposition form to match mouse cursor MoveWindow frm.hwnd, typPA.x, typPA.y, (typRect.Right - typRect.Left), (typRect.Bottom - typRect.Top), 1 End Sub Easy, done... I am using code almost identical to this for a custom popup menu I created. -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, September 19, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Screen position of mouse. On 19 Sep 2003 at 14:58, Erwin Craps wrote: > I can't find how to know the postition of the mouse on the screen. > > I have a pop-up form I want to pop-up at the same place as where the > mouse cursor is at that time. > So I want to put put the code in the on_open event of the pop-up form in > question > > lngMouseLeft = ???.Left > lngMouseTop = ???.Top > > me.move lngMouseLeft, lngMouseTop > It gets quite tricky. You can find the current mouse position in pixels easily enough: In a module: Type POINTAPI x As Long y As Long End Type Declare Function GetCursorPos Lib "USER32.DLL" (lpPoint As POINTAPI) As Long In your event: Dim mptr As POINTAPI Dim result As Long result = GetCursorPos(mptr) Msgbox "Mouse is at Screen position " & mptr.x & " : " & mptr.y & " in pixels" However, that doesn't really help. Forms are positioned in twips relative to their parent (usually the main application window). You need to get a handle to the parent window using the GetActiveWindow() and GetWindow() API calls then get the location of that window using GetWindowPlacement. Then you need to convert these pixel figures to twips and use Docmd.MoveSize to place the from at an appropriate position within it's parent. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From John.Clark at niagaracounty.com Fri Sep 19 10:42:03 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 19 Sep 2003 11:42:03 -0400 Subject: [AccessD] October Issue of Inside Access Message-ID: Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark -------------- next part -------------- An HTML attachment was scrubbed... URL: From pctech at mybellybutton.com Fri Sep 19 10:47:23 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Fri, 19 Sep 2003 08:47:23 -0700 (PDT) Subject: [AccessD] Stupid DateTime/Calendar Picker Question Message-ID: <20030919154723.43070.qmail@web13401.mail.yahoo.com> Ok....Here's the scenario. I have a report that I need to run. It has a start date and time and a stop date and time, obviously. The back-end database has the start and end times in DateTime format, I cannot deviate from this format in the backend. I have a calendar picker to select start date and one to select stop date. I have a time picker to select the start time and stop time. I have four text boxes that take the resultant dates and times from the ActiveX controls, so I can use them. From there I have two text boxes that convert them to pseudo DateTime start and stop times thusly "=[start_date] & " " & [start_time]" and "=[end_date] & " " & [end_time]". The resultant formats LOOK correctly formatted for the DateTime field. I.e. they look like 9/19/2003 5:00:00 AM. HOWEVER they don't seem to work properly against the ACTUAL DateTime fields in my back-end database when I use a Between statement. What am I doing wrong? Thank you in advance for your assistance. From Erwin.Craps at ithelps.be Fri Sep 19 10:53:03 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 19 Sep 2003 17:53:03 +0200 Subject: [AccessD] Screen position of mouse. Message-ID: Yep this does work. I already found the solution with the formInfo class that included in ' From Access 2002 Desktop Developer's Handbook ' by Litwin, Getz, and Gunderloy (Sybex) ' Copyright 2001. All rights reserved. That uses pixels to. I'm adding some code to this class to PositionToMouseCursor...cause i use this FormInfo all the time. Thx... That's another beer or three at my expenses... That brings the total at 379 beers (or other, same priced, beverages) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Friday, September 19, 2003 4:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Screen position of mouse. Unless... You use the MoveWindow API call to reposition your form. Here is the code in it's entirety: Private Declare Function MoveWindow Lib "user32" Alias "MoveWindow" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long Private Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long Private Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Type POINTAPI x As Long y As Long End Type Public Sub RepositionForm(frm As Form) Dim typPA As POINTAPI Dim typRect AS RECT 'Determine current window dimensions GetWindowRect frm.hwnd, typRect 'Determine mouse cursor position GetCursorPos typPA 'Reposition form to match mouse cursor MoveWindow frm.hwnd, typPA.x, typPA.y, (typRect.Right - typRect.Left), (typRect.Bottom - typRect.Top), 1 End Sub Easy, done... I am using code almost identical to this for a custom popup menu I created. -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, September 19, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Screen position of mouse. On 19 Sep 2003 at 14:58, Erwin Craps wrote: > I can't find how to know the postition of the mouse on the screen. > > I have a pop-up form I want to pop-up at the same place as where the > mouse cursor is at that time. So I want to put put the code in the > on_open event of the pop-up form in question > > lngMouseLeft = ???.Left > lngMouseTop = ???.Top > > me.move lngMouseLeft, lngMouseTop > It gets quite tricky. You can find the current mouse position in pixels easily enough: In a module: Type POINTAPI x As Long y As Long End Type Declare Function GetCursorPos Lib "USER32.DLL" (lpPoint As POINTAPI) As Long In your event: Dim mptr As POINTAPI Dim result As Long result = GetCursorPos(mptr) Msgbox "Mouse is at Screen position " & mptr.x & " : " & mptr.y & " in pixels" However, that doesn't really help. Forms are positioned in twips relative to their parent (usually the main application window). You need to get a handle to the parent window using the GetActiveWindow() and GetWindow() API calls then get the location of that window using GetWindowPlacement. Then you need to convert these pixel figures to twips and use Docmd.MoveSize to place the from at an appropriate position within it's parent. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 19 10:58:08 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 10:58:08 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <2F8793082E00D4119A1700B0D0216BF80222720F@main2.marlow.com> Function fDatabaseConnection(CurrCnn As ADODB.Connection, UserName As String, PassWord As String) Set CurrCnn = New ADODB.Connection With CurrCnn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Jet OLEDB:System database").Value = "T:\AccessDB\ISReq\Marlow1.mdw" .Open "T:\AccessDB\ISReq\ISReqBE.mdb", UserName, PassWord End With End Function To use the function above, here's an example: Dim cnn as ADODB.Connection Dim rs as ADODB.Recordset Dim strSQL as String fDatabaseConnection cnn,"UserName","Password" Set rs=new ADODB.recordset strSQL="Select * From tblData;" rs.open strSQL,cnn,adOpenKeyset,adLockReadOnly if rs.EOF=false then rs.MoveFirst Do until rs.EOF=True 'Do something rs.MoveNext Loop rs.Close Set rs=nothing cnn.Close set cnn=Nothing Just a little sample code. I know this code uses ADO, which is the default in A2k, but in A97, DAO is default. DAO is the native language for Jet databases, but I find that ADO is FAR more flexible. I can write code for connecting to an Access database, and later on, if I change the data source, I just have to modify the connection routine. Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 6:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Thanks, Drew Well, either linking or grabbing the data - makes little difference to me. I'm planning to secure the new db, in case that complicates your first scenario any. Don't really like the idea of enabling the Admin account if I can avoid it. Can you point me in the direction of establishing a connection via code? Been studying the help(less) and don't see an example for what I'm aimed at. Thanks! Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 3:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Okay, and you just want to retrieve data from it? Do you want a linked table, or not? If you have a table, that you want to allow access to, you should be able to set read permissions on a table, for the Admin account, which is the 'default' account used for unsecure databases. You'll have to give the admin account permissions to open the database too. If you don't want to go that route, with linking a table, you could just use ADO/DAO code, to connect to the db using the appropriate .mdw file, to retrieve the data (the unbound method)! grin. Of course this would put the account and password in the source, so you would probably want to restrict access to the source (.mde). Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 19 10:59:25 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 10:59:25 -0500 Subject: [AccessD] Restore Box Message-ID: <2F8793082E00D4119A1700B0D0216BF802227210@main2.marlow.com> You could 'round' the form, so it's just not visible! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 7:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Oops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Fri Sep 19 11:02:41 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 19 Sep 2003 18:02:41 +0200 Subject: [AccessD] Screen position of mouse. Message-ID: Yess, done, works great... Need to add some code to check if mouse is in lower right corner to offset the form... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps Sent: Friday, September 19, 2003 5:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Screen position of mouse. Yep this does work. I already found the solution with the formInfo class that included in ' From Access 2002 Desktop Developer's Handbook ' by Litwin, Getz, and Gunderloy (Sybex) ' Copyright 2001. All rights reserved. That uses pixels to. I'm adding some code to this class to PositionToMouseCursor...cause i use this FormInfo all the time. Thx... That's another beer or three at my expenses... That brings the total at 379 beers (or other, same priced, beverages) Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Friday, September 19, 2003 4:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Screen position of mouse. Unless... You use the MoveWindow API call to reposition your form. Here is the code in it's entirety: Private Declare Function MoveWindow Lib "user32" Alias "MoveWindow" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long Private Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long Private Declare Function GetCursorPos Lib "user32" Alias "GetCursorPos" (lpPoint As POINTAPI) As Long Private Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Private Type POINTAPI x As Long y As Long End Type Public Sub RepositionForm(frm As Form) Dim typPA As POINTAPI Dim typRect AS RECT 'Determine current window dimensions GetWindowRect frm.hwnd, typRect 'Determine mouse cursor position GetCursorPos typPA 'Reposition form to match mouse cursor MoveWindow frm.hwnd, typPA.x, typPA.y, (typRect.Right - typRect.Left), (typRect.Bottom - typRect.Top), 1 End Sub Easy, done... I am using code almost identical to this for a custom popup menu I created. -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, September 19, 2003 8:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Screen position of mouse. On 19 Sep 2003 at 14:58, Erwin Craps wrote: > I can't find how to know the postition of the mouse on the screen. > > I have a pop-up form I want to pop-up at the same place as where the > mouse cursor is at that time. So I want to put put the code in the > on_open event of the pop-up form in question > > lngMouseLeft = ???.Left > lngMouseTop = ???.Top > > me.move lngMouseLeft, lngMouseTop > It gets quite tricky. You can find the current mouse position in pixels easily enough: In a module: Type POINTAPI x As Long y As Long End Type Declare Function GetCursorPos Lib "USER32.DLL" (lpPoint As POINTAPI) As Long In your event: Dim mptr As POINTAPI Dim result As Long result = GetCursorPos(mptr) Msgbox "Mouse is at Screen position " & mptr.x & " : " & mptr.y & " in pixels" However, that doesn't really help. Forms are positioned in twips relative to their parent (usually the main application window). You need to get a handle to the parent window using the GetActiveWindow() and GetWindow() API calls then get the location of that window using GetWindowPlacement. Then you need to convert these pixel figures to twips and use Docmd.MoveSize to place the from at an appropriate position within it's parent. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ -------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Sep 19 11:05:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 11:05:24 -0500 Subject: [AccessD] Date issues in Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227211@main2.marlow.com> Connie, you really need to ignore date formatting when you are in code. A date is actually a double variable (the whole part is the day (since Dec.30, 1899 (maybe Dec. 31st, I'm a little groggy this morning! )), and the decimal is the fraction of the day (.0 is midnight, .5 is noon, etc.)). There are two functions, DateSerial and TimeSerial, which have the order of the arguments constant no matter what region of the world you are in. So, when making a date variable, you should set the variable with DateSerial, which asks for a year, month and day. You now have a date variable representing the date you want, and you can display it any way you wish, but to Access/VBA, it is the date you set, no matter what the format. Drew -----Original Message----- From: connie.kamrowski at agric.nsw.gov.au [mailto:connie.kamrowski at agric.nsw.gov.au] Sent: Thursday, September 18, 2003 10:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date issues in Access That works for display of the data but it is still returning incorrect results from the formula because the date is passed incorrectly if it is before the 12th of the month Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange Ph: 02 6391 3250 Fax:02 6391 3290 |---------+------------------------------------> | | "Stuart McLachlan" | | | | | | Sent by: | | | accessd-bounces at databasea| | | dvisors.com | | | | | | | | | 19/09/03 11:42 AM | | | Please respond to Access | | | Developers discussion and| | | problem solving | | | | |---------+------------------------------------> >--------------------------------------------------------------------------- -----------------------------------| | | | To: Access Developers discussion and problem solving | | cc: | | Subject: Re: [AccessD] Date issues in Access | >--------------------------------------------------------------------------- -----------------------------------| Use Format$(mydate,"dd/mm/yy") in your messagebox. On 19 Sep 2003 at 11:03, connie.kamrowski at agric.nsw.go wrote: > Hi Everyone, > > I am a newbie to thsi list but am at my wits end. > I have a problem with Dates in Access. It is happening in two seperate > applications. > I am in Australia and need to have the Date format as dd/mm/yy. > > When a date is entered into a field it is displayed correctly ie. 06/08/02 > > when it is returned to me via a msgBox popup for troubleshooting it is > displayed as 08/06/02 (US Format). > when the date is after the 12th of the month it is all working fine. It > only reverts to US format if the date is before the 12th. > I am in Australia and need to have the Date format as dd/mm/yy. > > Thanks > Connie Kamrowski > Analyst/Programmer > > > > This message is intended for the addressee named and may contain > confidential information. If you are not the intended recipient or > received it in error, please delete the message and notify sender. Views > expressed are those of the individual sender and are not necessarily the > views of their organisation. -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Sep 19 11:07:44 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2003 18:07:44 +0200 Subject: [AccessD] Stupid DateTime/Calendar Picker Question In-Reply-To: <20030919154723.43070.qmail@web13401.mail.yahoo.com> References: <20030919154723.43070.qmail@web13401.mail.yahoo.com> Message-ID: <5433332339.20030919180744@cactus.dk> Hi Frank Try wrapping these in CDate(): datDateTimeStart = CDate([start_date] & " " & [start_time]) datDateTimeStop = CDate([end_date] & " " & [end_time]) Then, use Format to display your date-time values. /gustav > Ok....Here's the scenario. I have a report that I > need to run. It has a start date and time and a stop > date and time, obviously. The back-end database has > the start and end times in DateTime format, I cannot > deviate from this format in the backend. > I have a calendar picker to select start date and one > to select stop date. I have a time picker to select > the start time and stop time. I have four text boxes > that take the resultant dates and times from the > ActiveX controls, so I can use them. From there I > have two text boxes that convert them to pseudo > DateTime start and stop times thusly "=[start_date] & > " " & [start_time]" and "=[end_date] & " " & > [end_time]". The resultant formats LOOK correctly > formatted for the DateTime field. I.e. they look like > 9/19/2003 5:00:00 AM. HOWEVER they don't seem to work > properly against the ACTUAL DateTime fields in my > back-end database when I use a Between statement. From cfoust at infostatsystems.com Fri Sep 19 11:14:49 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Sep 2003 09:14:49 -0700 Subject: [AccessD] October Issue of Inside Access Message-ID: LOL. She's just resting on her laurels after taking over virtually the entire previous issue! The effort just wore her out. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] October Issue of Inside Access Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark -------------- next part -------------- An HTML attachment was scrubbed... URL: From Erwin.Craps at ithelps.be Fri Sep 19 11:30:51 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Fri, 19 Sep 2003 18:30:51 +0200 Subject: [AccessD] October Issue of Inside Access Message-ID: Is this a magazine? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 19, 2003 6:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] October Issue of Inside Access LOL. She's just resting on her laurels after taking over virtually the entire previous issue! The effort just wore her out. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] October Issue of Inside Access Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Fri Sep 19 11:29:11 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 12:29:11 -0400 Subject: [AccessD] October Issue of Inside Access References: Message-ID: <020301c37ecc$48b3b1b0$220110ac@SUSANONE> Always glad to help out. ;) Susan H. I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Fri Sep 19 11:29:47 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 12:29:47 -0400 Subject: [AccessD] October Issue of Inside Access References: Message-ID: <020401c37ecc$4c3425e0$220110ac@SUSANONE> MessageWhen editors go on vacation, I go to work! ;) Susan H. LOL. She's just resting on her laurels after taking over virtually the entire previous issue! The effort just wore her out. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Fri Sep 19 11:38:45 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Sep 2003 09:38:45 -0700 Subject: [AccessD] October Issue of Inside Access Message-ID: Inside Microsoft Access. It's published by ElementK. Susan is a "fairly frequent" contributor. Charlotte Foust -----Original Message----- From: Erwin Craps [mailto:Erwin.Craps at ithelps.be] Sent: Friday, September 19, 2003 8:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] October Issue of Inside Access Is this a magazine? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 19, 2003 6:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] October Issue of Inside Access LOL. She's just resting on her laurels after taking over virtually the entire previous issue! The effort just wore her out. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] October Issue of Inside Access Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Fri Sep 19 11:39:20 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 12:39:20 -0400 Subject: [AccessD] October Issue of Inside Access References: Message-ID: <022301c37ecc$9b70b970$220110ac@SUSANONE> BerichtInside Microsoft Access is one of ElementK's monthly journals -- they have several, but IMA is strictly on Access. Originally, it was published by The Cobb Group (which I worked for here in Louisville), but the company moved, was purchased, was purchased, was purchased... now they're part of ElementK. Susan H. Is this a magazine? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, September 19, 2003 6:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] October Issue of Inside Access LOL. She's just resting on her laurels after taking over virtually the entire previous issue! The effort just wore her out. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 7:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] October Issue of Inside Access Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From pctech at mybellybutton.com Fri Sep 19 11:44:17 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Fri, 19 Sep 2003 09:44:17 -0700 (PDT) Subject: [AccessD] Stupid DateTime/Calendar Picker Question In-Reply-To: <5433332339.20030919180744@cactus.dk> Message-ID: <20030919164417.24454.qmail@web13402.mail.yahoo.com> That worked. Thank you very much for your assistance to my dumb question. --- Gustav Brock wrote: > Hi Frank > > Try wrapping these in CDate(): > > datDateTimeStart = CDate([start_date] & " " & > [start_time]) > datDateTimeStop = CDate([end_date] & " " & > [end_time]) > > Then, use Format to display your date-time values. > > /gustav > > > > Ok....Here's the scenario. I have a report that I > > need to run. It has a start date and time and a > stop > > date and time, obviously. The back-end database > has > > the start and end times in DateTime format, I > cannot > > deviate from this format in the backend. > > > I have a calendar picker to select start date and > one > > to select stop date. I have a time picker to > select > > the start time and stop time. I have four text > boxes > > that take the resultant dates and times from the > > ActiveX controls, so I can use them. From there I > > have two text boxes that convert them to pseudo > > DateTime start and stop times thusly > "=[start_date] & > > " " & [start_time]" and "=[end_date] & " " & > > [end_time]". The resultant formats LOOK correctly > > formatted for the DateTime field. I.e. they look > like > > 9/19/2003 5:00:00 AM. HOWEVER they don't seem to > work > > properly against the ACTUAL DateTime fields in my > > back-end database when I use a Between statement. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 19 11:50:43 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 11:50:43 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227216@main2.marlow.com> Thanks again Susan (for letting me co-author some with you!), even though I'm #19 Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 10:42 AM To: accessd at databaseadvisors.com Subject: [AccessD] October Issue of Inside Access Our secretary just brought me my newest issue of Inside Access, and I was shocked to find that there is an article without Susan's name in the byline! I of course am just playin' around. It actually made me look good, when my boss brought this back to me, a couple of months ago...he just bought it and gave it to me...and I started thumbing through it mentioning the names that I knew (i.e. Susan, Martin, Drew, etc.). He said, "You know these people?" And I got to fill him in about this group, which he had thought was a waste of time. Take care...lunch ride just got here! John W Clark -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 19 11:51:11 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2003 18:51:11 +0200 Subject: =?ISO-8859-1?B?UmU6IFtBY2Nlc3NEXSAgSW50ZXJTeXN0ZW1zIENhY2jpIGRhdGFiYXNl?= =?ISO-8859-1?B?IGVuZ2luZQ==?= In-Reply-To: <12527308797.20030916161716@cactus.dk> References: <22F1CCD5171D17419CB37FEEE09D5F990173F551@TTNEXCHSRV1.hshhp.com> <12527308797.20030916161716@cactus.dk> Message-ID: <6735939398.20030919185111@cactus.dk> Hi Jim >>> I've played with Cache a bit on its own (no Access or VB FE). I >>> found it interesting because it's an object oriented DBMS as >>> opposed to relational (you can use SQL with joins etc). If you >>> follow their tutorial you'll see how very easy it is to get a web >>> based app together. .. >>> Jim DeMarco Does this mean that you can handle it pretty much like, say, DAO or ADO? Like: Dim dbs As InterSystemsDb (?) Dim rst As Recordset Set dbs = IDB.OpenDatabase() Set rst = dbs.OpenRecordset() ... ? /gustav From gustav at cactus.dk Fri Sep 19 11:59:56 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2003 18:59:56 +0200 Subject: [AccessD] Stupid DateTime/Calendar Picker Question In-Reply-To: <20030919164417.24454.qmail@web13402.mail.yahoo.com> References: <20030919164417.24454.qmail@web13402.mail.yahoo.com> Message-ID: <4736464963.20030919185956@cactus.dk> Hi Frank You're welcome. But please don't call your question dumb - if no questions, our list wouldn't be nothing more than a promotional arena for our famous Susan Harkins! Hey Susan, it's Friday! /gustav > That worked. Thank you very much for your assistance > to my dumb question. From ssharkins at bellsouth.net Fri Sep 19 12:11:23 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 13:11:23 -0400 Subject: [AccessD] October Issue of Inside Access References: <2F8793082E00D4119A1700B0D0216BF802227216@main2.marlow.com> Message-ID: <002901c37ed1$2b672330$220110ac@SUSANONE> Hey, 19 is one of my lucky numbers! :) Susan H. Thanks again Susan (for letting me co-author some with you!), even though I'm #19 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Fri Sep 19 12:12:09 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 13:12:09 -0400 Subject: [AccessD] Stupid DateTime/Calendar Picker Question References: <20030919164417.24454.qmail@web13402.mail.yahoo.com> <4736464963.20030919185956@cactus.dk> Message-ID: <002e01c37ed1$2ef10d40$220110ac@SUSANONE> I'm available... :) Promote me all you like! ;) Never, ever said I was shy! ;) Susan H. > Hi Frank > > You're welcome. > > But please don't call your question dumb - if no questions, our list > wouldn't be nothing more than a promotional arena for our famous Susan > Harkins! > > Hey Susan, it's Friday! From Lambert.Heenan at AIG.com Fri Sep 19 12:16:01 2003 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 19 Sep 2003 13:16:01 -0400 Subject: [AccessD] Stupid DateTime/Calendar Picker Question Message-ID: <8B98F8EA48F8BA47A2F24E0D0AF40CF407AD7750@xlivmbx12.aig.com> Frank, You've got your solution already, but you might like to know the cause of the probelm. It's because the time string returned by the time picker is including the AM/PM indicator. Cdate() gets rid of that, and then the query for the report will find its data. Lambert > -----Original Message----- > From: Frank Tanner III [SMTP:pctech at mybellybutton.com] > Sent: Friday, September 19, 2003 11:47 AM > To: Database Advisors > Subject: [AccessD] Stupid DateTime/Calendar Picker Question > > Ok....Here's the scenario. I have a report that I > need to run. It has a start date and time and a stop > date and time, obviously. The back-end database has > the start and end times in DateTime format, I cannot > deviate from this format in the backend. > > I have a calendar picker to select start date and one > to select stop date. I have a time picker to select > the start time and stop time. I have four text boxes > that take the resultant dates and times from the > ActiveX controls, so I can use them. From there I > have two text boxes that convert them to pseudo > DateTime start and stop times thusly "=[start_date] & > " " & [start_time]" and "=[end_date] & " " & > [end_time]". The resultant formats LOOK correctly > formatted for the DateTime field. I.e. they look like > 9/19/2003 5:00:00 AM. HOWEVER they don't seem to work > properly against the ACTUAL DateTime fields in my > back-end database when I use a Between statement. > > What am I doing wrong? Thank you in advance for your assistance. > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Sep 19 12:19:30 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 10:19:30 -0700 Subject: [AccessD] Eliminate Tool Bar Message-ID: <015b01c37ed2$2fcad600$6601a8c0@HAL9002> Dear List: I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form open event. But it leaves this blank gray bar across the top of the screen between the blue application title bar and the blue form title bar. Is there a way to get rid of that entirely? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Fri Sep 19 12:19:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 19 Sep 2003 13:19:26 -0400 Subject: =?iso-8859-1?Q?RE=3A_=5BAccessD=5D__InterSystems_Cach=E9_database_engine?= Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5A3@TTNEXCHSRV1.hshhp.com> Yes but it has it's own object library with Connect methods, etc. It uses ResultSets in place of recordsets and it looks like you use them in the same manner. Check out this link from their on-line documentation to see VB code calling on a Cache object to get data (watch for wrapping): http://platinum.intersystems.com/csp/docbook/DocBook.UI.Page.cls?KEY=gax_appparts Jim DeMarco -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, September 19, 2003 12:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] InterSystems Cach? database engine Hi Jim >>> I've played with Cache a bit on its own (no Access or VB FE). I >>> found it interesting because it's an object oriented DBMS as >>> opposed to relational (you can use SQL with joins etc). If you >>> follow their tutorial you'll see how very easy it is to get a web >>> based app together. .. >>> Jim DeMarco Does this mean that you can handle it pretty much like, say, DAO or ADO? Like: Dim dbs As InterSystemsDb (?) Dim rst As Recordset Set dbs = IDB.OpenDatabase() Set rst = dbs.OpenRecordset() ... ? /gustav _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From John.Clark at niagaracounty.com Fri Sep 19 12:18:47 2003 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 19 Sep 2003 13:18:47 -0400 Subject: [AccessD] October Issue of Inside Access Message-ID: There you have it drew...your new line can be, "Hello, I'm Drew...wanna get lucky?!" >>> ssharkins at bellsouth.net 09/19/03 01:11PM >>> Hey, 19 is one of my lucky numbers! :) Susan H. Thanks again Susan (for letting me co-author some with you!), even though I'm #19 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Sep 19 12:30:15 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 12:30:15 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227217@main2.marlow.com> I didn't know if Susan meant that I'm lucky, I will have good luck, or I was just going to get lucky! Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Friday, September 19, 2003 12:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] October Issue of Inside Access There you have it drew...your new line can be, "Hello, I'm Drew...wanna get lucky?!" >>> ssharkins at bellsouth.net 09/19/03 01:11PM >>> Hey, 19 is one of my lucky numbers! :) Susan H. Thanks again Susan (for letting me co-author some with you!), even though I'm #19 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ssharkins at bellsouth.net Fri Sep 19 12:37:32 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 19 Sep 2003 13:37:32 -0400 Subject: [AccessD] October Issue of Inside Access References: <2F8793082E00D4119A1700B0D0216BF802227217@main2.marlow.com> Message-ID: <002301c37ed4$b9cecc10$220110ac@SUSANONE> I'm not touching this one... I may be a tad psychic, but you're on your own with this one! ;) Susan H. I didn't know if Susan meant that I'm lucky, I will have good luck, or I was just going to get lucky! -------------- next part -------------- An HTML attachment was scrubbed... URL: From donald.a.Mcgillivray at mail.sprint.com Fri Sep 19 12:42:34 2003 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 19 Sep 2003 12:42:34 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <6FC1C7A6E7BD5540AB0A8436713C43BF0421110B@PKDWB01C.ad.sprint.com> Thanks, Drew! That's gonna get me there. Thanks, too, to all the others who responded to my post. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, September 19, 2003 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Function fDatabaseConnection(CurrCnn As ADODB.Connection, UserName As String, PassWord As String) Set CurrCnn = New ADODB.Connection With CurrCnn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Jet OLEDB:System database").Value = "T:\AccessDB\ISReq\Marlow1.mdw" .Open "T:\AccessDB\ISReq\ISReqBE.mdb", UserName, PassWord End With End Function To use the function above, here's an example: Dim cnn as ADODB.Connection Dim rs as ADODB.Recordset Dim strSQL as String fDatabaseConnection cnn,"UserName","Password" Set rs=new ADODB.recordset strSQL="Select * From tblData;" rs.open strSQL,cnn,adOpenKeyset,adLockReadOnly if rs.EOF=false then rs.MoveFirst Do until rs.EOF=True 'Do something rs.MoveNext Loop rs.Close Set rs=nothing cnn.Close set cnn=Nothing Just a little sample code. I know this code uses ADO, which is the default in A2k, but in A97, DAO is default. DAO is the native language for Jet databases, but I find that ADO is FAR more flexible. I can write code for connecting to an Access database, and later on, if I change the data source, I just have to modify the connection routine. Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 6:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Thanks, Drew Well, either linking or grabbing the data - makes little difference to me. I'm planning to secure the new db, in case that complicates your first scenario any. Don't really like the idea of enabling the Admin account if I can avoid it. Can you point me in the direction of establishing a connection via code? Been studying the help(less) and don't see an example for what I'm aimed at. Thanks! Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 3:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Okay, and you just want to retrieve data from it? Do you want a linked table, or not? If you have a table, that you want to allow access to, you should be able to set read permissions on a table, for the Admin account, which is the 'default' account used for unsecure databases. You'll have to give the admin account permissions to open the database too. If you don't want to go that route, with linking a table, you could just use ADO/DAO code, to connect to the db using the appropriate .mdw file, to retrieve the data (the unbound method)! grin. Of course this would put the account and password in the source, so you would probably want to restrict access to the source (.mde). Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 19 13:01:51 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 13:01:51 -0500 Subject: [AccessD] Retrieving data from a secured remote db Message-ID: <2F8793082E00D4119A1700B0D0216BF802227218@main2.marlow.com> Glad to help! Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Friday, September 19, 2003 12:43 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Thanks, Drew! That's gonna get me there. Thanks, too, to all the others who responded to my post. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, September 19, 2003 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Function fDatabaseConnection(CurrCnn As ADODB.Connection, UserName As String, PassWord As String) Set CurrCnn = New ADODB.Connection With CurrCnn .Provider = "Microsoft.Jet.OLEDB.4.0" .Properties("Jet OLEDB:System database").Value = "T:\AccessDB\ISReq\Marlow1.mdw" .Open "T:\AccessDB\ISReq\ISReqBE.mdb", UserName, PassWord End With End Function To use the function above, here's an example: Dim cnn as ADODB.Connection Dim rs as ADODB.Recordset Dim strSQL as String fDatabaseConnection cnn,"UserName","Password" Set rs=new ADODB.recordset strSQL="Select * From tblData;" rs.open strSQL,cnn,adOpenKeyset,adLockReadOnly if rs.EOF=false then rs.MoveFirst Do until rs.EOF=True 'Do something rs.MoveNext Loop rs.Close Set rs=nothing cnn.Close set cnn=Nothing Just a little sample code. I know this code uses ADO, which is the default in A2k, but in A97, DAO is default. DAO is the native language for Jet databases, but I find that ADO is FAR more flexible. I can write code for connecting to an Access database, and later on, if I change the data source, I just have to modify the connection routine. Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 6:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Thanks, Drew Well, either linking or grabbing the data - makes little difference to me. I'm planning to secure the new db, in case that complicates your first scenario any. Don't really like the idea of enabling the Admin account if I can avoid it. Can you point me in the direction of establishing a connection via code? Been studying the help(less) and don't see an example for what I'm aimed at. Thanks! Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 3:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db Okay, and you just want to retrieve data from it? Do you want a linked table, or not? If you have a table, that you want to allow access to, you should be able to set read permissions on a table, for the Admin account, which is the 'default' account used for unsecure databases. You'll have to give the admin account permissions to open the database too. If you don't want to go that route, with linking a table, you could just use ADO/DAO code, to connect to the db using the appropriate .mdw file, to retrieve the data (the unbound method)! grin. Of course this would put the account and password in the source, so you would probably want to restrict access to the source (.mde). Drew -----Original Message----- From: Mcgillivray, Donald [ITS] [mailto:donald.a.Mcgillivray at mail.sprint.com] Sent: Thursday, September 18, 2003 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Retrieving data from a secured remote db Drew, It's just an .mdb on a network drive. Don -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Thursday, September 18, 2003 2:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Retrieving data from a secured remote db What exactly do you mean by remote? Are we talking about an .mdb on a network drive, or are we talking about an .mdb somewhere on the internet? Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Sep 19 13:02:22 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 13:02:22 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227219@main2.marlow.com> Aren't you supposed to touch something that's lucky though? Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 19, 2003 12:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] October Issue of Inside Access I'm not touching this one... I may be a tad psychic, but you're on your own with this one! ;) Susan H. I didn't know if Susan meant that I'm lucky, I will have good luck, or I was just going to get lucky! -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 19 13:03:45 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2003 20:03:45 +0200 Subject: =?ISO-8859-1?B?UmU6IFtBY2Nlc3NEXSAgSW50ZXJTeXN0ZW1zIENhY2jpIGRhdGFiYXNl?= =?ISO-8859-1?B?IGVuZ2luZQ==?= In-Reply-To: <22F1CCD5171D17419CB37FEEE09D5F990173F5A3@TTNEXCHSRV1.hshhp.com> References: <22F1CCD5171D17419CB37FEEE09D5F990173F5A3@TTNEXCHSRV1.hshhp.com> Message-ID: <9040294139.20030919200345@cactus.dk> Thanks Jim! /gustav > Yes but it has it's own object library with Connect methods, etc. It uses ResultSets in place of recordsets and it looks like you use them in the same manner. Check out this link from their > on-line documentation to see VB code calling on a Cache object to get data (watch for wrapping): > http://platinum.intersystems.com/csp/docbook/DocBook.UI.Page.cls?KEY=gax_appparts >>>> I've played with Cache a bit on its own (no Access or VB FE). I >>>> found it interesting because it's an object oriented DBMS as >>>> opposed to relational (you can use SQL with joins etc). If you >>>> follow their tutorial you'll see how very easy it is to get a web >>>> based app together. .. >>>> Jim DeMarco > Does this mean that you can handle it pretty much like, say, DAO or > ADO? > Like: > Dim dbs As InterSystemsDb (?) > Dim rst As Recordset > Set dbs = IDB.OpenDatabase() > Set rst = dbs.OpenRecordset() > ... > ? From cfoust at infostatsystems.com Fri Sep 19 13:10:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Sep 2003 11:10:01 -0700 Subject: [AccessD] October Issue of Inside Access Message-ID: No, that's only if they're a chimney sweep, Drew. Stop pressing your luck! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, September 19, 2003 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Aren't you supposed to touch something that's lucky though? Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 19, 2003 12:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] October Issue of Inside Access I'm not touching this one... I may be a tad psychic, but you're on your own with this one! ;) Susan H. I didn't know if Susan meant that I'm lucky, I will have good luck, or I was just going to get lucky! -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Sep 19 13:18:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 19 Sep 2003 14:18:01 -0400 Subject: [AccessD] OT: Drivers for WPC11 In-Reply-To: <009e01c37ebd$cce033f0$6601a8c0@laptop> Message-ID: For whatever reason, my dev machine gives me "page not found" when I try to do the download of the files there. I finally tried the exact same thing on my wife's machine and they downloaded fine. Grrrrrr. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 http://www.linksys.com/download/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 18, 2003 8:37 PM To: AccessD Subject: [AccessD] OT: Drivers for WPC11 Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Sep 19 13:44:02 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 19 Sep 2003 12:44:02 -0600 Subject: [AccessD] Eliminate Tool Bar Message-ID: <173520-22003951918442130@christopherhawkins.com> Sure! Just run this line of code someplace in your app's startup: Application.CommandBars("Menu Bar").Enabled = False -Christopher- ---- Original Message ---- From: bchacc at san.rr.com To: AccessD at databaseadvisors.com, Subject: RE: [AccessD] Eliminate Tool Bar Date: Fri, 19 Sep 2003 10:19:30 -0700 >Dear List: > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form >open event. But it leaves this blank gray bar across the top of the >screen between the blue application title bar and the blue form >title bar. > >Is there a way to get rid of that entirely? > >MTIA, > >Rocky Smolin >Beach Access Software > From DWUTKA at marlow.com Fri Sep 19 14:19:26 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 14:19:26 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF80222721D@main2.marlow.com> Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, September 19, 2003 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] October Issue of Inside Access No, that's only if they're a chimney sweep, Drew. Stop pressing your luck! Charlotte Foust -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Friday, September 19, 2003 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Aren't you supposed to touch something that's lucky though? Drew -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, September 19, 2003 12:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] October Issue of Inside Access I'm not touching this one... I may be a tad psychic, but you're on your own with this one! ;) Susan H. I didn't know if Susan meant that I'm lucky, I will have good luck, or I was just going to get lucky! -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Fri Sep 19 14:34:24 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 12:34:24 -0700 Subject: [AccessD] Eliminate Tool Bar References: <173520-22003951918442130@christopherhawkins.com> Message-ID: <024d01c37ee5$084dc1b0$6601a8c0@HAL9002> That gets rid of the Menu Bar but not the Tool Bar. Is there a command for that? T&R Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, September 19, 2003 11:44 AM Subject: RE: [AccessD] Eliminate Tool Bar > Sure! Just run this line of code someplace in your app's startup: > > Application.CommandBars("Menu Bar").Enabled = False > > > -Christopher- > > ---- Original Message ---- > From: bchacc at san.rr.com > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] Eliminate Tool Bar > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > >Dear List: > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > >open event. But it leaves this blank gray bar across the top of the > >screen between the blue application title bar and the blue form > >title bar. > > > >Is there a way to get rid of that entirely? > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hshhp.org Fri Sep 19 14:43:09 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 19 Sep 2003 15:43:09 -0400 Subject: [AccessD] Eliminate Tool Bar Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5AD@TTNEXCHSRV1.hshhp.com> I think if you replace "Menu Bar" with your toolbar name you should see a result (or not, get it?). Jim DeMarco -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, September 19, 2003 3:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eliminate Tool Bar That gets rid of the Menu Bar but not the Tool Bar. Is there a command for that? T&R Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, September 19, 2003 11:44 AM Subject: RE: [AccessD] Eliminate Tool Bar > Sure! Just run this line of code someplace in your app's startup: > > Application.CommandBars("Menu Bar").Enabled = False > > > -Christopher- > > ---- Original Message ---- > From: bchacc at san.rr.com > To: AccessD at databaseadvisors.com, > Subject: RE: [AccessD] Eliminate Tool Bar > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > >Dear List: > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > >open event. But it leaves this blank gray bar across the top of the > >screen between the blue application title bar and the blue form > >title bar. > > > >Is there a way to get rid of that entirely? > > > >MTIA, > > > >Rocky Smolin > >Beach Access Software > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From garykjos at hotmail.com Fri Sep 19 15:03:40 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Fri, 19 Sep 2003 15:03:40 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: You smooth talker. Gary Kjos garykjos at hotmail.com >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] October Issue of Inside Access >Date: Fri, 19 Sep 2003 14:19:26 -0500 > >Arrr Matey! I wodn't wanna press my luck with such a fine lass! >(Typed to stay in the International Talk Like A Pirate Day spirit!) > >Drew > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Friday, September 19, 2003 1:10 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] October Issue of Inside Access > > >No, that's only if they're a chimney sweep, Drew. Stop pressing your luck! > > >Charlotte Foust > >-----Original Message----- >From: Drew Wutka [mailto:DWUTKA at marlow.com] >Sent: Friday, September 19, 2003 10:02 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] October Issue of Inside Access > > >Aren't you supposed to touch something that's lucky though? > >Drew > >-----Original Message----- >From: Susan Harkins [mailto:ssharkins at bellsouth.net] >Sent: Friday, September 19, 2003 12:38 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] October Issue of Inside Access > > >I'm not touching this one... I may be a tad psychic, but you're on your own >with this one! ;) > >Susan H. > >I didn't know if Susan meant that I'm lucky, I will have good luck, or I >was >just going to get lucky! > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get 10MB of e-mail storage! Sign up for Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es From andy at minstersystems.co.uk Fri Sep 19 15:08:42 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 19 Sep 2003 21:08:42 +0100 Subject: [AccessD] Restore Box In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227210@main2.marlow.com> Message-ID: <011f01c37ee9$d2f0c4e0$b274d0d5@minster33c3r25> Try http://www.mvps.org/access/api/api0022.htm for code to kind of maximize without maximizing, if you see waht I mena. that way you can get rid of the Close, Min, max etc 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: 19 September 2003 16:59 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Restore Box You could 'round' the form, so it's just not visible! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 7:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Oops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From DMcAfee at haascnc.com Fri Sep 19 15:13:38 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Fri, 19 Sep 2003 13:13:38 -0700 Subject: [AccessD] October Issue of Inside Access Message-ID: <657FB70438B7D311AF320090279C1801026D7BC7@EXCHMAIL> Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From rusty.hammond at cpiqpc.com Fri Sep 19 15:32:10 2003 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 19 Sep 2003 15:32:10 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <8301C8A868251E4C8ECD3D4FFEA40F8A03305F6A@cpixchng-1.cpiqpc.net> What's a pirates favorite pizza? peppaaaarrrrroni -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Friday, September 19, 2003 3:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From tsm at zoomtown.com Fri Sep 19 15:34:02 2003 From: tsm at zoomtown.com (Scott Marcus) Date: Fri, 19 Sep 2003 16:34:02 -0400 Subject: [AccessD] OT: Drivers for WPC11 In-Reply-To: Message-ID: <010001c37eed$5cfcb4c0$6601a8c0@laptop> LOL...It's because you need the drivers installed to view the page. It is a catch 22. Scott -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 19, 2003 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Drivers for WPC11 For whatever reason, my dev machine gives me "page not found" when I try to do the download of the files there. I finally tried the exact same thing on my wife's machine and they downloaded fine. Grrrrrr. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 http://www.linksys.com/download/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 18, 2003 8:37 PM To: AccessD Subject: [AccessD] OT: Drivers for WPC11 Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Sep 19 15:39:28 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 15:39:28 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF80222721F@main2.marlow.com> Arrr! Drew -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Friday, September 19, 2003 3:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From BBarabash at TappeConstruction.com Fri Sep 19 16:11:17 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 19 Sep 2003 16:11:17 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C93A@TAPPEEXCH01> How much does a pirate pay for corn? A buccaneer -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Friday, September 19, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] October Issue of Inside Access What's a pirates favorite pizza? peppaaaarrrrroni -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Friday, September 19, 2003 3:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Fri Sep 19 16:16:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 14:16:00 -0700 Subject: [AccessD] Restore Box References: <011f01c37ee9$d2f0c4e0$b274d0d5@minster33c3r25> Message-ID: <02c101c37ef3$39ae9000$6601a8c0@HAL9002> MessageAndy: Thanks. Actually Jim Dettman beat you to it. But it works like a charm. Now the last problem maybe you know an answer - I make the tool bar go away (Me.MenuBar = "=1")but it leaves a blank gray box between the blue app title bar and the form title bar. Do you know how to get rid if it? Thanks and regards, Rocky ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Friday, September 19, 2003 1:08 PM Subject: RE: [AccessD] Restore Box Try http://www.mvps.org/access/api/api0022.htm for code to kind of maximize without maximizing, if you see waht I mena. that way you can get rid of the Close, Min, max etc 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: 19 September 2003 16:59 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Restore Box You could 'round' the form, so it's just not visible! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 7:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Oops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Fri Sep 19 16:18:18 2003 From: john at winhaven.net (John B.) Date: Fri, 19 Sep 2003 16:18:18 -0500 Subject: [AccessD] OT: Friday humor Message-ID: Click here (needs sound): http://www.starterupsteve.com/swf/chowmein.html From bchacc at san.rr.com Fri Sep 19 16:21:47 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 14:21:47 -0700 Subject: [AccessD] Eliminate Tool Bar References: <22F1CCD5171D17419CB37FEEE09D5F990173F5AD@TTNEXCHSRV1.hshhp.com> Message-ID: <030201c37ef4$08ca1fd0$6601a8c0@HAL9002> Do you know offhand what's the name of the default toolbar? Regards, Rocky ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, September 19, 2003 12:43 PM Subject: RE: [AccessD] Eliminate Tool Bar > I think if you replace "Menu Bar" with your toolbar name you should see a result (or not, get it?). > > Jim DeMarco > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, September 19, 2003 3:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eliminate Tool Bar > > > That gets rid of the Menu Bar but not the Tool Bar. Is there a command for > that? > > T&R > > Rocky > > ----- Original Message ----- > From: "Christopher Hawkins" > To: > Sent: Friday, September 19, 2003 11:44 AM > Subject: RE: [AccessD] Eliminate Tool Bar > > > > Sure! Just run this line of code someplace in your app's startup: > > > > Application.CommandBars("Menu Bar").Enabled = False > > > > > > -Christopher- > > > > ---- Original Message ---- > > From: bchacc at san.rr.com > > To: AccessD at databaseadvisors.com, > > Subject: RE: [AccessD] Eliminate Tool Bar > > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > > > >Dear List: > > > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > > >open event. But it leaves this blank gray bar across the top of the > > >screen between the blue application title bar and the blue form > > >title bar. > > > > > >Is there a way to get rid of that entirely? > > > > > >MTIA, > > > > > >Rocky Smolin > > >Beach Access Software > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Sep 19 16:23:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 14:23:26 -0700 Subject: [AccessD] October Issue of Inside Access References: <657FB70438B7D311AF320090279C1801026D7BC7@EXCHMAIL> Message-ID: <034201c37ef4$435c5370$6601a8c0@HAL9002> MessageWhat the rating on that new pirate movie? Wait for it...... Arrrrr..... Of course. Rocky ----- Original Message ----- From: David McAfee To: 'Access Developers discussion and problem solving' Sent: Friday, September 19, 2003 1:13 PM Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwaters at usinternet.com Fri Sep 19 16:27:14 2003 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 19 Sep 2003 16:27:14 -0500 Subject: [AccessD] October Issue of Inside Access In-Reply-To: <426071E0B0A6D311B3C0006008B0AB2338C93A@TAPPEEXCH01> Message-ID: <001601c37ef4$ce6f5a70$de1811d8@DanWaters> Time to Walk the Plank for that one!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brett Barabash Sent: Friday, September 19, 2003 3:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access How much does a pirate pay for corn? A buccaneer -----Original Message----- From: rusty.hammond at cpiqpc.com [mailto:rusty.hammond at cpiqpc.com] Sent: Friday, September 19, 2003 3:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] October Issue of Inside Access What's a pirates favorite pizza? peppaaaarrrrroni -----Original Message----- From: David McAfee [mailto:DMcAfee at haascnc.com] Sent: Friday, September 19, 2003 3:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew ---------------------------------------------------------------------------- ---------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Fri Sep 19 16:33:21 2003 From: john at winhaven.net (John B.) Date: Fri, 19 Sep 2003 16:33:21 -0500 Subject: [AccessD] Eliminate Tool Bar In-Reply-To: <030201c37ef4$08ca1fd0$6601a8c0@HAL9002> Message-ID: Rocky, Create a blank toolbar "tbrBlank". Then put this code in your startup: Application.CommandBars("Menu Bar").Enabled = False Application.CommandBars("tbrBlank").Enabled = False You will have to seignate tbrBlank as the toolbar for each form that you don't want to have a toolbar show up. NOTE: Runtime apps will not include built-in toolbars so make sure you make a custom toolbar for the reports (so they can view and print them) and any forms that you do want a toolbar for and designate that as the toolbar for all reports and those selected forms. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, September 19, 2003 4:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eliminate Tool Bar > > > Do you know offhand what's the name of the default toolbar? > > Regards, > > Rocky > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 19, 2003 12:43 PM > Subject: RE: [AccessD] Eliminate Tool Bar > > > > I think if you replace "Menu Bar" with your toolbar name you > should see a > result (or not, get it?). > > > > Jim DeMarco > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, September 19, 2003 3:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Eliminate Tool Bar > > > > > > That gets rid of the Menu Bar but not the Tool Bar. Is there a command > for > > that? > > > > T&R > > > > Rocky > > > > ----- Original Message ----- > > From: "Christopher Hawkins" > > To: > > Sent: Friday, September 19, 2003 11:44 AM > > Subject: RE: [AccessD] Eliminate Tool Bar > > > > > > > Sure! Just run this line of code someplace in your app's startup: > > > > > > Application.CommandBars("Menu Bar").Enabled = False > > > > > > > > > -Christopher- > > > > > > ---- Original Message ---- > > > From: bchacc at san.rr.com > > > To: AccessD at databaseadvisors.com, > > > Subject: RE: [AccessD] Eliminate Tool Bar > > > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > > > > > >Dear List: > > > > > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > > > >open event. But it leaves this blank gray bar across the top of the > > > >screen between the blue application title bar and the blue form > > > >title bar. > > > > > > > >Is there a way to get rid of that entirely? > > > > > > > >MTIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > ****************************************************************** > ********** > ******* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan > (HHP) that is > confidential or privileged. If you are not the intended > recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have > received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic > mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > ****************************************************************** > ********** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From DWUTKA at marlow.com Fri Sep 19 16:33:42 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 19 Sep 2003 16:33:42 -0500 Subject: [AccessD] October Issue of Inside Access Message-ID: <2F8793082E00D4119A1700B0D0216BF802227221@main2.marlow.com> Okay, that's it, I'm calling the dumb joke police.....heads are going to roll! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, September 19, 2003 4:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] October Issue of Inside Access What the rating on that new pirate movie? Wait for it...... Arrrrr..... Of course. Rocky ----- Original Message ----- From: David McAfee To: 'Access Developers discussion and problem solving' Sent: Friday, September 19, 2003 1:13 PM Subject: RE: [AccessD] October Issue of Inside Access Drew... Where does a pirate go to college? Haarrrrrvarrrrrrd What's a Pirates favorite animal? an Aaarrrrrrrdvark Happy talk like a pirate day to you! :D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Friday, September 19, 2003 12:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] October Issue of Inside Access Arrr Matey! I wodn't wanna press my luck with such a fine lass! (Typed to stay in the International Talk Like A Pirate Day spirit!) Drew _______________________________________________ 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 Sep 19 16:38:19 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 19 Sep 2003 22:38:19 +0100 Subject: [AccessD] Restore Box In-Reply-To: <02c101c37ef3$39ae9000$6601a8c0@HAL9002> Message-ID: <014c01c37ef6$580e90b0$b274d0d5@minster33c3r25> Off the top of my head no Rocky. Don't suppose MoveSize on the form helps does it? Y'know making the form bigger to fill the gap. Is that a possibility? Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: 19 September 2003 22:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Andy: Thanks. Actually Jim Dettman beat you to it. But it works like a charm. Now the last problem maybe you know an answer - I make the tool bar go away (Me.MenuBar = "=1")but it leaves a blank gray box between the blue app title bar and the form title bar. Do you know how to get rid if it? Thanks and regards, Rocky ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Friday, September 19, 2003 1:08 PM Subject: RE: [AccessD] Restore Box Try http://www.mvps.org/access/api/api0022.htm for code to kind of maximize without maximizing, if you see waht I mena. that way you can get rid of the Close, Min, max etc 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: 19 September 2003 16:59 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Restore Box You could 'round' the form, so it's just not visible! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 7:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Oops. Wrote too soon. Took out the DoCmd.Maximize and the little box is still there. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 5:22 PM Subject: RE: [AccessD] Restore Box Are you by any chance maximizing the form? Even a form that normally doesn't display the restore icon will do so when it's maximized. I think the only alternative in that case is the WinAPI. I personally don't like maximized forms, so I haven't messed around with that. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 4:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Restore Box Yeah. No soap. Rocky ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Thursday, September 18, 2003 4:20 PM Subject: RE: [AccessD] Restore Box Have you tried setting the form's border style to Thin instead of Dialog? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 18, 2003 3:14 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Restore Box Dear List: So okay, I removed the max and min and close boxes from my forms in design view. I can live without them. Changed the border style to dialog. But I still can't get rid of that pesky Restore Window box in the upper right corner (you only see it in form view, not in design view). How do I get rid of that one? 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 _____ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clh at christopherhawkins.com Fri Sep 19 16:59:48 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 19 Sep 2003 15:59:48 -0600 Subject: [AccessD] A2K: Editing data in an MSFlexGrid...help! Message-ID: <286380-220039519215948608@christopherhawkins.com> I've got this form in an A2K app that displays data in an MS FlexGrid control. I'm trying to use the "tried and true" method of allowing a user to edit data in the grid by positioning a text box over whatever cell the user clicks. But it's just not working. Here's the code I'm using in the grdMain_SelChange event: [code] With grdMain If .CellWidth < 0 Then Exit Sub txtEdit.Move .Left + .CellLeft, .Top + .CellTop, .CellWidth, .CellHeight End With txtEdit.Visible = True txtEdit.SetFocus[/code] I have my textbox's BackColor set to bright yellow so I can see it if it appears over the grid, but so far it just disappears when I click the grid. I don't knwo where it's going. Perhaps it is beneath the grid, in which case I don't know how to bring it to the front. but if it's not behind the grid, where is it? Where am I going wrong? -Christopher- From Jdemarco at hshhp.org Fri Sep 19 17:25:26 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Fri, 19 Sep 2003 18:25:26 -0400 Subject: [AccessD] Eliminate Tool Bar Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5B1@TTNEXCHSRV1.hshhp.com> For a form I think it's "Form View". Right click the tool bar to show the list of currently displayed toolbars to get the name. Jim DeMarco -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Friday, September 19, 2003 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eliminate Tool Bar Do you know offhand what's the name of the default toolbar? Regards, Rocky ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, September 19, 2003 12:43 PM Subject: RE: [AccessD] Eliminate Tool Bar > I think if you replace "Menu Bar" with your toolbar name you should see a result (or not, get it?). > > Jim DeMarco > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, September 19, 2003 3:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eliminate Tool Bar > > > That gets rid of the Menu Bar but not the Tool Bar. Is there a command for > that? > > T&R > > Rocky > > ----- Original Message ----- > From: "Christopher Hawkins" > To: > Sent: Friday, September 19, 2003 11:44 AM > Subject: RE: [AccessD] Eliminate Tool Bar > > > > Sure! Just run this line of code someplace in your app's startup: > > > > Application.CommandBars("Menu Bar").Enabled = False > > > > > > -Christopher- > > > > ---- Original Message ---- > > From: bchacc at san.rr.com > > To: AccessD at databaseadvisors.com, > > Subject: RE: [AccessD] Eliminate Tool Bar > > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > > > >Dear List: > > > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > > >open event. But it leaves this blank gray bar across the top of the > > >screen between the blue application title bar and the blue form > > >title bar. > > > > > >Is there a way to get rid of that entirely? > > > > > >MTIA, > > > > > >Rocky Smolin > > >Beach Access Software > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at colbyconsulting.com Fri Sep 19 17:40:10 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 19 Sep 2003 18:40:10 -0400 Subject: [AccessD] OT: Drivers for WPC11 In-Reply-To: <010001c37eed$5cfcb4c0$6601a8c0@laptop> Message-ID: Good guess. Actually I have 4 machines on my network. I am trying to install the card in my laptop. My dev machine is a desktop machine which for some reason gets that "page not found" error. My wife's machine can download the file just fine. The dances we do to make things work. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 LOL...It's because you need the drivers installed to view the page. It is a catch 22. Scott -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 19, 2003 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Drivers for WPC11 For whatever reason, my dev machine gives me "page not found" when I try to do the download of the files there. I finally tried the exact same thing on my wife's machine and they downloaded fine. Grrrrrr. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 http://www.linksys.com/download/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 18, 2003 8:37 PM To: AccessD Subject: [AccessD] OT: Drivers for WPC11 Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Sep 19 18:18:11 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 16:18:11 -0700 Subject: [AccessD] Eliminate Tool Bar References: <22F1CCD5171D17419CB37FEEE09D5F990173F5B1@TTNEXCHSRV1.hshhp.com> Message-ID: <03e301c37f04$4b23f3f0$6601a8c0@HAL9002> Jim: Form view is correct! Thank you. Rocky P.S. For extra credit, how do I hide the caption bar on the top of a form? Thanks again. ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, September 19, 2003 3:25 PM Subject: RE: [AccessD] Eliminate Tool Bar > For a form I think it's "Form View". Right click the tool bar to show the list of currently displayed toolbars to get the name. > > Jim DeMarco > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Friday, September 19, 2003 5:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eliminate Tool Bar > > > Do you know offhand what's the name of the default toolbar? > > Regards, > > Rocky > > ----- Original Message ----- > From: "Jim DeMarco" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 19, 2003 12:43 PM > Subject: RE: [AccessD] Eliminate Tool Bar > > > > I think if you replace "Menu Bar" with your toolbar name you should see a > result (or not, get it?). > > > > Jim DeMarco > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Friday, September 19, 2003 3:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Eliminate Tool Bar > > > > > > That gets rid of the Menu Bar but not the Tool Bar. Is there a command > for > > that? > > > > T&R > > > > Rocky > > > > ----- Original Message ----- > > From: "Christopher Hawkins" > > To: > > Sent: Friday, September 19, 2003 11:44 AM > > Subject: RE: [AccessD] Eliminate Tool Bar > > > > > > > Sure! Just run this line of code someplace in your app's startup: > > > > > > Application.CommandBars("Menu Bar").Enabled = False > > > > > > > > > -Christopher- > > > > > > ---- Original Message ---- > > > From: bchacc at san.rr.com > > > To: AccessD at databaseadvisors.com, > > > Subject: RE: [AccessD] Eliminate Tool Bar > > > Date: Fri, 19 Sep 2003 10:19:30 -0700 > > > > > > >Dear List: > > > > > > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my form > > > >open event. But it leaves this blank gray bar across the top of the > > > >screen between the blue application title bar and the blue form > > > >title bar. > > > > > > > >Is there a way to get rid of that entirely? > > > > > > > >MTIA, > > > > > > > >Rocky Smolin > > > >Beach Access Software > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > > > **************************************************************************** > ******* > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From clh at christopherhawkins.com Fri Sep 19 18:31:19 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 19 Sep 2003 17:31:19 -0600 Subject: [AccessD] Eliminate Tool Bar Message-ID: <203400-220039519233119132@christopherhawkins.com> "P.S. For extra credit, how do I hide the caption bar on the top of a form?" Set the BorderStyle to "None". -Christopher- ---- Original Message ---- From: bchacc at san.rr.com To: accessd at databaseadvisors.com, Subject: Re: [AccessD] Eliminate Tool Bar Date: Fri, 19 Sep 2003 16:18:11 -0700 >Jim: > >Form view is correct! > >Thank you. > >Rocky > > >P.S. For extra credit, how do I hide the caption bar on the top of a >form? > >Thanks again. >----- Original Message ----- >From: "Jim DeMarco" >To: "Access Developers discussion and problem solving" > >Sent: Friday, September 19, 2003 3:25 PM >Subject: RE: [AccessD] Eliminate Tool Bar > > >> For a form I think it's "Form View". Right click the tool bar to >show the >list of currently displayed toolbars to get the name. >> >> Jim DeMarco >> >> -----Original Message----- >> From: Rocky Smolin - Beach Access Software >[mailto:bchacc at san.rr.com] >> Sent: Friday, September 19, 2003 5:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Eliminate Tool Bar >> >> >> Do you know offhand what's the name of the default toolbar? >> >> Regards, >> >> Rocky >> >> ----- Original Message ----- >> From: "Jim DeMarco" >> To: "Access Developers discussion and problem solving" >> >> Sent: Friday, September 19, 2003 12:43 PM >> Subject: RE: [AccessD] Eliminate Tool Bar >> >> >> > I think if you replace "Menu Bar" with your toolbar name you >should see >a >> result (or not, get it?). >> > >> > Jim DeMarco >> > >> > -----Original Message----- >> > From: Rocky Smolin - Beach Access Software >[mailto:bchacc at san.rr.com] >> > Sent: Friday, September 19, 2003 3:34 PM >> > To: Access Developers discussion and problem solving >> > Subject: Re: [AccessD] Eliminate Tool Bar >> > >> > >> > That gets rid of the Menu Bar but not the Tool Bar. Is there a >command >> for >> > that? >> > >> > T&R >> > >> > Rocky >> > >> > ----- Original Message ----- >> > From: "Christopher Hawkins" >> > To: >> > Sent: Friday, September 19, 2003 11:44 AM >> > Subject: RE: [AccessD] Eliminate Tool Bar >> > >> > >> > > Sure! Just run this line of code someplace in your app's >startup: >> > > >> > > Application.CommandBars("Menu Bar").Enabled = False >> > > >> > > >> > > -Christopher- >> > > >> > > ---- Original Message ---- >> > > From: bchacc at san.rr.com >> > > To: AccessD at databaseadvisors.com, >> > > Subject: RE: [AccessD] Eliminate Tool Bar >> > > Date: Fri, 19 Sep 2003 10:19:30 -0700 >> > > >> > > >Dear List: >> > > > >> > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my >form >> > > >open event. But it leaves this blank gray bar across the top >of the >> > > >screen between the blue application title bar and the blue >form >> > > >title bar. >> > > > >> > > >Is there a way to get rid of that entirely? >> > > > >> > > >MTIA, >> > > > >> > > >Rocky Smolin >> > > >Beach Access Software >> > > > >> > > >> > > _______________________________________________ >> > > AccessD mailing list >> > > AccessD at databaseadvisors.com >> > > http://databaseadvisors.com/mailman/listinfo/accessd >> > > Website: http://www.databaseadvisors.com >> > > >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > >> >********************************************************************* >******* >> ******* >> > "This electronic message is intended to be for the use only of >the named >> recipient, and may contain information from Hudson Health Plan >(HHP) that >is >> confidential or privileged. If you are not the intended >recipient, you >are >> hereby notified that any disclosure, copying, distribution or use >of the >> contents of this message is strictly prohibited. If you have >received >this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >address >> noted above or calling HHP at (914) 631-1611. If you are not the >intended >> recipient, please do not forward this email to anyone, and delete >and >> destroy all copies of this message. Thank You". >> > >> >********************************************************************* >******* >> ******* >> > >> > _______________________________________________ >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >********************************************************************* >******* >******* >> "This electronic message is intended to be for the use only of the >named >recipient, and may contain information from Hudson Health Plan (HHP) >that is >confidential or privileged. If you are not the intended recipient, >you are >hereby notified that any disclosure, copying, distribution or use of >the >contents of this message is strictly prohibited. If you have >received this >message in error or are not the named recipient, please notify us >immediately, either by contacting the sender at the electronic mail >address >noted above or calling HHP at (914) 631-1611. If you are not the >intended >recipient, please do not forward this email to anyone, and delete and >destroy all copies of this message. Thank You". >> >********************************************************************* >******* >******* >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From bchacc at san.rr.com Fri Sep 19 18:49:00 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 19 Sep 2003 16:49:00 -0700 Subject: [AccessD] Eliminate Tool Bar References: <203400-220039519233119132@christopherhawkins.com> Message-ID: <041601c37f08$9997e380$6601a8c0@HAL9002> Works! Perfect way to end a Friday. Thank you. And I'd like to thank everyone who helped me this week. It was my week for questions and I got all the answers I needed. Happy weekend, everybody. Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Friday, September 19, 2003 4:31 PM Subject: Re: [AccessD] Eliminate Tool Bar > "P.S. For extra credit, how do I hide the caption bar on the top of a > form?" > > Set the BorderStyle to "None". > > -Christopher- > > ---- Original Message ---- > From: bchacc at san.rr.com > To: accessd at databaseadvisors.com, > Subject: Re: [AccessD] Eliminate Tool Bar > Date: Fri, 19 Sep 2003 16:18:11 -0700 > > >Jim: > > > >Form view is correct! > > > >Thank you. > > > >Rocky > > > > > >P.S. For extra credit, how do I hide the caption bar on the top of a > >form? > > > >Thanks again. > >----- Original Message ----- > >From: "Jim DeMarco" > >To: "Access Developers discussion and problem solving" > > > >Sent: Friday, September 19, 2003 3:25 PM > >Subject: RE: [AccessD] Eliminate Tool Bar > > > > > >> For a form I think it's "Form View". Right click the tool bar to > >show the > >list of currently displayed toolbars to get the name. > >> > >> Jim DeMarco > >> > >> -----Original Message----- > >> From: Rocky Smolin - Beach Access Software > >[mailto:bchacc at san.rr.com] > >> Sent: Friday, September 19, 2003 5:22 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Eliminate Tool Bar > >> > >> > >> Do you know offhand what's the name of the default toolbar? > >> > >> Regards, > >> > >> Rocky > >> > >> ----- Original Message ----- > >> From: "Jim DeMarco" > >> To: "Access Developers discussion and problem solving" > >> > >> Sent: Friday, September 19, 2003 12:43 PM > >> Subject: RE: [AccessD] Eliminate Tool Bar > >> > >> > >> > I think if you replace "Menu Bar" with your toolbar name you > >should see > >a > >> result (or not, get it?). > >> > > >> > Jim DeMarco > >> > > >> > -----Original Message----- > >> > From: Rocky Smolin - Beach Access Software > >[mailto:bchacc at san.rr.com] > >> > Sent: Friday, September 19, 2003 3:34 PM > >> > To: Access Developers discussion and problem solving > >> > Subject: Re: [AccessD] Eliminate Tool Bar > >> > > >> > > >> > That gets rid of the Menu Bar but not the Tool Bar. Is there a > >command > >> for > >> > that? > >> > > >> > T&R > >> > > >> > Rocky > >> > > >> > ----- Original Message ----- > >> > From: "Christopher Hawkins" > >> > To: > >> > Sent: Friday, September 19, 2003 11:44 AM > >> > Subject: RE: [AccessD] Eliminate Tool Bar > >> > > >> > > >> > > Sure! Just run this line of code someplace in your app's > >startup: > >> > > > >> > > Application.CommandBars("Menu Bar").Enabled = False > >> > > > >> > > > >> > > -Christopher- > >> > > > >> > > ---- Original Message ---- > >> > > From: bchacc at san.rr.com > >> > > To: AccessD at databaseadvisors.com, > >> > > Subject: RE: [AccessD] Eliminate Tool Bar > >> > > Date: Fri, 19 Sep 2003 10:19:30 -0700 > >> > > > >> > > >Dear List: > >> > > > > >> > > >I eliminated the tool bar by using "Me.MenuBar = "=1"" in my > >form > >> > > >open event. But it leaves this blank gray bar across the top > >of the > >> > > >screen between the blue application title bar and the blue > >form > >> > > >title bar. > >> > > > > >> > > >Is there a way to get rid of that entirely? > >> > > > > >> > > >MTIA, > >> > > > > >> > > >Rocky Smolin > >> > > >Beach Access Software > >> > > > > >> > > > >> > > _______________________________________________ > >> > > AccessD mailing list > >> > > AccessD at databaseadvisors.com > >> > > http://databaseadvisors.com/mailman/listinfo/accessd > >> > > Website: http://www.databaseadvisors.com > >> > > > >> > > >> > _______________________________________________ > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> > > >> > > >> > >********************************************************************* > >******* > >> ******* > >> > "This electronic message is intended to be for the use only of > >the named > >> recipient, and may contain information from Hudson Health Plan > >(HHP) that > >is > >> confidential or privileged. If you are not the intended > >recipient, you > >are > >> hereby notified that any disclosure, copying, distribution or use > >of the > >> contents of this message is strictly prohibited. If you have > >received > >this > >> message in error or are not the named recipient, please notify us > >> immediately, either by contacting the sender at the electronic mail > >address > >> noted above or calling HHP at (914) 631-1611. If you are not the > >intended > >> recipient, please do not forward this email to anyone, and delete > >and > >> destroy all copies of this message. Thank You". > >> > > >> > >********************************************************************* > >******* > >> ******* > >> > > >> > _______________________________________________ > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> > >********************************************************************* > >******* > >******* > >> "This electronic message is intended to be for the use only of the > >named > >recipient, and may contain information from Hudson Health Plan (HHP) > >that is > >confidential or privileged. If you are not the intended recipient, > >you are > >hereby notified that any disclosure, copying, distribution or use of > >the > >contents of this message is strictly prohibited. If you have > >received this > >message in error or are not the named recipient, please notify us > >immediately, either by contacting the sender at the electronic mail > >address > >noted above or calling HHP at (914) 631-1611. If you are not the > >intended > >recipient, please do not forward this email to anyone, and delete and > >destroy all copies of this message. Thank You". > >> > >********************************************************************* > >******* > >******* > >> > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Fri Sep 19 19:24:58 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Fri, 19 Sep 2003 19:24:58 -0500 Subject: [AccessD] OT: Friday humor References: Message-ID: <011001c37f0d$b594b4f0$5d0ed018@W2k> Thanks, John! That gets forwarded to a few cat-lovers! Regards... `?.??.???`?.??.???`?-> Steve Erbach From stuart at lexacorp.com.pg Fri Sep 19 20:35:49 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 20 Sep 2003 11:35:49 +1000 Subject: [AccessD] A2K: Editing data in an MSFlexGrid...help! In-Reply-To: <286380-220039519215948608@christopherhawkins.com> Message-ID: <3F6C3B95.1994.2E4DF5@localhost> On 19 Sep 2003 at 15:59, Christopher Hawkins wrote: > > I have my textbox's BackColor set to bright yellow so I can see it if > it appears over the grid, but so far it just disappears when I click > the grid. I don't knwo where it's going. Perhaps it is beneath the > grid, in which case I don't know how to bring it to the front. Probably is below it. Regardless of what you do with "Bring To Front" and "Send To Back" in design mode. A Flexgrid always seems to sits above a textbox :-( I guess it's something to do with the fact that it's an extrenal ActiveX component. You could try popping up a small modal borderless window which is completely filled by a single text box for input (see recent discussion on popping up a form where the mouse is clicked) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From jcolby at colbyconsulting.com Fri Sep 19 20:39:15 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 19 Sep 2003 21:39:15 -0400 Subject: [AccessD] Using a 160mb hard disk Message-ID: The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com From ghazzard at aelfen.net Fri Sep 19 21:01:13 2003 From: ghazzard at aelfen.net (Greg Hazzard) Date: Fri, 19 Sep 2003 21:01:13 -0500 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: <000001c37f1b$122c6610$0200a8c0@greg> You could try ghosting the 40GB drive, then laying the gost image on the 160gb. Once you have the OS on the drive, you can use the built in disk management features to partition the other 80GB, or (I believe) add them to the original partition. Greg K. Hazzard http://www.aelfen.net "You only live once, and the way I live, once is enough. " -- Frank Sinatra -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Herringb at Charter.net Fri Sep 19 21:44:26 2003 From: Herringb at Charter.net (Barry G.Herring) Date: Fri, 19 Sep 2003 21:44:26 -0500 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: <011701c37f21$1d0019a0$6401a8c0@LocalHost> You will need to install a controller card to be able to handle it. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Sep 19 23:19:20 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 19 Sep 2003 21:19:20 -0700 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: Hi John: Windows2000 can handle drive much larger that that without issue. There must be some other situation that is stopping you??? What type of mother board do you have? What type of built in controller does it have? A year ago I added a couple of 160 GB drives to my Windows2000 box and there were no problems. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 19, 2003 6:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Sep 20 00:18:29 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 20 Sep 2003 00:18:29 -0500 Subject: [AccessD] Using a 160mb hard disk References: Message-ID: <001201c37f36$a065e620$3e691442@hive> Are you using NTFS or FAT? ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying the > disk is corrupted. I'm now trying to use the original server system updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Sat Sep 20 00:26:20 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 20 Sep 2003 00:26:20 -0500 Subject: [AccessD] Using a 160mb hard disk References: Message-ID: <001101c37f37$b98e1090$3e691442@hive> I thought that there was a FAT limitation which is true for FAT16 but not for NTFS or FAT32 which has a limitation of 2TBs. See http://www.dewassoc.com/kbase/hard_drives/hard_drive_size_barriers.htm ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying the > disk is corrupted. I'm now trying to use the original server system updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bbruen at bigpond.com Sat Sep 20 03:31:11 2003 From: bbruen at bigpond.com (Bruce Bruen) Date: Sat, 20 Sep 2003 18:31:11 +1000 Subject: [AccessD] OT: Drivers for WPC11 In-Reply-To: Message-ID: <007501c37f51$8db5b440$ae00a8c0@bbb888> Now to get it installed... 1) Download the file 2) Store the downloaded file in a folder you will never be able to locate. 3) Double click on the said file, but never, ever, ever while clicking thick of the word "Linux" 4) Send all your money, your wife's money and the boy's edu fees to BG at You_Know_Where.com 5) Stand naked, at midnight, with pure optimism in your heart, on the peak of Mt Tohautahauh and press ctl-alt-shift-f10-pgup-tab-anykey Sorry, I've been working with both windowsxpee and another OS recently and am getting judt a little tired of how easy it is to install M$ stuff. Good luck Bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, 20 September 2003 8:40 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Drivers for WPC11 Good guess. Actually I have 4 machines on my network. I am trying to install the card in my laptop. My dev machine is a desktop machine which for some reason gets that "page not found" error. My wife's machine can download the file just fine. The dances we do to make things work. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 4:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 LOL...It's because you need the drivers installed to view the page. It is a catch 22. Scott -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, September 19, 2003 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Drivers for WPC11 For whatever reason, my dev machine gives me "page not found" when I try to do the download of the files there. I finally tried the exact same thing on my wife's machine and they downloaded fine. Grrrrrr. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, September 19, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Drivers for WPC11 http://www.linksys.com/download/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, September 18, 2003 8:37 PM To: AccessD Subject: [AccessD] OT: Drivers for WPC11 Does anyone know where I can get the drivers for a WPC11 v2.5 wireless adapter? I have the adapter but no floppy. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Sep 20 10:14:24 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 20 Sep 2003 08:14:24 -0700 Subject: [AccessD] Error 3045 File Already In Use In-Reply-To: <004b01c37e0a$623c5640$6401a8c0@default> Message-ID: I noticed your mention of MAS-90. This is only the second time I've ever heard of this product. A potential client uses it too. If I get the gig, it will involve some data-transfer between Access and MAS-90. I gather from your message that it's a typical ODBC connection and some Access code. Why did the connections to MAS-90 fail? What's your opinion of MAS-90? Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Michael R Mattys Sent: Thursday, September 18, 2003 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error 3045 File Already In Use Update After a bit of looking around, it turns out that the database is not opened exclusively. Instead, the ODBC connections to MAS-90 have failed and the error "File Already In Use" is kicked up from the other databases when they try to run their reports. Michael R. Mattys Try MattysMapLib for MapPoint at www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "AccessD" Sent: Thursday, September 18, 2003 12:30 PM Subject: [AccessD] Error 3045 File Already In Use > Hi Folks, > > A user in accounting has a db opened exclusively > The db has linked tables and seems to be opening > all other databases exclusively also. > Does this seem right? Is there a way to free up the > other dbs? > > Michael R. Mattys > 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 --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From jcolby at colbyconsulting.com Sat Sep 20 08:34:12 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 20 Sep 2003 09:34:12 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <011701c37f21$1d0019a0$6401a8c0@LocalHost> Message-ID: The motherboard recognizes the drive as 160gb, and is (AFAICT) can properly handle the drive. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barry G.Herring Sent: Friday, September 19, 2003 10:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk You will need to install a controller card to be able to handle it. Barry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Sep 20 08:34:57 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 20 Sep 2003 09:34:57 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: Yes, but did you add them to an existing system or try and install Win2K to the drive? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 20, 2003 12:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Hi John: Windows2000 can handle drive much larger that that without issue. There must be some other situation that is stopping you??? What type of mother board do you have? What type of built in controller does it have? A year ago I added a couple of 160 GB drives to my Windows2000 box and there were no problems. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Friday, September 19, 2003 6:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Sat Sep 20 08:35:13 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 20 Sep 2003 09:35:13 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <001201c37f36$a065e620$3e691442@hive> Message-ID: NTFS John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jmoss111 Sent: Saturday, September 20, 2003 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using a 160mb hard disk Are you using NTFS or FAT? ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying the > disk is corrupted. I'm now trying to use the original server system updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Sep 20 12:06:52 2003 From: artful at rogers.com (Arthur Fuller) Date: Sat, 20 Sep 2003 10:06:52 -0700 Subject: [AccessD] Viruses from "Microsoft" Message-ID: Just a heads up: My anti-virus software caught two messages bearing "gifts" today, allegedly from Microsoft. One of the messages looks exactly like the MS security page but if you look carefully at the sender info, you can see that it's not really from Microsoft. The message subjects are "Last Security Bulletin" and "Newest Security Bulletin". Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From jmoss111 at bellsouth.net Sat Sep 20 09:27:15 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 20 Sep 2003 09:27:15 -0500 Subject: [AccessD] Global table changes Message-ID: <001c01c37f83$49e5dbf0$3e691442@hive> Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoss111 at bellsouth.net Sat Sep 20 09:33:30 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sat, 20 Sep 2003 09:33:30 -0500 Subject: [AccessD] Viruses from "Microsoft" References: Message-ID: <000d01c37f84$29a389e0$3e691442@hive> The thing is that Microsoft doesn't send such messages. This seems to be a trend, we got several at out office on Thursday: The email message that I got is : From: Network Security Department [mailto:urflfou-vglpwir at advisor.net] > Sent: Thursday, September 18, 2003 4:51 PM > To: User > Subject: Last Network Critical Upgrade > MS User > > this is the latest version of security update, the "September 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to help protect your computer from these vulnerabilities, the most serious of which could allow an attacker to run executable on your computer. This update includes the functionality of all previously released patches. > ----- Original Message ----- From: "Arthur Fuller" To: "AccessD" Sent: Saturday, September 20, 2003 12:06 PM Subject: [AccessD] Viruses from "Microsoft" > Just a heads up: > > My anti-virus software caught two messages bearing "gifts" today, allegedly > from Microsoft. One of the messages looks exactly like the MS security page > but if you look carefully at the sender info, you can see that it's not > really from Microsoft. > > The message subjects are "Last Security Bulletin" and "Newest Security > Bulletin". > > Arthur > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at SMSConsulting.spb.ru Sat Sep 20 10:13:04 2003 From: shamil at SMSConsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 20 Sep 2003 19:13:04 +0400 Subject: OT: [AccessD] Viruses from "Microsoft" References: <000d01c37f84$29a389e0$3e691442@hive> Message-ID: <002001c37f89$b2d73040$b501010a@PARIS> This is WORM.SWEN.A http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=WORM_SWEN.A I've got several the day before yesterday. They (http://www.kaspersky.com/news.html?id=1029166) say here that 30000 computers were infected on 18 of September 2003. They call it here I-Worm-Swen... Shamil ----- Original Message ----- From: "jmoss111" To: "Access Developers discussion and problem solving" Sent: Saturday, September 20, 2003 6:33 PM Subject: Re: [AccessD] Viruses from "Microsoft" > The thing is that Microsoft doesn't send such messages. This seems to be a > trend, we got several at out office on Thursday: > > The email message that I got is : > > > From: Network Security Department [mailto:urflfou-vglpwir at advisor.net] > > Sent: Thursday, September 18, 2003 4:51 PM > > To: User > > Subject: Last Network Critical Upgrade > > MS User > > > > this is the latest version of security update, the "September 2003, > Cumulative Patch" update which resolves all known security vulnerabilities > affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install > now to help protect your computer from these vulnerabilities, the most > serious of which could allow an attacker to run executable on your computer. > This update includes the functionality of all previously released patches. > > > > > > > ----- Original Message ----- > From: "Arthur Fuller" > To: "AccessD" > Sent: Saturday, September 20, 2003 12:06 PM > Subject: [AccessD] Viruses from "Microsoft" > > > > Just a heads up: > > > > My anti-virus software caught two messages bearing "gifts" today, > allegedly > > from Microsoft. One of the messages looks exactly like the MS security > page > > but if you look carefully at the sender info, you can see that it's not > > really from Microsoft. > > > > The message subjects are "Last Security Bulletin" and "Newest Security > > Bulletin". > > > > Arthur > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sat Sep 20 10:16:54 2003 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 21 Sep 2003 01:16:54 +1000 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: <000501c37f8a$39b62a80$0c05a8c0@carlton.local> John, Why not just partition the drive first to say a 20GB partition - leave the second partition work until you finish loading windows. Allow windows to install on the first partition and do not do any formatting or the like on the second partition - this you can do when you have finished loading windows, use disk manager to create the extended partition after you have installed service pack 3 and it will see the remaining 140GB partition where you can store your data, etc etc...Use the first partition to load all your apps on...I hope what I've said makes sense. I think this is a more elegant solution... HTH Regards Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, 20 September 2003 11:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk NTFS John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jmoss111 Sent: Saturday, September 20, 2003 1:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using a 160mb hard disk Are you using NTFS or FAT? ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought > a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use > any disk larger than 135gb until SP3. Which begs the question, how do > you install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying > the disk is corrupted. I'm now trying to use the original server > system updated > to SP3 to format the disk, but even assuming that I manage that, It > seems unlikely that I will persuade the Win2K setup disk to recognize > the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live > with booting up with the 40g drive and using the 160 g drive as pure > storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davesharpe2 at cox.net Sat Sep 20 10:39:31 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 20 Sep 2003 11:39:31 -0400 Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? References: <000501c37f8a$39b62a80$0c05a8c0@carlton.local> Message-ID: <008001c37f8d$62ad32a0$dd2f0a44@bcsext6137> I developed a small Package for our in office 'Company Store'. It is cheap & dirty cash register and inventory system a fw years ago. It isn't anything I'm real proud of, but It meets my user's needs. It is a VB EXE with A97 mdb. I'd like to convert the MDB to A2k and not touch the EXE. I expect to be able to just pull the ADO and include DAO in the VB project. Any guidance as to anything else to expect ? Thanks Dave From cclenright at yahoo.com Sat Sep 20 11:03:13 2003 From: cclenright at yahoo.com (Chris Enright) Date: Sat, 20 Sep 2003 09:03:13 -0700 (PDT) Subject: [AccessD] Input Mask - Password In-Reply-To: <001b01c37dcb$a0335e60$b274d0d5@minster33c3r25> Message-ID: <20030920160313.51945.qmail@web41103.mail.yahoo.com> I have a control where the customer enters a PIN and I am using the Input Mask - Password to echo asterisks (*) back to the screen. The PIN is always 4 digits long and I want to AutoTab after the 4th digit but can't seem to edit the Input Mask down to 4 characters. It seems to have a mind of its own. Is it possible please. Chris Enright --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Sat Sep 20 11:54:56 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 20 Sep 2003 09:54:56 -0700 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive> Message-ID: <006601c37f97$eb9f9800$6601a8c0@HAL9002> Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davesharpe2 at cox.net Sat Sep 20 12:21:57 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 20 Sep 2003 13:21:57 -0400 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive> <006601c37f97$eb9f9800$6601a8c0@HAL9002> Message-ID: <001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137> Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Sat Sep 20 13:12:49 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 20 Sep 2003 15:12:49 -0300 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <011701c37f21$1d0019a0$6401a8c0@LocalHost> References: <011701c37f21$1d0019a0$6401a8c0@LocalHost> Message-ID: On Fri, 19 Sep 2003 21:44:26 -0500, Barry G.Herring wrote: > You will need to install a controller card to be able to handle it. > Barry > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Friday, September 19, 2003 8:39 PM > To: AccessD > Subject: [AccessD] Using a 160mb hard disk > > > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying > the > disk is corrupted. I'm now trying to use the original server system > updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the > existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already > running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage > once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > Hi John! I have read that you need to partition disks bigger than 120Gb in order to OS manages it properly. What about two 80Gb partitions??? HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From tuxedo_man at hotmail.com Sat Sep 20 15:10:41 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Sat, 20 Sep 2003 20:10:41 +0000 Subject: [AccessD] OT: Friday humor Message-ID: hmmm... isn't that borderline offensive? Is that song done by Weird Al? I know who he is so I understand the kind of songs he writes. But if that song was done by someone else other than Weird Al, some people may find that song offensive as it promotes a negative stereotype towards Chinese. Billy >From: "John B." >Reply-To: Access Developers discussion and problem >solving >To: "AccessD" >Subject: [AccessD] OT: Friday humor >Date: Fri, 19 Sep 2003 16:18:18 -0500 > >Click here (needs sound): >http://www.starterupsteve.com/swf/chowmein.html > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From rjhjr at cox.net Sat Sep 20 15:12:59 2003 From: rjhjr at cox.net (Bob Hall) Date: Sat, 20 Sep 2003 16:12:59 -0400 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: References: Message-ID: <20030920201259.GA3401@kongemord.krig.net> On Sat, Sep 20, 2003 at 10:06:52AM -0700, Arthur Fuller wrote: > Just a heads up: > > My anti-virus software caught two messages bearing "gifts" today, allegedly > from Microsoft. One of the messages looks exactly like the MS security page > but if you look carefully at the sender info, you can see that it's not > really from Microsoft. > > The message subjects are "Last Security Bulletin" and "Newest Security > Bulletin". I've gotten 40 of these since Thursday morning. The subject headers all contain the word "patch", "upgrade", or "pack". I imagine everyone on the list is aware that MS doesn't e-mail security patches. Supposedly, this can launch itself on an unpatched system if you preview it. Bob Hall From jcolby at colbyconsulting.com Sat Sep 20 15:16:26 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Sat, 20 Sep 2003 16:16:26 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: Message-ID: In the end I used a disk manager program that I downloaded from Samsung's site. It created a single partition of 128gb and formatted it in Fat32. It appears that it also installed some kind of boot manager somewhere since I now see something immediately after the bios and before windows boots. I was unable to get Windows 2K to install on this partition - "blue screen after copying files", though it apparently can use the partition. I used a dos command to convert it to NTFS, and used disk manager to create a partition on the remaining space and format that in NTFS. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Carlos Alberto Alves Sent: Saturday, September 20, 2003 2:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using a 160mb hard disk Hi John! I have read that you need to partition disks bigger than 120Gb in order to OS manages it properly. What about two 80Gb partitions??? HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From ssharkins at bellsouth.net Sat Sep 20 15:18:09 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 20 Sep 2003 16:18:09 -0400 Subject: [AccessD] Viruses from "Microsoft" References: <20030920201259.GA3401@kongemord.krig.net> Message-ID: <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Supposedly, > this can launch itself on an unpatched system if you preview it. =============Previewing the email can launch the attached executable? Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of them. :( Susan H. From davesharpe2 at cox.net Sat Sep 20 15:48:28 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sat, 20 Sep 2003 16:48:28 -0400 Subject: [AccessD] Viruses from "Microsoft" References: <20030920201259.GA3401@kongemord.krig.net> <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Message-ID: <001b01c37fb8$8b697480$dd2f0a44@bcsext6137> Susan I just wanted to let You know that Norton Quarantined all that I got ( I lost count of qty ). You may want to check Your settings and see if Your definations are up to date. Dave ----- Original Message ----- From: "Susan Harkins" To: "Access Developers discussion and problem solving" Sent: Saturday, September 20, 2003 4:18 PM Subject: Re: [AccessD] Viruses from "Microsoft" > Supposedly, > > this can launch itself on an unpatched system if you preview it. > > =============Previewing the email can launch the attached executable? > Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of > them. :( > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rjhjr at cox.net Sat Sep 20 16:09:42 2003 From: rjhjr at cox.net (Bob Hall) Date: Sat, 20 Sep 2003 17:09:42 -0400 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> References: <20030920201259.GA3401@kongemord.krig.net> <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Message-ID: <20030920210942.GA3540@kongemord.krig.net> On Sat, Sep 20, 2003 at 04:18:09PM -0400, Susan Harkins wrote: > Supposedly, > > this can launch itself on an unpatched system if you preview it. > > =============Previewing the email can launch the attached executable? > Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of > them. :( Are your NAV virus definitions up to date? My NAV didn't fire either, but the attachments aren't supposed to load on my Win boxes unless I try to open them, so in theory NAV shouldn't see the attachments until then. And I don't feel a strong hankering to open one just to see if NAV is working. The e-mail scanner isn't catching this virus, so I'm wondering if anyone can confirm that NAV does. Or doesn't. Bob Hall From ssharkins at bellsouth.net Sat Sep 20 18:39:12 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 20 Sep 2003 19:39:12 -0400 Subject: [AccessD] Viruses from "Microsoft" References: <20030920201259.GA3401@kongemord.krig.net><006801c37fb4$7a6bc5b0$220110ac@SUSANONE> <20030920210942.GA3540@kongemord.krig.net> Message-ID: <00b301c37fd0$8656dab0$220110ac@SUSANONE> > > Are your NAV virus definitions up to date? My NAV didn't fire either, > but the attachments aren't supposed to load on my Win boxes unless I try > to open them, so in theory NAV shouldn't see the attachments until then. > And I don't feel a strong hankering to open one just to see if NAV is > working. The e-mail scanner isn't catching this virus, so I'm wondering > if anyone can confirm that NAV does. Or doesn't. ============Right now, I'm updating every day, so yes, it was current. It catches everything else -- I haven't had one sneak through since I started using it a few years ago. Susan H. From wdhindman at bellsouth.net Sat Sep 20 19:17:11 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 20 Sep 2003 20:17:11 -0400 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive><006601c37f97$eb9f9800$6601a8c0@HAL9002> <001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137> Message-ID: <001701c37fd5$b3f538e0$6001a8c0@dejpolsys> ...and I firmly disagree :) ...I use SF (Speed Ferret) from www.mosnannon.com and it plain beats the daylights out of F&R ...I just finished doing a use comparison between SF and FR (Find&Replace) because so many here had recommended it and I needed to either upgrade my version of speedferret or replace it with FR. ...the ONLY advantage F&R has is cost ...at $49 it's far cheaper than SF at $169 :( ...but FR is a serial F&R tool and its dead slow compared to SF ...I mean DEAD slow ...one use of FR and I had no question about spending the extra money to upgrade my current SF version :( ...and dear god not only is FR slow but once you've started a F&R there is no getting out short of crashing Access ...loved that! :( ...another major difference is the way SF lets you view all of the pending changes on one screen and select which to implement ...and remembers what was changed so that you can roll it back if you make a mistake ...FR has no comparable capability that I could find ...and I looked ...SF is multi platform ...one tool to run A97 thru AXP AND you get VB6 AND SQL Server capability as well ...FR is Access only and you have to load a different version for each version of Access :( ...now I know that I'm going to get a ton of FR fan mail from this list ...which is what led me to try FR in the first place ...so before you go penning your little love notes folks, do what I did and dl demos of both tools ...if after doing a side-by-side comparison you're still an FR fan, why god bless your pea-pickin' little soul cause you need it! :) ...the only fault I've ever had with SF is that they tend to be behind the power curve in getting new releases out ...it was more than six months after I had XP on my systems before they released a production SF version that worked with it :( ...but my bottom line is this ...the extra $120 SF costs is well worth the money ...that's less than two billable hours and I easily saved more than that using it rather than FR just once to make major db changes :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 1:21 PM Subject: Re: [AccessD] Global table changes Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Sat Sep 20 19:23:56 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sat, 20 Sep 2003 20:23:56 -0400 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive><006601c37f97$eb9f9800$6601a8c0@HAL9002><001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137> <001701c37fd5$b3f538e0$6001a8c0@dejpolsys> Message-ID: <003b01c37fd6$a513c110$6001a8c0@dejpolsys> ...ach!!! its www.moshannon.com :((((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 8:17 PM Subject: Re: [AccessD] Global table changes ...and I firmly disagree :) ...I use SF (Speed Ferret) from www.mosnannon.com and it plain beats the daylights out of F&R ...I just finished doing a use comparison between SF and FR (Find&Replace) because so many here had recommended it and I needed to either upgrade my version of speedferret or replace it with FR. ...the ONLY advantage F&R has is cost ...at $49 it's far cheaper than SF at $169 :( ...but FR is a serial F&R tool and its dead slow compared to SF ...I mean DEAD slow ...one use of FR and I had no question about spending the extra money to upgrade my current SF version :( ...and dear god not only is FR slow but once you've started a F&R there is no getting out short of crashing Access ...loved that! :( ...another major difference is the way SF lets you view all of the pending changes on one screen and select which to implement ...and remembers what was changed so that you can roll it back if you make a mistake ...FR has no comparable capability that I could find ...and I looked ...SF is multi platform ...one tool to run A97 thru AXP AND you get VB6 AND SQL Server capability as well ...FR is Access only and you have to load a different version for each version of Access :( ...now I know that I'm going to get a ton of FR fan mail from this list ...which is what led me to try FR in the first place ...so before you go penning your little love notes folks, do what I did and dl demos of both tools ...if after doing a side-by-side comparison you're still an FR fan, why god bless your pea-pickin' little soul cause you need it! :) ...the only fault I've ever had with SF is that they tend to be behind the power curve in getting new releases out ...it was more than six months after I had XP on my systems before they released a production SF version that worked with it :( ...but my bottom line is this ...the extra $120 SF costs is well worth the money ...that's less than two billable hours and I easily saved more than that using it rather than FR just once to make major db changes :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 1:21 PM Subject: Re: [AccessD] Global table changes Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From caa at highway.com.br Sat Sep 20 19:37:03 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sat, 20 Sep 2003 21:37:03 -0300 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> References: <20030920201259.GA3401@kongemord.krig.net> <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Message-ID: On Sat, 20 Sep 2003 16:18:09 -0400, Susan Harkins wrote: > Supposedly, >> this can launch itself on an unpatched system if you preview it. > > =============Previewing the email can launch the attached executable? > Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of > them. :( > > Susan H. > You have to set up "scrip blocking" in mail messages in order to prevent a code to be executed upon previewing an e-mail. -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From ssharkins at bellsouth.net Sat Sep 20 20:07:48 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 20 Sep 2003 21:07:48 -0400 Subject: [AccessD] Viruses from "Microsoft" References: <20030920201259.GA3401@kongemord.krig.net><006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Message-ID: <00e801c37fde$e76bba10$220110ac@SUSANONE> Script blocking is enabled -- and I just got another one. :( This is just really wierd. Susan H. > On Sat, 20 Sep 2003 16:18:09 -0400, Susan Harkins > wrote: > > > Supposedly, > >> this can launch itself on an unpatched system if you preview it. > > > > =============Previewing the email can launch the attached executable? > > Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of > > them. :( > > > > Susan H. > > > > You have to set up "scrip blocking" in mail messages in order to prevent a > code to be executed upon previewing an e-mail. > -- > ************************************** > * Carlos Alberto Alves * > * Child Neurologist * > * Systems Analyst/Programmer * > * Rio de Janeiro, Brazil * > * mailto:caa at highway.com.br * > ************************************** > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Sat Sep 20 20:27:56 2003 From: john at winhaven.net (John B.) Date: Sat, 20 Sep 2003 20:27:56 -0500 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <00b301c37fd0$8656dab0$220110ac@SUSANONE> Message-ID: I have NAV set to "try and repair and silently delete if unsuccessful" maybe your is doing that too. NAV caught all of mine. The only way I know is to check the file name of the attachment and it says something about norton dealing with it. John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Saturday, September 20, 2003 6:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Viruses from "Microsoft" > > > > > > Are your NAV virus definitions up to date? My NAV didn't fire either, > > but the attachments aren't supposed to load on my Win boxes unless I try > > to open them, so in theory NAV shouldn't see the attachments until then. > > And I don't feel a strong hankering to open one just to see if NAV is > > working. The e-mail scanner isn't catching this virus, so I'm wondering > > if anyone can confirm that NAV does. Or doesn't. > > ============Right now, I'm updating every day, so yes, it was current. It > catches everything else -- I haven't had one sneak through since I started > using it a few years ago. > > Susan H. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 20 20:38:35 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 20 Sep 2003 18:38:35 -0700 Subject: OT: [AccessD] Viruses In-Reply-To: <002001c37f89$b2d73040$b501010a@PARIS> Message-ID: Hi All: Seeing we are on the off topic subject of viruses I have one that I have been trying to remove. The client has an XP profession, formatted with NTFS. The worm is W32/Spybot-B and the key file to remove is in the system32 directory call tftp.exe. (What a time for their CDRom to fail.) I can not remove the file. It is locked in normal or safe mode. The worm process has removed access to command prompt in normal mode and it is hidden and unacccessible from a Command boot disk. When checking the taskmanager, in safe mode, the file is not running but it still refuses to be deleted. (Note: cmd prompt, taskmanager, regedit and msconfig programs are render in-operative in normal mode.) The file is a particular problem as it will not allow any Windows Update to run because the update process locks when it hits this file. I have tried a variety of virus scanning and removal applications but they either ignore it or fail when they hit this file. McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus and Trend Micro scan programs do. Any help would be greatly appreciated Jim From rbgajewski at adelphia.net Sat Sep 20 20:48:43 2003 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Sat, 20 Sep 2003 21:48:43 -0400 Subject: [AccessD] Viruses In-Reply-To: Message-ID: Jim Off-the-wall suggestion, but have you tried running an AUTOEXEC.BAT file ? *********************************************** @echo off attrib c:\windows\system32\tftp.exe -a -h -r -s del c:\windows\system32\tftp.exe /y *********************************************** Stranger things have worked before .... Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 20, 2003 21:39 To: Access Developers discussion and problem solving Subject: OT: [AccessD] Viruses Hi All: Seeing we are on the off topic subject of viruses I have one that I have been trying to remove. The client has an XP profession, formatted with NTFS. The worm is W32/Spybot-B and the key file to remove is in the system32 directory call tftp.exe. (What a time for their CDRom to fail.) I can not remove the file. It is locked in normal or safe mode. The worm process has removed access to command prompt in normal mode and it is hidden and unacccessible from a Command boot disk. When checking the taskmanager, in safe mode, the file is not running but it still refuses to be deleted. (Note: cmd prompt, taskmanager, regedit and msconfig programs are render in-operative in normal mode.) The file is a particular problem as it will not allow any Windows Update to run because the update process locks when it hits this file. I have tried a variety of virus scanning and removal applications but they either ignore it or fail when they hit this file. McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus and Trend Micro scan programs do. Any help would be greatly appreciated Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sat Sep 20 20:50:23 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 20 Sep 2003 21:50:23 -0400 Subject: [AccessD] Viruses from "Microsoft" References: Message-ID: <010101c37fe2$bb4d7d20$220110ac@SUSANONE> I have it set to prompt me and it has caught a few others in the last two days, but it isn't catching this latest swen that looks like a MS security bulletin. I did just check and while trying to update the definitions live update kept trying to use my dial-up -- we just got dsl and I've no idea why it switched back to dial-up. I just deleted that connection from the settings and ran it again -- said there were no new updates. The symantec page linked to a MS patch, but it's for IE 5 and IE 5.5 -- I'm using 6. Susan H. > I have NAV set to "try and repair and silently delete if unsuccessful" maybe > your is doing that too. NAV caught all of mine. The only way I know is to > check the file name of the attachment and it says something about norton > dealing with it. > > John B. > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > > Sent: Saturday, September 20, 2003 6:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Viruses from "Microsoft" > > > > > > > > > > Are your NAV virus definitions up to date? My NAV didn't fire either, > > > but the attachments aren't supposed to load on my Win boxes unless I try > > > to open them, so in theory NAV shouldn't see the attachments until then. > > > And I don't feel a strong hankering to open one just to see if NAV is > > > working. The e-mail scanner isn't catching this virus, so I'm wondering > > > if anyone can confirm that NAV does. Or doesn't. > > > > ============Right now, I'm updating every day, so yes, it was current. It > > catches everything else -- I haven't had one sneak through since I started > > using it a few years ago. > > > > 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 john at winhaven.net Sat Sep 20 22:29:56 2003 From: john at winhaven.net (John B.) Date: Sat, 20 Sep 2003 22:29:56 -0500 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <010101c37fe2$bb4d7d20$220110ac@SUSANONE> Message-ID: Susan: Since its trying to use the dialup and you want it to use DSL then you might want to check that it is set to use "Internet Options" for its connection settings. It would be a Control Panel applet called "Symantec LiveUpdate". I've had mine get "confused" in the past when switching things around. HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Saturday, September 20, 2003 8:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Viruses from "Microsoft" > > > I have it set to prompt me and it has caught a few others in the last two > days, but it isn't catching this latest swen that looks like a MS security > bulletin. I did just check and while trying to update the definitions live > update kept trying to use my dial-up -- we just got dsl and I've > no idea why > it switched back to dial-up. I just deleted that connection from the > settings and ran it again -- said there were no new updates. The symantec > page linked to a MS patch, but it's for IE 5 and IE 5.5 -- I'm using 6. > > Susan H. > > > > I have NAV set to "try and repair and silently delete if unsuccessful" > maybe > > your is doing that too. NAV caught all of mine. The only way I > know is to > > check the file name of the attachment and it says something about norton > > dealing with it. > > > > John B. > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Susan Harkins > > > Sent: Saturday, September 20, 2003 6:39 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Viruses from "Microsoft" > > > > > > > > > > > > > > Are your NAV virus definitions up to date? My NAV didn't > fire either, > > > > but the attachments aren't supposed to load on my Win boxes unless I > try > > > > to open them, so in theory NAV shouldn't see the attachments until > then. > > > > And I don't feel a strong hankering to open one just to see > if NAV is > > > > working. The e-mail scanner isn't catching this virus, so I'm > wondering > > > > if anyone can confirm that NAV does. Or doesn't. > > > > > > ============Right now, I'm updating every day, so yes, it was current. > It > > > catches everything else -- I haven't had one sneak through since I > started > > > using it a few years ago. > > > > > > 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 john at winhaven.net Sat Sep 20 22:31:47 2003 From: john at winhaven.net (John B.) Date: Sat, 20 Sep 2003 22:31:47 -0500 Subject: [AccessD] OT: Friday humor In-Reply-To: Message-ID: Sorry, the only one I was trying to offend were my fellow cat lovers. :o( > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Billy Pang > Sent: Saturday, September 20, 2003 3:11 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Friday humor > > > hmmm... isn't that borderline offensive? > > Is that song done by Weird Al? I know who he is so I understand > the kind of > songs he writes. > But if that song was done by someone else other than Weird Al, > some people > may find that song offensive as it promotes a negative stereotype towards > Chinese. > > Billy > > >From: "John B." > >Reply-To: Access Developers discussion and problem > >solving > >To: "AccessD" > >Subject: [AccessD] OT: Friday humor > >Date: Fri, 19 Sep 2003 16:18:18 -0500 > > > >Click here (needs sound): > >http://www.starterupsteve.com/swf/chowmein.html > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > The new MSN 8: advanced junk mail protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Sep 20 22:37:33 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 20 Sep 2003 20:37:33 -0700 Subject: [AccessD] Viruses In-Reply-To: Message-ID: Hi Bob: I have done a number of varations on that theme but have not tried that specific example. I will assemble something and email it to the client. Thanks for you help...it might do the trick. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Gajewski Sent: Saturday, September 20, 2003 6:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Viruses Jim Off-the-wall suggestion, but have you tried running an AUTOEXEC.BAT file ? *********************************************** @echo off attrib c:\windows\system32\tftp.exe -a -h -r -s del c:\windows\system32\tftp.exe /y *********************************************** Stranger things have worked before .... Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Saturday, September 20, 2003 21:39 To: Access Developers discussion and problem solving Subject: OT: [AccessD] Viruses Hi All: Seeing we are on the off topic subject of viruses I have one that I have been trying to remove. The client has an XP profession, formatted with NTFS. The worm is W32/Spybot-B and the key file to remove is in the system32 directory call tftp.exe. (What a time for their CDRom to fail.) I can not remove the file. It is locked in normal or safe mode. The worm process has removed access to command prompt in normal mode and it is hidden and unacccessible from a Command boot disk. When checking the taskmanager, in safe mode, the file is not running but it still refuses to be deleted. (Note: cmd prompt, taskmanager, regedit and msconfig programs are render in-operative in normal mode.) The file is a particular problem as it will not allow any Windows Update to run because the update process locks when it hits this file. I have tried a variety of virus scanning and removal applications but they either ignore it or fail when they hit this file. McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus and Trend Micro scan programs do. Any help would be greatly appreciated Jim _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sat Sep 20 22:42:52 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 20 Sep 2003 23:42:52 -0400 Subject: [AccessD] OT: Friday humor References: Message-ID: <014d01c37ff2$7930f290$220110ac@SUSANONE> I've got a cat I'd be willing to throw into a wok. :( She's a real nuisance, but we seem to be stuck with her as I can't imagine anybody actually wanting her. She has a bad attitude, won't use her litter box and has recently decided to ruin our couch. :( Susan H. > Sorry, the only one I was trying to offend were my fellow cat lovers. > :o( From accessd at shaw.ca Sat Sep 20 23:15:42 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 20 Sep 2003 21:15:42 -0700 Subject: [AccessD] OT: Friday humor In-Reply-To: <014d01c37ff2$7930f290$220110ac@SUSANONE> Message-ID: Hi Susan: Taking that thought a little further maybe some dogs, like the ones leaving call-cards on our lawn...or some local politicians who could better serve the public by been served up to the public. A last decent gesture... Sorry I have been working too long today. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, September 20, 2003 8:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday humor I've got a cat I'd be willing to throw into a wok. :( She's a real nuisance, but we seem to be stuck with her as I can't imagine anybody actually wanting her. She has a bad attitude, won't use her litter box and has recently decided to ruin our couch. :( Susan H. > Sorry, the only one I was trying to offend were my fellow cat lovers. > :o( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hsimpson88 at hotmail.com Sun Sep 21 01:10:47 2003 From: hsimpson88 at hotmail.com (Henry Simpson) Date: Sun, 21 Sep 2003 00:10:47 -0600 Subject: OT: [AccessD] Viruses Message-ID: I ran into some virus last Xmas that rendered all exe files unexecutable. I couldn't get cmd.exe running, or an anti virus or just about any program. You could start programs by opening a file that had an association to an exe so a .doc file would open Word. I found a fix on the internet (which I got to by double clicking an htm file) but could not run the setup.exe. I just renamed the extension to .com and it ran just fine and cleaned up the virus. Hen >From: "Jim Lawrence (AccessD)" >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem solving > >Subject: OT: [AccessD] Viruses >Date: Sat, 20 Sep 2003 18:38:35 -0700 > >Hi All: > >Seeing we are on the off topic subject of viruses I have one that I have >been trying to remove. > >The client has an XP profession, formatted with NTFS. The worm is >W32/Spybot-B and the key file to remove is in the system32 directory call >tftp.exe. (What a time for their CDRom to fail.) > >I can not remove the file. It is locked in normal or safe mode. The worm >process has removed access to command prompt in normal mode and it is >hidden >and unacccessible from a Command boot disk. When checking the taskmanager, >in safe mode, the file is not running but it still refuses to be deleted. >(Note: cmd prompt, taskmanager, regedit and msconfig programs are render >in-operative in normal mode.) > >The file is a particular problem as it will not allow any Windows Update to >run because the update process locks when it hits this file. I have tried a >variety of virus scanning and removal applications but they either ignore >it >or fail when they hit this file. > >McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus >and Trend Micro scan programs do. > >Any help would be greatly appreciated >Jim > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus From wdhindman at bellsouth.net Sun Sep 21 03:15:34 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 21 Sep 2003 04:15:34 -0400 Subject: [AccessD] OT: Friday humor References: Message-ID: <000801c38018$884f88b0$6001a8c0@dejpolsys> ...hhhmmm ...fried pol? ...nope, indigestible by definition :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Sunday, September 21, 2003 12:15 AM Subject: RE: [AccessD] OT: Friday humor > Hi Susan: > > Taking that thought a little further maybe some dogs, like the ones leaving > call-cards on our lawn...or some local politicians who could better serve > the public by been served up to the public. A last decent gesture... > > Sorry I have been working too long today. > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins > Sent: Saturday, September 20, 2003 8:43 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Friday humor > > > I've got a cat I'd be willing to throw into a wok. :( She's a real nuisance, > but we seem to be stuck with her as I can't imagine anybody actually wanting > her. She has a bad attitude, won't use her litter box and has recently > decided to ruin our couch. :( > > Susan H. > > > > Sorry, the only one I was trying to offend were my fellow cat lovers. > > :o( > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Sun Sep 21 03:24:21 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 21 Sep 2003 04:24:21 -0400 Subject: [AccessD] Viruses References: Message-ID: <001501c38019$c1f5b930$6001a8c0@dejpolsys> Jim ...without the CD working, you can dl a file from MS to another system ...it creates a set of boot disks for XP Home/Pro ...six floppies ...they will get you to a command prompt which will let you delete any file on the client ...had to do exactly that last week on a client system that had the registry hive screwed :( ...can't recall the KB article that gave me the file but it turned up on my first search ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Saturday, September 20, 2003 9:38 PM Subject: OT: [AccessD] Viruses > Hi All: > > Seeing we are on the off topic subject of viruses I have one that I have > been trying to remove. > > The client has an XP profession, formatted with NTFS. The worm is > W32/Spybot-B and the key file to remove is in the system32 directory call > tftp.exe. (What a time for their CDRom to fail.) > > I can not remove the file. It is locked in normal or safe mode. The worm > process has removed access to command prompt in normal mode and it is hidden > and unacccessible from a Command boot disk. When checking the taskmanager, > in safe mode, the file is not running but it still refuses to be deleted. > (Note: cmd prompt, taskmanager, regedit and msconfig programs are render > in-operative in normal mode.) > > The file is a particular problem as it will not allow any Windows Update to > run because the update process locks when it hits this file. I have tried a > variety of virus scanning and removal applications but they either ignore it > or fail when they hit this file. > > McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus > and Trend Micro scan programs do. > > Any help would be greatly appreciated > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From StaRKeY at Wanadoo.nl Sun Sep 21 04:38:14 2003 From: StaRKeY at Wanadoo.nl (StaRKeY) Date: Sun, 21 Sep 2003 11:38:14 +0200 Subject: [AccessD] Viruses In-Reply-To: <001501c38019$c1f5b930$6001a8c0@dejpolsys> Message-ID: Here's a maybe usefull link: h ttp://www.bootdisk.com/bootdisk.htm Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: zondag 21 september 2003 10:24 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Viruses Jim ...without the CD working, you can dl a file from MS to another system ...it creates a set of boot disks for XP Home/Pro ...six floppies ...they will get you to a command prompt which will let you delete any file on the client ...had to do exactly that last week on a client system that had the registry hive screwed :( ...can't recall the KB article that gave me the file but it turned up on my first search ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Saturday, September 20, 2003 9:38 PM Subject: OT: [AccessD] Viruses > Hi All: > > Seeing we are on the off topic subject of viruses I have one that I have > been trying to remove. > > The client has an XP profession, formatted with NTFS. The worm is > W32/Spybot-B and the key file to remove is in the system32 directory call > tftp.exe. (What a time for their CDRom to fail.) > > I can not remove the file. It is locked in normal or safe mode. The worm > process has removed access to command prompt in normal mode and it is hidden > and unacccessible from a Command boot disk. When checking the taskmanager, > in safe mode, the file is not running but it still refuses to be deleted. > (Note: cmd prompt, taskmanager, regedit and msconfig programs are render > in-operative in normal mode.) > > The file is a particular problem as it will not allow any Windows Update to > run because the update process locks when it hits this file. I have tried a > variety of virus scanning and removal applications but they either ignore it > or fail when they hit this file. > > McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus > and Trend Micro scan programs do. > > Any help would be greatly appreciated > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-9-2003 Tested on: 21-9-2003 11:38:13 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com From caa at highway.com.br Sun Sep 21 06:09:10 2003 From: caa at highway.com.br (Carlos Alberto Alves) Date: Sun, 21 Sep 2003 08:09:10 -0300 Subject: OT: [AccessD] Viruses In-Reply-To: References: Message-ID: On Sat, 20 Sep 2003 18:38:35 -0700, Jim Lawrence (AccessD) wrote: > Hi All: > > Seeing we are on the off topic subject of viruses I have one that I have > been trying to remove. > > The client has an XP profession, formatted with NTFS. The worm is > W32/Spybot-B and the key file to remove is in the system32 directory call > tftp.exe. (What a time for their CDRom to fail.) > > I can not remove the file. It is locked in normal or safe mode. The worm > process has removed access to command prompt in normal mode and it is > hidden > and unacccessible from a Command boot disk. When checking the > taskmanager, > in safe mode, the file is not running but it still refuses to be deleted. > (Note: cmd prompt, taskmanager, regedit and msconfig programs are render > in-operative in normal mode.) > > The file is a particular problem as it will not allow any Windows Update > to > run because the update process locks when it hits this file. I have tried > a > variety of virus scanning and removal applications but they either ignore > it > or fail when they hit this file. > > McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus > and Trend Micro scan programs do. > > Any help would be greatly appreciated > Jim > Hi Jim! A simple solution I tested with great success is to remove your HD, install it as slave in another machine and run at least two antivirus, for example you may run Sophos and F-prot just to be sure. HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** From carbonnb at sympatico.ca Sun Sep 21 09:15:35 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 21 Sep 2003 10:15:35 -0400 Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? In-Reply-To: <008001c37f8d$62ad32a0$dd2f0a44@bcsext6137> Message-ID: <3F6D7A47.19532.A6567@localhost> On 20 Sep 2003 at 11:39, dave sharpe wrote: > I developed a small Package for our in office > 'Company Store'. It is cheap & dirty cash > register and inventory system a fw years > ago. It isn't anything I'm real proud of, but > It meets my user's needs. > > It is a VB EXE with A97 mdb. I'd like to convert > the MDB to A2k and not touch the EXE. I > expect to be able to just pull the ADO and include > DAO in the VB project. > > Any guidance as to anything else to expect ? If you upgrade the mdb to A2K you will have to recompile the exe with a reference to DAO 3.6 instead of 3.5, That should be about the only gotcha. Let's just say, been there done that. -- Bryan Carbonnell - carbonnb at sympatico.ca Every time I close the door on reality it comes in through the windows. From artful at rogers.com Sun Sep 21 12:28:20 2003 From: artful at rogers.com (Arthur Fuller) Date: Sun, 21 Sep 2003 10:28:20 -0700 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <006801c37fb4$7a6bc5b0$220110ac@SUSANONE> Message-ID: Do you use MailWasher? Or some equivalent? MailWasher is free and I quite like it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Saturday, September 20, 2003 1:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Viruses from "Microsoft" Supposedly, > this can launch itself on an unpatched system if you preview it. =============Previewing the email can launch the attached executable? Unfortunately, Norton Anti-Virus didn't catch these and I got about 12 of them. :( Susan H. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From davesharpe2 at cox.net Sun Sep 21 10:09:33 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Sun, 21 Sep 2003 11:09:33 -0400 Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? References: <3F6D7A47.19532.A6567@localhost> Message-ID: <00a401c38052$5d70c110$dd2f0a44@bcsext6137> Thanks Bryan. I feel much better about tackling next week Dave ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Sunday, September 21, 2003 10:15 AM Subject: Re: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? > On 20 Sep 2003 at 11:39, dave sharpe wrote: > > > I developed a small Package for our in office > > 'Company Store'. It is cheap & dirty cash > > register and inventory system a fw years > > ago. It isn't anything I'm real proud of, but > > It meets my user's needs. > > > > It is a VB EXE with A97 mdb. I'd like to convert > > the MDB to A2k and not touch the EXE. I > > expect to be able to just pull the ADO and include > > DAO in the VB project. > > > > Any guidance as to anything else to expect ? > > > If you upgrade the mdb to A2K you will have to recompile the exe with > a reference to DAO 3.6 instead of 3.5, > > That should be about the only gotcha. Let's just say, been there done > that. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Every time I close the door on reality it comes in through the > windows. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmoss111 at bellsouth.net Sun Sep 21 12:08:54 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sun, 21 Sep 2003 12:08:54 -0500 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive><006601c37f97$eb9f9800$6601a8c0@HAL9002><001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137><001701c37fd5$b3f538e0$6001a8c0@dejpolsys> <003b01c37fd6$a513c110$6001a8c0@dejpolsys> Message-ID: <021f01c38063$09a4f8b0$72bb5041@hive> William, Where did you find SF for $169, their web site quotes $199? But with all things considered I think that I'd be better off with a subscription, because when they release an Access 11 version, it would cost another $100 to get the latest version. I'm going to downloaf both SF and F & R and try them out. I do like the advantage that SF has with the ability to do SQL 2000 in addition to multiple flavors of Access. Anyway, many thanks to those who responded. Jim ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:23 PM Subject: Re: [AccessD] Global table changes ...ach!!! its www.moshannon.com :((((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 8:17 PM Subject: Re: [AccessD] Global table changes ...and I firmly disagree :) ...I use SF (Speed Ferret) from www.mosnannon.com and it plain beats the daylights out of F&R ...I just finished doing a use comparison between SF and FR (Find&Replace) because so many here had recommended it and I needed to either upgrade my version of speedferret or replace it with FR. ...the ONLY advantage F&R has is cost ...at $49 it's far cheaper than SF at $169 :( ...but FR is a serial F&R tool and its dead slow compared to SF ...I mean DEAD slow ...one use of FR and I had no question about spending the extra money to upgrade my current SF version :( ...and dear god not only is FR slow but once you've started a F&R there is no getting out short of crashing Access ...loved that! :( ...another major difference is the way SF lets you view all of the pending changes on one screen and select which to implement ...and remembers what was changed so that you can roll it back if you make a mistake ...FR has no comparable capability that I could find ...and I looked ...SF is multi platform ...one tool to run A97 thru AXP AND you get VB6 AND SQL Server capability as well ...FR is Access only and you have to load a different version for each version of Access :( ...now I know that I'm going to get a ton of FR fan mail from this list ...which is what led me to try FR in the first place ...so before you go penning your little love notes folks, do what I did and dl demos of both tools ...if after doing a side-by-side comparison you're still an FR fan, why god bless your pea-pickin' little soul cause you need it! :) ...the only fault I've ever had with SF is that they tend to be behind the power curve in getting new releases out ...it was more than six months after I had XP on my systems before they released a production SF version that worked with it :( ...but my bottom line is this ...the extra $120 SF costs is well worth the money ...that's less than two billable hours and I easily saved more than that using it rather than FR just once to make major db changes :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 1:21 PM Subject: Re: [AccessD] Global table changes Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wdhindman at bellsouth.net Sun Sep 21 15:13:32 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 21 Sep 2003 16:13:32 -0400 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive><006601c37f97$eb9f9800$6601a8c0@HAL9002><001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137><001701c37fd5$b3f538e0$6001a8c0@dejpolsys><003b01c37fd6$a513c110$6001a8c0@dejpolsys> <021f01c38063$09a4f8b0$72bb5041@hive> Message-ID: <001101c3807c$d4a72650$6001a8c0@dejpolsys> ...sorry Jim, you're right ...I used an upgrade to get mine and didn't pay enough attention to the current full price :( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Sunday, September 21, 2003 1:08 PM Subject: Re: [AccessD] Global table changes William, Where did you find SF for $169, their web site quotes $199? But with all things considered I think that I'd be better off with a subscription, because when they release an Access 11 version, it would cost another $100 to get the latest version. I'm going to downloaf both SF and F & R and try them out. I do like the advantage that SF has with the ability to do SQL 2000 in addition to multiple flavors of Access. Anyway, many thanks to those who responded. Jim ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:23 PM Subject: Re: [AccessD] Global table changes ...ach!!! its www.moshannon.com :((((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 8:17 PM Subject: Re: [AccessD] Global table changes ...and I firmly disagree :) ...I use SF (Speed Ferret) from www.mosnannon.com and it plain beats the daylights out of F&R ...I just finished doing a use comparison between SF and FR (Find&Replace) because so many here had recommended it and I needed to either upgrade my version of speedferret or replace it with FR. ...the ONLY advantage F&R has is cost ...at $49 it's far cheaper than SF at $169 :( ...but FR is a serial F&R tool and its dead slow compared to SF ...I mean DEAD slow ...one use of FR and I had no question about spending the extra money to upgrade my current SF version :( ...and dear god not only is FR slow but once you've started a F&R there is no getting out short of crashing Access ...loved that! :( ...another major difference is the way SF lets you view all of the pending changes on one screen and select which to implement ...and remembers what was changed so that you can roll it back if you make a mistake ...FR has no comparable capability that I could find ...and I looked ...SF is multi platform ...one tool to run A97 thru AXP AND you get VB6 AND SQL Server capability as well ...FR is Access only and you have to load a different version for each version of Access :( ...now I know that I'm going to get a ton of FR fan mail from this list ...which is what led me to try FR in the first place ...so before you go penning your little love notes folks, do what I did and dl demos of both tools ...if after doing a side-by-side comparison you're still an FR fan, why god bless your pea-pickin' little soul cause you need it! :) ...the only fault I've ever had with SF is that they tend to be behind the power curve in getting new releases out ...it was more than six months after I had XP on my systems before they released a production SF version that worked with it :( ...but my bottom line is this ...the extra $120 SF costs is well worth the money ...that's less than two billable hours and I easily saved more than that using it rather than FR just once to make major db changes :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 1:21 PM Subject: Re: [AccessD] Global table changes Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoss111 at bellsouth.net Sun Sep 21 16:23:03 2003 From: jmoss111 at bellsouth.net (jmoss111) Date: Sun, 21 Sep 2003 16:23:03 -0500 Subject: [AccessD] Global table changes References: <001c01c37f83$49e5dbf0$3e691442@hive><006601c37f97$eb9f9800$6601a8c0@HAL9002><001e01c37f9b$b1c4d0b0$dd2f0a44@bcsext6137><001701c37fd5$b3f538e0$6001a8c0@dejpolsys><003b01c37fd6$a513c110$6001a8c0@dejpolsys><021f01c38063$09a4f8b0$72bb5041@hive> <001101c3807c$d4a72650$6001a8c0@dejpolsys> Message-ID: <001701c38086$8a732200$60bb5041@hive> I thought that you might have gotten your copy from some place other than directly from the vendor. Sometimes you can get a better price from Programmers Paradise or some 3rd party. In fact I looked at Programmers Paradise and they didn't have Speed Ferret. Thanks, Jim ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Sunday, September 21, 2003 3:13 PM Subject: Re: [AccessD] Global table changes ...sorry Jim, you're right ...I used an upgrade to get mine and didn't pay enough attention to the current full price :( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Sunday, September 21, 2003 1:08 PM Subject: Re: [AccessD] Global table changes William, Where did you find SF for $169, their web site quotes $199? But with all things considered I think that I'd be better off with a subscription, because when they release an Access 11 version, it would cost another $100 to get the latest version. I'm going to downloaf both SF and F & R and try them out. I do like the advantage that SF has with the ability to do SQL 2000 in addition to multiple flavors of Access. Anyway, many thanks to those who responded. Jim ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:23 PM Subject: Re: [AccessD] Global table changes ...ach!!! its www.moshannon.com :((((( William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 8:17 PM Subject: Re: [AccessD] Global table changes ...and I firmly disagree :) ...I use SF (Speed Ferret) from www.mosnannon.com and it plain beats the daylights out of F&R ...I just finished doing a use comparison between SF and FR (Find&Replace) because so many here had recommended it and I needed to either upgrade my version of speedferret or replace it with FR. ...the ONLY advantage F&R has is cost ...at $49 it's far cheaper than SF at $169 :( ...but FR is a serial F&R tool and its dead slow compared to SF ...I mean DEAD slow ...one use of FR and I had no question about spending the extra money to upgrade my current SF version :( ...and dear god not only is FR slow but once you've started a F&R there is no getting out short of crashing Access ...loved that! :( ...another major difference is the way SF lets you view all of the pending changes on one screen and select which to implement ...and remembers what was changed so that you can roll it back if you make a mistake ...FR has no comparable capability that I could find ...and I looked ...SF is multi platform ...one tool to run A97 thru AXP AND you get VB6 AND SQL Server capability as well ...FR is Access only and you have to load a different version for each version of Access :( ...now I know that I'm going to get a ton of FR fan mail from this list ...which is what led me to try FR in the first place ...so before you go penning your little love notes folks, do what I did and dl demos of both tools ...if after doing a side-by-side comparison you're still an FR fan, why god bless your pea-pickin' little soul cause you need it! :) ...the only fault I've ever had with SF is that they tend to be behind the power curve in getting new releases out ...it was more than six months after I had XP on my systems before they released a production SF version that worked with it :( ...but my bottom line is this ...the extra $120 SF costs is well worth the money ...that's less than two billable hours and I easily saved more than that using it rather than FR just once to make major db changes :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: dave sharpe To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 1:21 PM Subject: Re: [AccessD] Global table changes Jim I agree wholeheartedly with Rocky. I've used since Acc95 and don't know how I'd get alone without it. You can get it from Rich's site http://www.rickworld.com/ Dave ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 12:54 PM Subject: Re: [AccessD] Global table changes Jim: I use Rick Fisher's Find and Replace. Free trial period but it will sell you. I use it a lot. It's very elegant, very complete. Give it a try. Rocky ----- Original Message ----- From: jmoss111 To: Access Developers discussion and problem solving Sent: Saturday, September 20, 2003 7:27 AM Subject: [AccessD] Global table changes Is there a way to globally modify the name of field objects in all of the tables contained in a database? I import anywhere from 1 to 1000 Excel spreadsheets, dbf files, mdb's or text files that contain similar data where the fields are named similarly but not uniformly. Thanks, Jim ------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From vze28ztx at verizon.net Sun Sep 21 16:38:54 2003 From: vze28ztx at verizon.net (Mary Davis) Date: Sun, 21 Sep 2003 17:38:54 -0400 Subject: [AccessD] Re: OT - cats References: <200309211700.h8LH08e05981@databaseadvisors.com> Message-ID: <3F6E1A6E.2000203@verizon.net> Susan Harkins wrote: I've got a cat I'd be willing to throw into a wok. _________________ Not to spoil the fun -- nor to mock cats and cat owners or even people who *hate* cats -- but I know two people with diabetic cats. I don't know how prevalent diabetes is, but incontinence is one of the symptoms. These cats do very well with insulin injections. But, the testing can take a while (to establish the correct dosage) and, of course, be expensive. best regards, and good luck, Mary -- Mary Davis Wilmington, DE From accessd at shaw.ca Sun Sep 21 17:00:46 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 21 Sep 2003 15:00:46 -0700 Subject: [AccessD] Viruses In-Reply-To: Message-ID: Thank you Eric. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of StaRKeY Sent: Sunday, September 21, 2003 2:38 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Viruses Here's a maybe usefull link: h ttp://www.bootdisk.com/bootdisk.htm Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: zondag 21 september 2003 10:24 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Viruses Jim ...without the CD working, you can dl a file from MS to another system ...it creates a set of boot disks for XP Home/Pro ...six floppies ...they will get you to a command prompt which will let you delete any file on the client ...had to do exactly that last week on a client system that had the registry hive screwed :( ...can't recall the KB article that gave me the file but it turned up on my first search ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Jim Lawrence (AccessD)" To: "Access Developers discussion and problem solving" Sent: Saturday, September 20, 2003 9:38 PM Subject: OT: [AccessD] Viruses > Hi All: > > Seeing we are on the off topic subject of viruses I have one that I have > been trying to remove. > > The client has an XP profession, formatted with NTFS. The worm is > W32/Spybot-B and the key file to remove is in the system32 directory call > tftp.exe. (What a time for their CDRom to fail.) > > I can not remove the file. It is locked in normal or safe mode. The worm > process has removed access to command prompt in normal mode and it is hidden > and unacccessible from a Command boot disk. When checking the taskmanager, > in safe mode, the file is not running but it still refuses to be deleted. > (Note: cmd prompt, taskmanager, regedit and msconfig programs are render > in-operative in normal mode.) > > The file is a particular problem as it will not allow any Windows Update to > run because the update process locks when it hits this file. I have tried a > variety of virus scanning and removal applications but they either ignore it > or fail when they hit this file. > > McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus > and Trend Micro scan programs do. > > Any help would be greatly appreciated > Jim > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 19-9-2003 Tested on: 21-9-2003 11:38:13 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Sep 21 17:00:49 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sun, 21 Sep 2003 15:00:49 -0700 Subject: OT: [AccessD] Viruses In-Reply-To: Message-ID: Thanks Carlos. That is a great idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Carlos Alberto Alves Sent: Sunday, September 21, 2003 4:09 AM To: Access Developers discussion and problem solving Subject: Re: OT: [AccessD] Viruses On Sat, 20 Sep 2003 18:38:35 -0700, Jim Lawrence (AccessD) wrote: > Hi All: > > Seeing we are on the off topic subject of viruses I have one that I have > been trying to remove. > > The client has an XP profession, formatted with NTFS. The worm is > W32/Spybot-B and the key file to remove is in the system32 directory call > tftp.exe. (What a time for their CDRom to fail.) > > I can not remove the file. It is locked in normal or safe mode. The worm > process has removed access to command prompt in normal mode and it is > hidden > and unacccessible from a Command boot disk. When checking the > taskmanager, > in safe mode, the file is not running but it still refuses to be deleted. > (Note: cmd prompt, taskmanager, regedit and msconfig programs are render > in-operative in normal mode.) > > The file is a particular problem as it will not allow any Windows Update > to > run because the update process locks when it hits this file. I have tried > a > variety of virus scanning and removal applications but they either ignore > it > or fail when they hit this file. > > McAfees or Symantec do not even recognize this worm but Sophos Anti-Virus > and Trend Micro scan programs do. > > Any help would be greatly appreciated > Jim > Hi Jim! A simple solution I tested with great success is to remove your HD, install it as slave in another machine and run at least two antivirus, for example you may run Sophos and F-prot just to be sure. HTH, -- ************************************** * Carlos Alberto Alves * * Child Neurologist * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * mailto:caa at highway.com.br * ************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Sun Sep 21 20:46:01 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Mon, 22 Sep 2003 11:46:01 +1000 Subject: [AccessD] Date issues in Access Message-ID: This worked a treat with some minor tweaking. Thanks Gustav! Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange |---------+------------------------------------> | | Gustav Brock | | | | | | Sent by: | | | accessd-bounces at databasea| | | dvisors.com | | | | | | | | | 20/09/03 12:52 AM | | | Please respond to Access | | | Developers discussion and| | | problem solving | | | | |---------+------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Access Developers discussion and problem solving | | cc: | | Subject: Re: [AccessD] Date issues in Access | >--------------------------------------------------------------------------------------------------------------| Hi Connie Newbie or not, you've hit a sensitive topic of this list: Internationalization (look up the archive) ... Your basic problem is that this crappy function is (1) clumsy, (2) for US developers only. If you google on "DiffBusinessDays_TSB" you'll see some even more crappy variations on this at Experts-Exchange where it has been ghosting for a couple of years. First, as Stuart already has pointed out, dates in SQL code must be formatted as US style strings; no exceptions. Second, DateDiff() should be used for comparing date values. However, in SQL it is much easier to use Between .. And as this is symmetric (it doesn't matter wether the newest date is first or last) if you take care of that it will include both the start and end date. Thus, first, you'll have to modify your code to use US formatted date strings ("The Lembit method" as our fellow lister Lembit was the first to point this issue out and how to solve it). This function will help if you do not want to mess up your SQL string with the formatting expressions: Public Function StrDateSQL(ByVal dat As Date) As String ' Formats full string of date/time in US format for SQL. ' Overrides local (non US) settings for date/time separators. ' Example output: ' ' #08/16/1998 04:03:36 PM# ' ' 1999-10-21. Cactus Data ApS, CPH. StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") End Function ' Calculate number of weekdays between two dates: lngWeekdays = DiffWeekdays_TSB(datDay1, datDay2) Dim db As Database Dim rst As Recordset Dim strSQL As String Dim strDay1 As String Dim strDay2 As String Dim strField As String Dim lngWeekdays As Long Dim lngBusinessDays As Long strDay1 = StrDateSQL(datDay1) strDay2 = StrDateSQL(datDay2) Set db = CurrentDb() strField = "[" & strHolidayField & "]" strSQL = "SELECT Count("*") - 1 AS Count " strSQL = strSQL & "FROM " & strHolidayTbl & " " strSQL = strSQL & "WHERE (" & strField & " " strSQL = strSQL & "BETWEEN " & strDay1 & " " strSQL = strSQL & "AND " & strDay2 & ");" MsgBox "Long Week Days is " & lngWeekdays MsgBox "Start Date is " & datDay1 MsgBox "End Date is " & datDay2 Set rst = db.OpenRecordset(strSQL) lngBusinessDays = rst![Count] rst.Close db.Close MsgBox "Long Business Days is " & lngBusinessDays ... Set rst = Nothing Set db = Nothing DiffBusinessDays_TSB = lngWeekdays - lngBusinessDays This is not tested as I don't have these tables so corrections may be needed but you probably get the idea. /gustav > The dates in Question are datDay1 and datDay2 , > Some background here... I am a newly appointed Analyst programmer and am > trying to troubleshoot thsi application which was written in 1995 by > someone who is long gone from the organization. > The formula involved is to calculate the number of days between two values. > I get an error on the result of the number of longBusiness days, as > follows: > Public Function DiffBusinessDays_TSB(datDay1 As Date, datDay2 As Date, > strHolidayTbl As String, strHolidayField As String) As Long > ' Comments : Returns the number of business days between two dates > ' The days are rounded down -- it takes 24 hours to make a > day. > ' Weekend dates (Saturday and Sunday) and holidays are not > counted. > ' Parameters: datDay1 - first (earlier) date/time (subtracted from > datDay2) > ' datDay2 - second (later) date/time > ' strHolidayTbl - name of holiday table > ' strHolidayField - field name of holiday dates in the > holiday table > ' Returns : Number of whole business days between two dates > ' (Returns negative days if datDay1 is after datDay2) > ' > Dim db As Database > Dim rst As Recordset > Dim strSQL As String > Dim strField As String > Dim lngWeekdays As Long > Dim lngBusinessDays As Long > ' Calculate number of weekdays between two dates: > lngWeekdays = DiffWeekdays_TSB(datDay1, datDay2) > datDay1 = Format$(datDay1, "dd/mm/yy") > datDay2 = Format$(datDay2, "dd/mm/yy") > Set db = CurrentDb() > strField = "[" & strHolidayTbl & "].[" & strHolidayField & "]" > strSQL = "SELECT DISTINCTROW Count(" & strField & ") AS Count" > strSQL = strSQL & " FROM " & strHolidayTbl > strSQL = strSQL & " WHERE ((" & strField & " " > If datDay1 <= datDay2 Then > strSQL = strSQL & ">=#" & datDay1 & "# And " > strSQL = strSQL & strField & "<#" & datDay2 & "#));" > Else > strSQL = strSQL & ">=#" & datDay2 & "# And " > strSQL = strSQL & strField & "<#" & datDay1 & "#));" > End If > msgbox "long Week Days is " & lngWeekdays > msgbox "Start Date is " & datDay1 Returns correct value > msgbox "End Date is " & datDay2 Returns correct value > Set rst = db.OpenRecordset(strSQL) > lngBusinessDays = rst![Count] > rst.Close > db.Close > msgbox "long Business Days is " & lngBusinessDays Returns incorrect value > DiffBusinessDays_TSB = lngWeekdays - lngBusinessDays > End Function > Connie Kamrowski _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From tortise at paradise.net.nz Sun Sep 21 20:59:05 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Mon, 22 Sep 2003 13:59:05 +1200 Subject: [AccessD] Combo - dropdown - Force top of list with each References: Message-ID: <014301c380ad$1abc2020$0900a8c0@P1200n> Hi Has anyone figured out a way to force a dropdown to start top of the list? When one opens a new form / dropdown it is there, but if you move down the list to take the top line off the screen, when you subsequently re-enter the combo it resumes at the level you left. Requerying does not change this positioning. (The example I have is set to maximum number of rows screen will allow, of course, and the list is longer than this.) I want to force everytime it is entered to dropdown and start top of the query list. (That is the scroll bar is repositioned to the top of the list also) TIA Kind regards, David Hingston -------------- next part -------------- An HTML attachment was scrubbed... URL: From kathryn at bassett.net Sun Sep 21 21:12:04 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Sun, 21 Sep 2003 19:12:04 -0700 Subject: [AccessD] OT - Need Excel macro In-Reply-To: Message-ID: I don't use Excel on a regular basis, and even in QuattroPro, I don't use macros. I was wondering if one of you are good with Excel (2000) macros, can make me a macro to do the following - if it's possible to automate what I want to do. I will have files with a name pattern of output1928.txt - the 1928 can be any four numbers (it is a 24hr time). I'm putting a sample file at: http://www.ourmailinglist.org/misc/output1928.txt What I currently do manually is: (first half) open Excel and File > Open, navigate to the text file, and open it. That starts the Text Import Wizard. I click next, as I use the default "delimited" choose comma click next skip first two third, fifth, and seventh are text, fourth and sixth are general finish (second half) Next, I insert a row at the top, and label them (lowercase) activity bib timetext day checkpoint (last) save as Excel, with same prefix name output1928.xls So, is there a way to do at least the first half, but preferably both halves, using a macro? (Remember the AC100 race that you all have helped me with? Well, this is what I have to do with the raw data before imorting it to the database.) If it can't be done with a macro, that's ok as I have my notes. But if it can, it will be a big help as I have to do this routing about two dozen times during the race. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From bchacc at san.rr.com Sun Sep 21 21:48:48 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 21 Sep 2003 19:48:48 -0700 Subject: [AccessD] Combo - dropdown - Force top of list with each References: <014301c380ad$1abc2020$0900a8c0@P1200n> Message-ID: <019f01c380b4$0ca71150$6601a8c0@HAL9002> I think it's returning to the previous value because it still 'remembers' the last value selected. So if you get the first value in the combo box and set the combo box to that value the do the dropdown, that should work. In fact (without testing) I think cboBox=cboBox.ItemData(0) might do it. But remember if it's a bound combo box, you'll be changing the value of the underlying record. Rocky Smolin Beach Access Software ----- Original Message ----- From: Tortise at Paradise To: accessd at databaseadvisors.com Sent: Sunday, September 21, 2003 6:59 PM Subject: [AccessD] Combo - dropdown - Force top of list with each Hi Has anyone figured out a way to force a dropdown to start top of the list? When one opens a new form / dropdown it is there, but if you move down the list to take the top line off the screen, when you subsequently re-enter the combo it resumes at the level you left. Requerying does not change this positioning. (The example I have is set to maximum number of rows screen will allow, of course, and the list is longer than this.) I want to force everytime it is entered to dropdown and start top of the query list. (That is the scroll bar is repositioned to the top of the list also) TIA Kind regards, David Hingston ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tortise at paradise.net.nz Sun Sep 21 22:04:06 2003 From: tortise at paradise.net.nz (Tortise@Paradise) Date: Mon, 22 Sep 2003 15:04:06 +1200 Subject: [AccessD] Combo - dropdown - Force top of list with each References: <014301c380ad$1abc2020$0900a8c0@P1200n> <019f01c380b4$0ca71150$6601a8c0@HAL9002> Message-ID: <017701c380b6$2fcc57b0$0900a8c0@P1200n> Kewl thanks Rocky, that was the trick. (This one: cboBox=cboBox.ItemData(0) ) Box not bound, so not an issue. Kind regards, David Hingston ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Monday, September 22, 2003 2:48 PM Subject: Re: [AccessD] Combo - dropdown - Force top of list with each I think it's returning to the previous value because it still 'remembers' the last value selected. So if you get the first value in the combo box and set the combo box to that value the do the dropdown, that should work. In fact (without testing) I think cboBox=cboBox.ItemData(0) might do it. But remember if it's a bound combo box, you'll be changing the value of the underlying record. Rocky Smolin Beach Access Software ----- Original Message ----- From: Tortise at Paradise To: accessd at databaseadvisors.com Sent: Sunday, September 21, 2003 6:59 PM Subject: [AccessD] Combo - dropdown - Force top of list with each Hi Has anyone figured out a way to force a dropdown to start top of the list? When one opens a new form / dropdown it is there, but if you move down the list to take the top line off the screen, when you subsequently re-enter the combo it resumes at the level you left. Requerying does not change this positioning. (The example I have is set to maximum number of rows screen will allow, of course, and the list is longer than this.) I want to force everytime it is entered to dropdown and start top of the query list. (That is the scroll bar is repositioned to the top of the list also) TIA Kind regards, David Hingston ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Sun Sep 21 22:49:56 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 21 Sep 2003 22:49:56 -0500 Subject: [AccessD] Using a 160mb hard disk Message-ID: <2F8793082E00D4119A1700B0D0216BF802227222@main2.marlow.com> Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Sep 21 22:50:47 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 21 Sep 2003 22:50:47 -0500 Subject: [AccessD] Using a 160mb hard disk Message-ID: <2F8793082E00D4119A1700B0D0216BF802227223@main2.marlow.com> Actually, I believe FAT32's limit is 60 gig (it may be more), NTFS's limit is in the terrabytes. Drew -----Original Message----- From: jmoss111 [mailto:jmoss111 at bellsouth.net] Sent: Saturday, September 20, 2003 12:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using a 160mb hard disk I thought that there was a FAT limitation which is true for FAT16 but not for NTFS or FAT32 which has a limitation of 2TBs. See http://www.dewassoc.com/kbase/hard_drives/hard_drive_size_barriers.htm ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying the > disk is corrupted. I'm now trying to use the original server system updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Sep 21 22:51:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 21 Sep 2003 22:51:48 -0500 Subject: [AccessD] Viruses from "Microsoft" Message-ID: <2F8793082E00D4119A1700B0D0216BF802227224@main2.marlow.com> I know, I've gotten over 600 of them since Friday. I am beginning to wonder if people on the list are infected, because the sources are all over the place! Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, September 20, 2003 12:07 PM To: AccessD Subject: [AccessD] Viruses from "Microsoft" Just a heads up: My anti-virus software caught two messages bearing "gifts" today, allegedly from Microsoft. One of the messages looks exactly like the MS security page but if you look carefully at the sender info, you can see that it's not really from Microsoft. The message subjects are "Last Security Bulletin" and "Newest Security Bulletin". Arthur --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Sep 21 22:54:53 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Sun, 21 Sep 2003 22:54:53 -0500 Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? Message-ID: <2F8793082E00D4119A1700B0D0216BF802227225@main2.marlow.com> Actually, I personally use ADO when in VB, or any other system other then Access 97's VBA. The only time I ever use DAO is if I need a specific capability only native to DAO. On top of that, when I use ADO, I use Microsoft.Jet.OLEDB.4.0 for the provider. There was a bug in the 3.51 jet provider, which caused me a lot of extra work, which was fixed by just using the 4.0 drive. Thus, if you just use that driver in all of your VB code, you can alternate 97 and 2k mdb's with no changes whatsoever. (Even XP .mdb's, I think) Drew -----Original Message----- From: dave sharpe [mailto:davesharpe2 at cox.net] Sent: Saturday, September 20, 2003 10:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? I developed a small Package for our in office 'Company Store'. It is cheap & dirty cash register and inventory system a fw years ago. It isn't anything I'm real proud of, but It meets my user's needs. It is a VB EXE with A97 mdb. I'd like to convert the MDB to A2k and not touch the EXE. I expect to be able to just pull the ADO and include DAO in the VB project. Any guidance as to anything else to expect ? Thanks Dave _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Mon Sep 22 00:08:40 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 22 Sep 2003 01:08:40 -0400 Subject: [AccessD] OT - Need Excel macro References: Message-ID: <000501c380c7$963e2c10$6001a8c0@dejpolsys> William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Kathryn Bassett" To: "Access Developers discussion and problem solving" Sent: Sunday, September 21, 2003 10:12 PM Subject: [AccessD] OT - Need Excel macro > I don't use Excel on a regular basis, and even in QuattroPro, I don't use macros. I was wondering if one of you are good with Excel (2000) macros, can make me a macro to do the following - if it's possible to automate what I want to do. > > I will have files with a name pattern of output1928.txt - the 1928 can be any four numbers (it is a 24hr time). I'm putting a sample file at: > http://www.ourmailinglist.org/misc/output1928.txt > > What I currently do manually is: > > (first half) > open Excel and File > Open, navigate to the text file, and open it. That starts the Text Import Wizard. > I click next, as I use the default "delimited" > choose comma > click next > skip first two > third, fifth, and seventh are text, fourth and sixth are general > finish > > (second half) > Next, I insert a row at the top, and label them (lowercase) > activity > bib > timetext > day > checkpoint > > (last) > save as Excel, with same prefix name output1928.xls > > So, is there a way to do at least the first half, but preferably both halves, using a macro? > > (Remember the AC100 race that you all have helped me with? Well, this is what I have to do with the raw data before imorting it to the database.) > > If it can't be done with a macro, that's ok as I have my notes. But if it can, it will be a big help as I have to do this routing about two dozen times during the race. > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Mon Sep 22 01:55:33 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 22 Sep 2003 16:55:33 +1000 Subject: [AccessD] Viruses from "Microsoft" In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227224@main2.marlow.com> Message-ID: <3F6F2985.14958.1FFE49A@localhost> On 21 Sep 2003 at 22:51, Drew Wutka wrote: > I know, I've gotten over 600 of them since Friday. I am beginning to wonder > if people on the list are infected, because the sources are all over the > place! > > Drew > I was hit really bad with Sobig, but so far I've only see half a dozen or so of the new one (touch wood). -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From gustav at cactus.dk Mon Sep 22 02:58:30 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 09:58:30 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: References: Message-ID: <453697006.20030922095830@cactus.dk> Very good Connie! Thanks for the feedback. /gustav > This worked a treat with some minor tweaking. > Thanks Gustav! > Connie Kamrowski From Alun.Garraway at otto.de Mon Sep 22 04:03:34 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Mon, 22 Sep 2003 11:03:34 +0200 Subject: AW: [AccessD] OT - Need Excel macro Message-ID: hallo Kathryn, have u tried using the macro recorder? alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kathryn Bassett Gesendet: Montag, 22. September 2003 04:12 An: Access Developers discussion and problem solving Betreff: [AccessD] OT - Need Excel macro I don't use Excel on a regular basis, and even in QuattroPro, I don't use macros. I was wondering if one of you are good with Excel (2000) macros, can make me a macro to do the following - if it's possible to automate what I want to do. I will have files with a name pattern of output1928.txt - the 1928 can be any four numbers (it is a 24hr time). I'm putting a sample file at: http://www.ourmailinglist.org/misc/output1928.txt What I currently do manually is: (first half) open Excel and File > Open, navigate to the text file, and open it. That starts the Text Import Wizard. I click next, as I use the default "delimited" choose comma click next skip first two third, fifth, and seventh are text, fourth and sixth are general finish (second half) Next, I insert a row at the top, and label them (lowercase) activity bib timetext day checkpoint (last) save as Excel, with same prefix name output1928.xls So, is there a way to do at least the first half, but preferably both halves, using a macro? (Remember the AC100 race that you all have helped me with? Well, this is what I have to do with the raw data before imorting it to the database.) If it can't be done with a macro, that's ok as I have my notes. But if it can, it will be a big help as I have to do this routing about two dozen times during the race. -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at pacific.net.hk Mon Sep 22 04:26:54 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 22 Sep 2003 17:26:54 +0800 Subject: [AccessD] Date issues in Access In-Reply-To: <453697006.20030922095830@cactus.dk> Message-ID: <004401c380eb$a9f6a790$5100a8c0@BITSNB02> Just curious... Does this work for internation systems? StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") Note mmm, not mm. Stuart > -----Original Message----- > > Very good Connie! > Thanks for the feedback. > > /gustav > > > > > This worked a treat with some minor tweaking. > > > Thanks Gustav! > > > Connie Kamrowski > From gustav at cactus.dk Mon Sep 22 05:25:05 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 12:25:05 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: <004401c380eb$a9f6a790$5100a8c0@BITSNB02> References: <004401c380eb$a9f6a790$5100a8c0@BITSNB02> Message-ID: <16912492162.20030922122505@cactus.dk> Hi Stuart Nope, mmm is localized. /gustav > Just curious... > Does this work for internation systems? > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > Note mmm, not mm. From jimdettman at earthlink.net Mon Sep 22 05:34:37 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 22 Sep 2003 06:34:37 -0400 Subject: [AccessD] Input Mask - Password In-Reply-To: <20030920160313.51945.qmail@web41103.mail.yahoo.com> Message-ID: Chris, << Is it possible please.>> I'm not sure why your having the problem. Make sur ethe field the control is bound to is only 4 characters wide as well. Outside of that, you can check the length of the typed entry as each character is typed from the OnChange event: If Len(Me![].Text) =4 then ' Do something End If Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Chris Enright Sent: Saturday, September 20, 2003 12:03 PM To: accessd at databaseadvisors.com Subject: [AccessD] Input Mask - Password I have a control where the customer enters a PIN and I am using the Input Mask - Password to echo asterisks (*) back to the screen. The PIN is always 4 digits long and I want to AutoTab after the 4th digit but can't seem to edit the Input Mask down to 4 characters. It seems to have a mind of its own. Is it possible please. Chris Enright ---------------------------------------------------------------------------- -- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at pacific.net.hk Mon Sep 22 05:38:49 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 22 Sep 2003 18:38:49 +0800 Subject: [AccessD] Date issues in Access In-Reply-To: <16912492162.20030922122505@cactus.dk> Message-ID: <004501c380f5$b5bbea40$5100a8c0@BITSNB02> Yeah but isn't mm also localised? If so how is StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") Any different? As I said, I'm curious :) Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Monday, 22 September, 2003 6:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Date issues in Access > > > Hi Stuart > > Nope, mmm is localized. > > /gustav > > > > > Just curious... > > > Does this work for internation systems? > > > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > > > Note mmm, not mm. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Sep 22 06:30:00 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 13:30:00 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: <004501c380f5$b5bbea40$5100a8c0@BITSNB02> References: <004501c380f5$b5bbea40$5100a8c0@BITSNB02> Message-ID: <5416386492.20030922133000@cactus.dk> Hi Stuart No ... mm is the month numeric value formatted with a leading zero for months with one digit. /gustav > Yeah but isn't mm also localised? If so how is > StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") > Any different? > As I said, I'm curious :) > Stuart >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: Monday, 22 September, 2003 6:25 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Date issues in Access >> >> >> Hi Stuart >> >> Nope, mmm is localized. >> >> /gustav >> >> >> >> > Just curious... >> >> > Does this work for internation systems? >> >> > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") >> >> > Note mmm, not mm. From stuart at pacific.net.hk Mon Sep 22 06:47:30 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Mon, 22 Sep 2003 19:47:30 +0800 Subject: [AccessD] Date issues in Access In-Reply-To: <5416386492.20030922133000@cactus.dk> Message-ID: Yes, but my understanding was that the localised string for months isn't the same for all versions. Ie not all versions use "mm" for month, "dd" for day, etc. If that is the case (and I'm remembering from access 97 days, so I might well be wrong), then "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#" wouldn't work in all regions, because you'd have to substitute the various characters for their local equivalents. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Monday, 22 September, 2003 7:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Date issues in Access > > > Hi Stuart > > No ... mm is the month numeric value formatted with a leading zero for > months with one digit. > > /gustav > > > > Yeah but isn't mm also localised? If so how is > > > StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") > > > Any different? > > > As I said, I'm curious :) > > > Stuart > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> Gustav Brock > >> Sent: Monday, 22 September, 2003 6:25 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Date issues in Access > >> > >> > >> Hi Stuart > >> > >> Nope, mmm is localized. > >> > >> /gustav > >> > >> > >> > >> > Just curious... > >> > >> > Does this work for internation systems? > >> > >> > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > >> > >> > Note mmm, not mm. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2560 bytes Desc: not available URL: From garykjos at hotmail.com Mon Sep 22 07:17:10 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 22 Sep 2003 07:17:10 -0500 Subject: [AccessD] Viruses from "Microsoft" Message-ID: And I haven't gotten even one. I guess I'm just not popular ;-) Gary Kjos garykjos at hotmail.com >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Viruses from "Microsoft" >Date: Sun, 21 Sep 2003 22:51:48 -0500 > >I know, I've gotten over 600 of them since Friday. I am beginning to >wonder >if people on the list are infected, because the sources are all over the >place! > >Drew > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Saturday, September 20, 2003 12:07 PM >To: AccessD >Subject: [AccessD] Viruses from "Microsoft" > > >Just a heads up: > >My anti-virus software caught two messages bearing "gifts" today, allegedly >from Microsoft. One of the messages looks exactly like the MS security page >but if you look carefully at the sender info, you can see that it's not >really from Microsoft. > >The message subjects are "Last Security Bulletin" and "Newest Security >Bulletin". > >Arthur >--- _________________________________________________________________ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa From gustav at cactus.dk Mon Sep 22 07:18:32 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 14:18:32 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: References: Message-ID: <3719298940.20030922141832@cactus.dk> Hi Stuart The SQL code is not localized. But those parts of the code which are displayed in the SQL GUI designer are. That did cause some confusion for the interpreters of the help file because they couldn't keep track of where to localize date formatting strings and where not! /gustav > Yes, but my understanding was that the localised string for months isn't the > same for all versions. > Ie not all versions use "mm" for month, "dd" for day, etc. > If that is the case (and I'm remembering from access 97 days, so I might well be > wrong), then "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#" wouldn't work in all regions, > because you'd have to substitute the various characters for their local > equivalents. > Stuart >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> Gustav Brock >> Sent: Monday, 22 September, 2003 7:30 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Date issues in Access >> >> >> Hi Stuart >> >> No ... mm is the month numeric value formatted with a leading zero for >> months with one digit. >> >> /gustav >> >> >> > Yeah but isn't mm also localised? If so how is >> >> > StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") >> >> > Any different? >> >> > As I said, I'm curious :) >> >> > Stuart >> >> >> -----Original Message----- >> >> From: accessd-bounces at databaseadvisors.com >> >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >> >> Gustav Brock >> >> Sent: Monday, 22 September, 2003 6:25 PM >> >> To: Access Developers discussion and problem solving >> >> Subject: Re: [AccessD] Date issues in Access >> >> >> >> >> >> Hi Stuart >> >> >> >> Nope, mmm is localized. >> >> >> >> /gustav >> >> >> >> >> >> >> >> > Just curious... >> >> >> >> > Does this work for internation systems? >> >> >> >> > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") >> >> >> >> > Note mmm, not mm. From garykjos at hotmail.com Mon Sep 22 07:17:10 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Mon, 22 Sep 2003 07:17:10 -0500 Subject: [AccessD] Viruses from "Microsoft" Message-ID: And I haven't gotten even one. I guess I'm just not popular ;-) Gary Kjos garykjos at hotmail.com >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Viruses from "Microsoft" >Date: Sun, 21 Sep 2003 22:51:48 -0500 > >I know, I've gotten over 600 of them since Friday. I am beginning to >wonder >if people on the list are infected, because the sources are all over the >place! > >Drew > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Saturday, September 20, 2003 12:07 PM >To: AccessD >Subject: [AccessD] Viruses from "Microsoft" > > >Just a heads up: > >My anti-virus software caught two messages bearing "gifts" today, allegedly >from Microsoft. One of the messages looks exactly like the MS security page >but if you look carefully at the sender info, you can see that it's not >really from Microsoft. > >The message subjects are "Last Security Bulletin" and "Newest Security >Bulletin". > >Arthur >--- _________________________________________________________________ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hshhp.org Mon Sep 22 07:51:08 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 22 Sep 2003 08:51:08 -0400 Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5B3@TTNEXCHSRV1.hshhp.com> Ditto this. Jim DeMarco -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Sunday, September 21, 2003 11:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? Actually, I personally use ADO when in VB, or any other system other then Access 97's VBA. The only time I ever use DAO is if I need a specific capability only native to DAO. On top of that, when I use ADO, I use Microsoft.Jet.OLEDB.4.0 for the provider. There was a bug in the 3.51 jet provider, which caused me a lot of extra work, which was fixed by just using the 4.0 drive. Thus, if you just use that driver in all of your VB code, you can alternate 97 and 2k mdb's with no changes whatsoever. (Even XP .mdb's, I think) Drew -----Original Message----- From: dave sharpe [mailto:davesharpe2 at cox.net] Sent: Saturday, September 20, 2003 10:40 AM To: Access Developers discussion and problem solving Subject: [AccessD] A97 MDB to A2k MDB- I use VB6 as 'Front End' ? I developed a small Package for our in office 'Company Store'. It is cheap & dirty cash register and inventory system a fw years ago. It isn't anything I'm real proud of, but It meets my user's needs. It is a VB EXE with A97 mdb. I'd like to convert the MDB to A2k and not touch the EXE. I expect to be able to just pull the ADO and include DAO in the VB project. Any guidance as to anything else to expect ? Thanks Dave _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at colbyconsulting.com Mon Sep 22 08:07:41 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 09:07:41 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227222@main2.marlow.com> Message-ID: It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Mon Sep 22 08:15:06 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 22 Sep 2003 08:15:06 -0500 Subject: [AccessD] Multiple Checkboxes Message-ID: I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Mon Sep 22 08:27:47 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 22 Sep 2003 06:27:47 -0700 Subject: [AccessD] Fw: Use this patch immediately ! Message-ID: <008201c3810d$50290790$6601a8c0@HAL9002> Well, I finally got one. I was beginning to feel left out. The attachment text reads: file attachment: patch.exe This e-mail in its original form contained one or more attached files that were infected with the W32.Dumaru at mm virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. As you can see my ISP (Road Runner) filtered it out for me. Do your ISPs do this, generally? I'm thinking that the ISP is the right place for the anti-virus software to be running. Although this would put and end to a huge industry. Rocky ----- Original Message ----- From: "Microsoft" To: Sent: Monday, September 22, 2003 2:09 AM Subject: Use this patch immediately ! > ALERT!!! > This e-mail in its original form contained one or more attached files that were infected with a virus or worm, or contained another type of security threat. > > The following attachments were infected and have been repaired: > No attachments are in this category. > > The following attachments were deleted due to an inability to clean them: > 1. patch.exe: W32.Dumaru at mm > > The Following attachments were not delivered due to inbound mail policy violations: > No attachments are in this category. > > > Road Runner does not contact the sender of the infected attachment(s) in the event that they were not actually sent from the indicated party. > > Please contact the sender directly to alert them of their issue with infected files if you wish to do so. > > For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. > > ------------ Original message text follows ------------ > > > Dear friend , use this Internet Explorer patch now! > There are dangerous virus in the Internet now! > More than 500.000 already infected! > ---------------------------------------------------------------------------- ---- > From accessd666 at yahoo.com Mon Sep 22 08:28:11 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 22 Sep 2003 06:28:11 -0700 (PDT) Subject: [AccessD] text-to-speech? Message-ID: <20030922132811.29387.qmail@web60203.mail.yahoo.com> hi group, i'm in a great position here... just in the center of a big war between 2 companies. In short: is it possible in A2K to use text-to-speech for incoming e-mail? I've something about on msdn but this was all C++ related. SD __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From jcolby at colbyconsulting.com Mon Sep 22 08:30:00 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 09:30:00 -0400 Subject: [AccessD] Multiple Checkboxes In-Reply-To: Message-ID: Untitled DocumentOne way would be to use something like: If ChkA then strAddr = "Addr1 at ...;" endif If ChkB then strAddr = strAddr & "Addr2 at ..." endif Thus you build up the address, adding on to the previous one. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 -------------------------------------------------------------------------- - This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Mon Sep 22 08:31:06 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Mon, 22 Sep 2003 09:31:06 -0400 Subject: [AccessD] Multiple Checkboxes Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5B4@TTNEXCHSRV1.hshhp.com> How about storing the e-mail address in the check box's Tag property and then check each check box like this: Dim Admin As String Dim tmp As String If MS.Checked = True Then tmp = MS.Tag & ";" End If If LB.Checked = True Then tmp = tmp & LB.Tag & ";" End If Admin = tmp And so on. I'm using the semi-colon to delimit the e-mail list so change to whatever your mail system recognizes. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Terri Jarus [mailto:jarus at amerinet-gpo.com] Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From bheid at appdevgrp.com Mon Sep 22 08:38:11 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 22 Sep 2003 09:38:11 -0400 Subject: [AccessD] Multiple Checkboxes In-Reply-To: <916187228923D311A6FE00A0CC3FAA3060631D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE78@ADGSERVER> Hi Terri, In your situation, what I do is name the check boxes serially. Like chkRecip1,chkRecip2,...chkRecip1N. Then I would loop though them and process then that way. Air code: 'you could use a select statement like for i=1 to 4 if me("chkRecip" & i) then select case i case 1 checked_Admin = "MS at email.com" case 2 checked_Admin = " LB at email.com" case 3 checked_Admin = "#5 at email.com " case 4 checked_Admin = #4 @email.com end select SendMail checked_Admin 'function to send the mail end if next i ' or you could set up an array of e-mail addresses first dim strAddr(3) strAddr(0)="MS at email.com" strAddr(1)="MS2 at email.com" strAddr(2)="MS3 at email.com" strAddr(3)="MS4 at email.com" for i=1 to 4 if me("chkRecip" & i) then SendMail strAddr(i) end if next i Hope this helps, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bheid at appdevgrp.com Mon Sep 22 08:41:03 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 22 Sep 2003 09:41:03 -0400 Subject: [AccessD] Fw: Use this patch immediately ! In-Reply-To: <916187228923D311A6FE00A0CC3FAA30606328@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE79@ADGSERVER> Hey Rocky, I also have RR. But my NAV caught mine. I think that the ISP would be a great place for AV software, but with people copying stuff from each other and being hooked up to networks and all, I think that AV software should run locally also. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, September 22, 2003 9:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Use this patch immediately ! Well, I finally got one. I was beginning to feel left out. The attachment text reads: file attachment: patch.exe This e-mail in its original form contained one or more attached files that were infected with the W32.Dumaru at mm virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. As you can see my ISP (Road Runner) filtered it out for me. Do your ISPs do this, generally? I'm thinking that the ISP is the right place for the anti-virus software to be running. Although this would put and end to a huge industry. Rocky ----- Original Message ----- From: "Microsoft" To: Sent: Monday, September 22, 2003 2:09 AM Subject: Use this patch immediately ! > ALERT!!! > This e-mail in its original form contained one or more attached files > that were infected with a virus or worm, or contained another type of security threat. > > The following attachments were infected and have been repaired: No > attachments are in this category. > > The following attachments were deleted due to an inability to clean > them: 1. patch.exe: W32.Dumaru at mm > > The Following attachments were not delivered due to inbound mail > policy violations: > No attachments are in this category. > > > Road Runner does not contact the sender of the infected attachment(s) > in the event that they were not actually sent from the indicated party. > > Please contact the sender directly to alert them of their issue with infected files if you wish to do so. > > For more information on Road Runner's virus filtering initiative, > visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. > > ------------ Original message text follows ------------ > > > Dear friend , use this Internet Explorer patch now! > There are dangerous virus in the Internet now! > More than 500.000 already infected! > ---------------------------------------------------------------------------- ---- > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Sep 22 08:43:18 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 22 Sep 2003 09:43:18 -0400 Subject: [AccessD] Multiple Checkboxes In-Reply-To: <916187228923D311A6FE00A0CC3FAA3060632A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE7A@ADGSERVER> My reply (which has not made it there yet) assumed that the user wanted to send separate e-mails to the users. So my example could be modified to build a list of addresses as in John's example. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, September 22, 2003 9:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Multiple Checkboxes One way would be to use something like: If ChkA then strAddr = "Addr1 at ...;" endif If ChkB then strAddr = strAddr & "Addr2 at ..." endif Thus you build up the address, adding on to the previous one. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd666 at yahoo.com Mon Sep 22 08:44:49 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 22 Sep 2003 06:44:49 -0700 (PDT) Subject: [AccessD] Multiple Checkboxes In-Reply-To: Message-ID: <20030922134449.4860.qmail@web60209.mail.yahoo.com> here you go. there is a little bug with the delimiter Function AddEMail(strCurrentEmail As String, strCurrDep As String, g_strDelimiter As String) As String Dim strNewEMail As String If strCurrentEmail = vbNullString Then strCurrentEmail = strCurrDep Else strCurrentEmail = strCurrentEmail & strDelimiter & strCurrDep End If AddEMail = strCurrentEmail End Function Function CheckDep(strCurrentDep As String) As String Select Case strCurrentDep Case "A" CheckDep = "a at mycomp.com" Case "B" CheckDep = "b at mycomp.com" Case Else End Select End Function Private Sub Command_Click() Dim strEmail As String Dim strDep As String strEmail = vbNullString If Check1 Then strDep = CheckDep("A") strEmail = AddEMail(strEmail, strDep, ";") End If If Check2 Then strDep = CheckDep("B") strEmail = AddEMail(strEmail, strDep, ";") End If MsgBox "You're email is: " & strEmail End Sub --- Terri Jarus wrote: > I have four checkboxes, which if checked, determine > who receives an email. More than one checkbox may > be selected. How do I code this so that all the > applicable recipients are emailed? > > Example - four checkboxes - MS, PH, LB, NF > > If MS is checked - Admin = "MS at email.com" > If LB is checked - Admin = LB at email.com > > But what if MS and LB are both checked? How do I > word this? > > I am having a brain cramp on this. Can't use Select > Case because each check box is a unique field - > right? > > If someone can point me in the right direction, I > would appreciate the help. > > Thanks. > > > > Terri Jarus > Director, Contract Support Services > jarus at amerinet-gpo.com > 314-542-1902 > > > --------------------------------------------------------------------------- > This email and any files transmitted with it are > confidential and > intended solely for the use of the individuals or > entities to whom they > are addressed. If you have received this email in > error please return > it to the sender, and erase any copies thereof. > Copyright 2003 AmeriNet 1nc.> _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From bheid at appdevgrp.com Mon Sep 22 08:47:33 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 22 Sep 2003 09:47:33 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <916187228923D311A6FE00A0CC3FAA30606316@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE7B@ADGSERVER> John, You could always add in a new EIDE controller card that supports drives >128GB. I always leave a small fat32 partition so that I can run Ghost and the like. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, September 22, 2003 9:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com From bheid at appdevgrp.com Mon Sep 22 08:43:18 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 22 Sep 2003 09:43:18 -0400 Subject: [AccessD] Multiple Checkboxes In-Reply-To: <916187228923D311A6FE00A0CC3FAA3060632A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE7A@ADGSERVER> My reply (which has not made it there yet) assumed that the user wanted to send separate e-mails to the users. So my example could be modified to build a list of addresses as in John's example. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, September 22, 2003 9:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Multiple Checkboxes One way would be to use something like: If ChkA then strAddr = "Addr1 at ...;" endif If ChkB then strAddr = strAddr & "Addr2 at ..." endif Thus you build up the address, adding on to the previous one. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Terri Jarus Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 22 09:39:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 22 Sep 2003 09:39:16 -0500 Subject: [AccessD] Using a 160mb hard disk Message-ID: <2F8793082E00D4119A1700B0D0216BF802227226@main2.marlow.com> Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 22 09:41:36 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 22 Sep 2003 09:41:36 -0500 Subject: [AccessD] Viruses from "Microsoft" Message-ID: <2F8793082E00D4119A1700B0D0216BF802227227@main2.marlow.com> I got quite a few of the SoBig and MSBlast ones. But for that, I would get them in spurts of a dozen or so. This patch thing was coming in from 1 to 6 every three minutes (the cycle time on my OE) Drew -----Original Message----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: 9/22/03 1:55 AM Subject: RE: [AccessD] Viruses from "Microsoft" On 21 Sep 2003 at 22:51, Drew Wutka wrote: > I know, I've gotten over 600 of them since Friday. I am beginning to wonder > if people on the list are infected, because the sources are all over the > place! > > Drew > I was hit really bad with Sobig, but so far I've only see half a dozen or so of the new one (touch wood). -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Sep 22 09:44:53 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 22 Sep 2003 07:44:53 -0700 Subject: [AccessD] O2K SP-3 Loses Access Documenter Message-ID: <014c01c38118$156cb5b0$6601a8c0@HAL9002> Dear List: After installing SP-3 for O2K I lost the Documenter. Something about a missing registry entry. Is there a quick way to recover it? MTIA, Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Sep 22 09:47:49 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 10:47:49 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227226@main2.marlow.com> Message-ID: I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 earthlink.net Mon Sep 22 10:01:54 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 22 Sep 2003 11:01:54 -0400 Subject: OT: RE: [AccessD] Fw: Use this patch immediately ! In-Reply-To: <008201c3810d$50290790$6601a8c0@HAL9002> Message-ID: Rocky, <> I do and I don't. One hand it's the logical place to do it, on the other it can cause all kinds of problems. Right now, I'm jumping through hoops with Adelphia to solve a client's VPN problem. Apparently, in an effort to slow down viruses they are filtering ports used by the VPN hardware. So it sounds great, but it's not always because they can break applications. A recent e-mail from Adelphia: " Also, in order to protect the Adelphia network from the Blaster virus Denial of Service attacks from customers who already have the virus and to reduce the possibility of other computers being infected, we are blocking access to ports 135-139, 445 and 553 on our network. This may cause disruptions if you are using the Microsoft Mail Exchange Server services feature in your email client software, VPN software (a.k.a.Tunneling software) to connect to a remote Microsoft Exchange Server, or other similar remote software that uses one of these ports will be unable to connect. " Most software/hardware has work around's, but it's still a PITA to fix when something that has been working fine suddenly stops. In this case, I went through 15 hours of tech support with Netgear, one trip to each site, and a lot of time to finally figure out that is was them (the VPN had worked fine from Dec to July). Ever try to get your ISP to change anything once it's in place? It's near impossible. Took me forever just to get them to admit that they were blocking (a port scanning log I provided finally backed them into a corner). And it's still not fixed. UGH. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, September 22, 2003 9:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Use this patch immediately ! Well, I finally got one. I was beginning to feel left out. The attachment text reads: file attachment: patch.exe This e-mail in its original form contained one or more attached files that were infected with the W32.Dumaru at mm virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. As you can see my ISP (Road Runner) filtered it out for me. Do your ISPs do this, generally? I'm thinking that the ISP is the right place for the anti-virus software to be running. Although this would put and end to a huge industry. Rocky ----- Original Message ----- From: "Microsoft" To: Sent: Monday, September 22, 2003 2:09 AM Subject: Use this patch immediately ! > ALERT!!! > This e-mail in its original form contained one or more attached files that were infected with a virus or worm, or contained another type of security threat. > > The following attachments were infected and have been repaired: > No attachments are in this category. > > The following attachments were deleted due to an inability to clean them: > 1. patch.exe: W32.Dumaru at mm > > The Following attachments were not delivered due to inbound mail policy violations: > No attachments are in this category. > > > Road Runner does not contact the sender of the infected attachment(s) in the event that they were not actually sent from the indicated party. > > Please contact the sender directly to alert them of their issue with infected files if you wish to do so. > > For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. > > ------------ Original message text follows ------------ > > > Dear friend , use this Internet Explorer patch now! > There are dangerous virus in the Internet now! > More than 500.000 already infected! > ---------------------------------------------------------------------------- ---- > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jarus at amerinet-gpo.com Mon Sep 22 10:25:18 2003 From: jarus at amerinet-gpo.com (Terri Jarus) Date: Mon, 22 Sep 2003 10:25:18 -0500 Subject: [AccessD] Multiple Checkboxes Message-ID: Thanks for all the suggestions. Bobby's suggestion is most in line with what I'm trying to do. And, I just tried it and it works. I had to make it more complex, though, as the fields are on a subform, but I got it. Thanks again to everyone. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 >>> bheid at appdevgrp.com 09/22/03 08:38AM >>> Hi Terri, In your situation, what I do is name the check boxes serially. Like chkRecip1,chkRecip2,...chkRecip1N. Then I would loop though them and process then that way. Air code: 'you could use a select statement like for i=1 to 4 if me("chkRecip" & i) then select case i case 1 checked_Admin = "MS at email.com" case 2 checked_Admin = "LB at email.com" case 3 checked_Admin = "#5 at email.com" case 4 checked_Admin = #4 at email.com end select SendMail checked_Admin 'function to send the mail end if next i ' or you could set up an array of e-mail addresses first dim strAddr(3) strAddr(0)="MS at email.com" strAddr(1)="MS2 at email.com" strAddr(2)="MS3 at email.com" strAddr(3)="MS4 at email.com" for i=1 to 4 if me("chkRecip" & i) then SendMail strAddr(i) end if next i Hope this helps, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Terri Jarus Sent: Monday, September 22, 2003 9:15 AM To: accessd at databaseadvisors.com Subject: [AccessD] Multiple Checkboxes I have four checkboxes, which if checked, determine who receives an email. More than one checkbox may be selected. How do I code this so that all the applicable recipients are emailed? Example - four checkboxes - MS, PH, LB, NF If MS is checked - Admin = "MS at email.com" If LB is checked - Admin = LB at email.com But what if MS and LB are both checked? How do I word this? I am having a brain cramp on this. Can't use Select Case because each check box is a unique field - right? If someone can point me in the right direction, I would appreciate the help. Thanks. Terri Jarus Director, Contract Support Services jarus at amerinet-gpo.com 314-542-1902 --------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individuals or entities to whom they are addressed. If you have received this email in error please return it to the sender, and erase any copies thereof. Copyright 2003 AmeriNet 1nc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Mon Sep 22 10:44:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 22 Sep 2003 10:44:48 -0500 Subject: [AccessD] Viruses from "Microsoft" Message-ID: <2F8793082E00D4119A1700B0D0216BF80222722A@main2.marlow.com> Apparently not, but I can certainly forward them to you if you want! Drew -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Monday, September 22, 2003 7:17 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Viruses from "Microsoft" And I haven't gotten even one. I guess I'm just not popular ;-) Gary Kjos garykjos at hotmail.com >From: Drew Wutka >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Viruses from "Microsoft" >Date: Sun, 21 Sep 2003 22:51:48 -0500 > >I know, I've gotten over 600 of them since Friday. I am beginning to >wonder >if people on the list are infected, because the sources are all over the >place! > >Drew > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Saturday, September 20, 2003 12:07 PM >To: AccessD >Subject: [AccessD] Viruses from "Microsoft" > > >Just a heads up: > >My anti-virus software caught two messages bearing "gifts" today, allegedly >from Microsoft. One of the messages looks exactly like the MS security page >but if you look carefully at the sender info, you can see that it's not >really from Microsoft. > >The message subjects are "Last Security Bulletin" and "Newest Security >Bulletin". > >Arthur >--- _________________________________________________________________ Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more. Sign up now! http://join.msn.com/?page=dept/byoa _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 22 10:47:24 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 22 Sep 2003 10:47:24 -0500 Subject: [AccessD] Using a 160mb hard disk Message-ID: <2F8793082E00D4119A1700B0D0216BF80222722B@main2.marlow.com> Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Mon Sep 22 10:51:28 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 22 Sep 2003 11:51:28 -0400 Subject: [AccessD] Vertical lines that keep up with a Can Grow textbox?/A2K Message-ID: I have a request to have vertical lines on a subreport between textboxes on a row. How can I make them keep up with the textbox as it grows? Making the border solid is no good since the border is always the size of the textbox, and the bigger ones (more 'grown') are uneven with the 'ungrown' (Sounds like a horror movie 'the ungrown') - Please keep this from becoming a horror movie!! _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From Philippe.Pons19 at wanadoo.fr Mon Sep 22 10:51:03 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe.Pons19) Date: Mon, 22 Sep 2003 17:51:03 +0200 Subject: [AccessD] Security interface with Access runtime Message-ID: <004f01c38121$5b2aa090$9d070f50@linceo> Hi all, I'm finishing an Access application, and the user needs to be able to handle groups and users for user level security. However, this app. will run under the Access runtime, from where the build-in security interface is not available. I guess it is needed to design and develop a proprietary user interface. Do you know of any example that could show me the right track to do this? TIA, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Mon Sep 22 11:00:58 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 18:00:58 +0200 Subject: [AccessD] Vertical lines that keep up with a Can Grow textbox?/A2K In-Reply-To: References: Message-ID: <15632644290.20030922180058@cactus.dk> Hi Don Visit Stephen Lebans' site for some tips: http://www.lebans.com/PrintLines.htm /gustav > I have a request to have vertical lines on a subreport between textboxes on > a row. How can I make them keep up with the textbox as it grows? Making the > border solid is no good since the border is always the size of the textbox, > and the bigger ones (more 'grown') are uneven with the 'ungrown' > (Sounds like a horror movie 'the ungrown') - > Please keep this from becoming a horror movie!! From cfoust at infostatsystems.com Mon Sep 22 11:04:13 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2003 09:04:13 -0700 Subject: [AccessD] Fw: Use this patch immediately ! Message-ID: You can have all mine, Rocky. I've been getting both the HTML "patch" message and the "rejected mail" message since last week. Since Friday, I got over 100 of them, all caught by my antivirus. Interestingly, the NAV on the Exchange Server caught the "rejected mail" message viruses all along, but our desktop NAV didn't get updated until Friday. Until then, my Outlook security blocked the HTML message attachment but NAV missed it. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, September 22, 2003 5:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Use this patch immediately ! Well, I finally got one. I was beginning to feel left out. The attachment text reads: file attachment: patch.exe This e-mail in its original form contained one or more attached files that were infected with the W32.Dumaru at mm virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. As you can see my ISP (Road Runner) filtered it out for me. Do your ISPs do this, generally? I'm thinking that the ISP is the right place for the anti-virus software to be running. Although this would put and end to a huge industry. Rocky ----- Original Message ----- From: "Microsoft" To: Sent: Monday, September 22, 2003 2:09 AM Subject: Use this patch immediately ! > ALERT!!! > This e-mail in its original form contained one or more attached files > that were infected with a virus or worm, or contained another type of security threat. > > The following attachments were infected and have been repaired: No > attachments are in this category. > > The following attachments were deleted due to an inability to clean > them: 1. patch.exe: W32.Dumaru at mm > > The Following attachments were not delivered due to inbound mail > policy violations: > No attachments are in this category. > > > Road Runner does not contact the sender of the infected attachment(s) > in the event that they were not actually sent from the indicated party. > > Please contact the sender directly to alert them of their issue with infected files if you wish to do so. > > For more information on Road Runner's virus filtering initiative, > visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. > > ------------ Original message text follows ------------ > > > Dear friend , use this Internet Explorer patch now! > There are dangerous virus in the Internet now! > More than 500.000 already infected! > ------------------------------------------------------------------------ ---- ---- > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 22 11:09:16 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2003 09:09:16 -0700 Subject: [AccessD] Date issues in Access Message-ID: What do you mean by localized in this context, Gustav? Using "mmmm" as a format will result in the full month name in whatever language, and using "mmm" will result in the month abbreviation. Of course, the abbreviation may not be 3 characters in every language, but "mmm" adapts to that and displays the longer abbreviation. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Monday, September 22, 2003 2:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Date issues in Access Hi Stuart Nope, mmm is localized. /gustav > Just curious... > Does this work for internation systems? > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > Note mmm, not mm. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Mon Sep 22 11:21:17 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Mon, 22 Sep 2003 11:21:17 -0500 Subject: [AccessD] Security interface with Access runtime Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFE17@cntexchange.pgdp.usec.com> Check out John Colby's site - Lightweight Security. It is Great! http://www.colbyconsulting.com/ -----Original Message----- From: Philippe.Pons19 [mailto:Philippe.Pons19 at wanadoo.fr] Sent: Monday, September 22, 2003 10:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security interface with Access runtime Hi all, I'm finishing an Access application, and the user needs to be able to handle groups and users for user level security. However, this app. will run under the Access runtime, from where the build-in security interface is not available. I guess it is needed to design and develop a proprietary user interface. Do you know of any example that could show me the right track to do this? TIA, Philippe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Mon Sep 22 11:22:28 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 12:22:28 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222722B@main2.marlow.com> Message-ID: Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Sep 22 11:29:10 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Sep 2003 09:29:10 -0700 Subject: [AccessD] text-to-speech? References: <20030922132811.29387.qmail@web60203.mail.yahoo.com> Message-ID: <3F6F2356.6030902@shaw.ca> I suppose it is possible to grab your incoming mail from Outlook into Access. Text to speech is easy depending on the speech engine, I have written talking clocks in Access 97. But writing the selection procedures from Outlook or rewinding to a particular point in the text for a long message may not be non-trivial. Sad Der wrote: >hi group, > >i'm in a great position here... just in the center of >a big war between 2 companies. > >In short: >is it possible in A2K to use text-to-speech for >incoming e-mail? > >I've something about on msdn but this was all C++ >related. > >SD > > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From jcolby at colbyconsulting.com Mon Sep 22 11:34:05 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 12:34:05 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <001101c37f37$b98e1090$3e691442@hive> Message-ID: Great article. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jmoss111 Sent: Saturday, September 20, 2003 1:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Using a 160mb hard disk I thought that there was a FAT limitation which is true for FAT16 but not for NTFS or FAT32 which has a limitation of 2TBs. See http://www.dewassoc.com/kbase/hard_drives/hard_drive_size_barriers.htm ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Friday, September 19, 2003 8:39 PM Subject: [AccessD] Using a 160mb hard disk > The hard disk on my server (a 40gb maxtor) was filled up, so I bought a > 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any > disk larger than 135gb until SP3. Which begs the question, how do you > install Win2K base on a disk it can't use correctly? > > I tried a simple install, and it tries to do a format but fails saying the > disk is corrupted. I'm now trying to use the original server system updated > to SP3 to format the disk, but even assuming that I manage that, It seems > unlikely that I will persuade the Win2K setup disk to recognize the existing > / formatted partition given that the setup disk is not at SP3. > > Is there any way to install Windows on a second drive while already running > Windows? Is there any way around this or do I simply have to live with > booting up with the 40g drive and using the 160 g drive as pure storage once > I get SP3 installed and the registry hack done? > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Sep 22 11:40:56 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 18:40:56 +0200 Subject: [AccessD] Date issues in Access In-Reply-To: References: Message-ID: <7535042488.20030922184056@cactus.dk> Hi Charlotte I may have misunderstood the question of Stuart. In code nothing is localized. As you know, you have to use US syntax. In the SQL GUI, _displayed_ code is localized: Format(Now(),"dd/mmm/yyyy hh:nn:ss") AS Dat displays: Dat: Format(Now();"dd-mmm-???? tt:nn:ss") and would return, in October, this localized result: 22-oktober-2003 18:35:38 I had the result in mind. /gustav > What do you mean by localized in this context, Gustav? Using "mmmm" as > a format will result in the full month name in whatever language, and > using "mmm" will result in the month abbreviation. Of course, the > abbreviation may not be 3 characters in every language, but "mmm" adapts > to that and displays the longer abbreviation. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Monday, September 22, 2003 2:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Date issues in Access > Hi Stuart > Nope, mmm is localized. > /gustav >> Just curious... >> Does this work for internation systems? >> StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") >> Note mmm, not mm. From Philippe.Pons19 at wanadoo.fr Mon Sep 22 11:53:29 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Mon, 22 Sep 2003 18:53:29 +0200 Subject: [AccessD] Security interface with Access runtime References: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFE17@cntexchange.pgdp.usec.com> Message-ID: <009701c3812a$129f86c0$9d070f50@linceo> Thank's Virginia, I'll check it Philippe ----- Original Message ----- From: Hollis,Virginia To: 'Access Developers discussion and problem solving' Sent: Monday, September 22, 2003 6:21 PM Subject: RE: [AccessD] Security interface with Access runtime Check out John Colby's site - Lightweight Security. It is Great! http://www.colbyconsulting.com/ -----Original Message----- From: Philippe.Pons19 [mailto:Philippe.Pons19 at wanadoo.fr] Sent: Monday, September 22, 2003 10:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security interface with Access runtime Hi all, I'm finishing an Access application, and the user needs to be able to handle groups and users for user level security. However, this app. will run under the Access runtime, from where the build-in security interface is not available. I guess it is needed to design and develop a proprietary user interface. Do you know of any example that could show me the right track to do this? TIA, Philippe. ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DElam at jenkens.com Mon Sep 22 12:07:57 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 22 Sep 2003 12:07:57 -0500 Subject: [AccessD] Vertical lines that keep up with a Can Grow textbox ?/A2K Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C62906B@natexch.jenkens.com> I put vertical lines in that fill the length of a section the following way: Dim X As Single Me.ScaleMode = 5 Me.DrawWidth = 3 X = 0 Me.Line (X, 0)-(X, 22) X = 1.0104 Me.Line (X, 0)-(X, 22) X = 1.9583 Me.Line (X, 0)-(X, 22) X = 2.7813 Me.Line (X, 0)-(X, 22) X = 4.5938 Me.Line (X, 0)-(X, 22) I put this code in the section On Format event and the X= corresponds to the spot where the line is drawn. I make it equal to the left property of the field I want delineated. I can add and subtract the number of times I do this to the number of lines. I have 5 lines above. Debbie -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Monday, September 22, 2003 10:51 AM To: accessd at databaseadvisors.com Subject: [AccessD] Vertical lines that keep up with a Can Grow textbox?/A2K I have a request to have vertical lines on a subreport between textboxes on a row. How can I make them keep up with the textbox as it grows? Making the border solid is no good since the border is always the size of the textbox, and the bigger ones (more 'grown') are uneven with the 'ungrown' (Sounds like a horror movie 'the ungrown') - Please keep this from becoming a horror movie!! _D "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From gustav at cactus.dk Mon Sep 22 12:11:12 2003 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2003 19:11:12 +0200 Subject: [AccessD] Security interface with Access runtime In-Reply-To: <004f01c38121$5b2aa090$9d070f50@linceo> References: <004f01c38121$5b2aa090$9d070f50@linceo> Message-ID: <7436858489.20030922191112@cactus.dk> Hi Philippe You may get some ideas at Steve Nyberg's page: http://www.mile50.com/access/index.htm Look for Password Changer. /gustav > I'm finishing an Access application, and the user needs to be able to handle groups and users for user level security. > However, this app. will run under the Access runtime, from where the build-in security interface is not available. > I guess it is needed to design and develop a proprietary user interface. > Do you know of any example that could show me the right track to do this? From clh at christopherhawkins.com Mon Sep 22 12:31:46 2003 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 22 Sep 2003 11:31:46 -0600 Subject: [AccessD] A2K2: Cannot capture arrow keys in macro?!? Message-ID: <157700-220039122173146669@christopherhawkins.com> All, I'm trying to put together an AutoKeys macro that will capture the arrow keys. So far, no luck. A2K2 doesn't seem to like the {UP} and {DOWN} that worked in years gone by, with older (and better?) versions of Access. Of course, the help files tell me next to nothing. Has there been a syntax change? Are the arrow keys non-trappable now? Am I overlooking an option setting someplace? Heeeeeeeeeelp... -Christopher- From Philippe.Pons19 at wanadoo.fr Mon Sep 22 12:44:19 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Mon, 22 Sep 2003 19:44:19 +0200 Subject: [AccessD] Security interface with Access runtime References: <004f01c38121$5b2aa090$9d070f50@linceo> <7436858489.20030922191112@cactus.dk> Message-ID: <00a501c38131$2d0a3490$9d070f50@linceo> Thank's Gustav, I'll give it a look! Philippe. ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Monday, September 22, 2003 7:11 PM Subject: Re: [AccessD] Security interface with Access runtime > Hi Philippe > > You may get some ideas at Steve Nyberg's page: > > http://www.mile50.com/access/index.htm > > Look for Password Changer. > > /gustav > > > > I'm finishing an Access application, and the user needs to be able to handle groups and users for user level security. > > However, this app. will run under the Access runtime, from where the build-in security interface is not available. > > > I guess it is needed to design and develop a proprietary user interface. > > > Do you know of any example that could show me the right track to do this? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Sep 22 12:54:05 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Mon, 22 Sep 2003 12:54:05 -0500 Subject: [AccessD] Using a 160mb hard disk Message-ID: <2F8793082E00D4119A1700B0D0216BF80222722E@main2.marlow.com> Odd, it should offer it every time. Of course, all of our w2k CD's are SP1. that could be the difference. But NT 4.0 installs the same way......go figure. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Sep 22 13:35:24 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 22 Sep 2003 11:35:24 -0700 Subject: [AccessD] Using a 160mb hard disk Message-ID: <657FB70438B7D311AF320090279C1801026D7BCD@EXCHMAIL> John, I've installed a 200 GB Western Digital HDD and a 160GB WD HDD in two separate computers with no prob. The 160 was partitioned into 3 partitions, I forget what I did with the 200 GB. Both were on AMD systems using an ECS K7S5A motherboards. Its probably a motherboard/BIOS issue. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Odd, it should offer it every time. Of course, all of our w2k CD's are SP1. that could be the difference. But NT 4.0 installs the same way......go figure. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Sep 22 13:49:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 14:49:07 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <657FB70438B7D311AF320090279C1801026D7BCD@EXCHMAIL> Message-ID: Was this a clean windows install on these hard disks or adding them in to an existing system with Win2K at least SP3? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk John, I've installed a 200 GB Western Digital HDD and a 160GB WD HDD in two separate computers with no prob. The 160 was partitioned into 3 partitions, I forget what I did with the 200 GB. Both were on AMD systems using an ECS K7S5A motherboards. Its probably a motherboard/BIOS issue. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Odd, it should offer it every time. Of course, all of our w2k CD's are SP1. that could be the difference. But NT 4.0 installs the same way......go figure. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.be Mon Sep 22 14:23:42 2003 From: Erwin.Craps at ithelps.be (Erwin Craps) Date: Mon, 22 Sep 2003 21:23:42 +0200 Subject: [AccessD] Fw: Use this patch immediately ! Message-ID: It's not the first time NAV is a couple of days to late with an update for a rapid spreading virus. Also knew two virusses that disabled NAV ... Erwin Craps Zaakvoerder www.ithelps.be/jonathan 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.be * www.boxoffice.be * www.stadleuven.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.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2003 6:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: Use this patch immediately ! You can have all mine, Rocky. I've been getting both the HTML "patch" message and the "rejected mail" message since last week. Since Friday, I got over 100 of them, all caught by my antivirus. Interestingly, the NAV on the Exchange Server caught the "rejected mail" message viruses all along, but our desktop NAV didn't get updated until Friday. Until then, my Outlook security blocked the HTML message attachment but NAV missed it. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, September 22, 2003 5:28 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Use this patch immediately ! Well, I finally got one. I was beginning to feel left out. The attachment text reads: file attachment: patch.exe This e-mail in its original form contained one or more attached files that were infected with the W32.Dumaru at mm virus or worm. They have been removed. For more information on Road Runner's virus filtering initiative, visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. As you can see my ISP (Road Runner) filtered it out for me. Do your ISPs do this, generally? I'm thinking that the ISP is the right place for the anti-virus software to be running. Although this would put and end to a huge industry. Rocky ----- Original Message ----- From: "Microsoft" To: Sent: Monday, September 22, 2003 2:09 AM Subject: Use this patch immediately ! > ALERT!!! > This e-mail in its original form contained one or more attached files > that were infected with a virus or worm, or contained another type of security threat. > > The following attachments were infected and have been repaired: No > attachments are in this category. > > The following attachments were deleted due to an inability to clean > them: 1. patch.exe: W32.Dumaru at mm > > The Following attachments were not delivered due to inbound mail > policy violations: > No attachments are in this category. > > > Road Runner does not contact the sender of the infected attachment(s) > in the event that they were not actually sent from the indicated party. > > Please contact the sender directly to alert them of their issue with infected files if you wish to do so. > > For more information on Road Runner's virus filtering initiative, > visit our Help & Member Services pages at http://help.rr.com, or the virus filtering information page directly at http://help.rr.com/faqs/e_mgsp.html. > > ------------ Original message text follows ------------ > > > Dear friend , use this Internet Explorer patch now! > There are dangerous virus in the Internet now! > More than 500.000 already infected! > ------------------------------------------------------------------------ ---- ---- > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Sep 22 17:23:48 2003 From: artful at rogers.com (Arthur Fuller) Date: Mon, 22 Sep 2003 15:23:48 -0700 Subject: [AccessD] Date issues in Access In-Reply-To: Message-ID: I haven't been following this thread too closely, but it seems reasonable that any given instance of a database would use only one of the international formats. In which case, why not define a bunch of date formats as constants, and then during the setup procedure present the list of date formats and either get the user to select one, or alternatively base it on the country in which the user is based? Either way, then the calls for Format() would use the constant. Just a thought. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, September 22, 2003 4:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date issues in Access Yes, but my understanding was that the localised string for months isn't the same for all versions. Ie not all versions use "mm" for month, "dd" for day, etc. If that is the case (and I'm remembering from access 97 days, so I might well be wrong), then "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#" wouldn't work in all regions, because you'd have to substitute the various characters for their local equivalents. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Monday, 22 September, 2003 7:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Date issues in Access > > > Hi Stuart > > No ... mm is the month numeric value formatted with a leading zero for > months with one digit. > > /gustav > > > > Yeah but isn't mm also localised? If so how is > > > StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") > > > Any different? > > > As I said, I'm curious :) > > > Stuart > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > >> Gustav Brock > >> Sent: Monday, 22 September, 2003 6:25 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Date issues in Access > >> > >> > >> Hi Stuart > >> > >> Nope, mmm is localized. > >> > >> /gustav > >> > >> > >> > >> > Just curious... > >> > >> > Does this work for internation systems? > >> > >> > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > >> > >> > Note mmm, not mm. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From DMcAfee at haascnc.com Mon Sep 22 14:43:30 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 22 Sep 2003 12:43:30 -0700 Subject: [AccessD] Using a 160mb hard disk Message-ID: <657FB70438B7D311AF320090279C1801026D7BCF@EXCHMAIL> Clean windows install. I usually ghost with a cleandos.gho file then install W2K which prompts if I want to delete a partition (which I do). I then create a new partion (20 to 40 GB) then format it (NTFS). I then ghost my last HDD image onto that new ghosted partition. once boot up, I can create partitions and format the rest of the HDD from within W2K. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 22, 2003 11:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Was this a clean windows install on these hard disks or adding them in to an existing system with Win2K at least SP3? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk John, I've installed a 200 GB Western Digital HDD and a 160GB WD HDD in two separate computers with no prob. The 160 was partitioned into 3 partitions, I forget what I did with the 200 GB. Both were on AMD systems using an ECS K7S5A motherboards. Its probably a motherboard/BIOS issue. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Odd, it should offer it every time. Of course, all of our w2k CD's are SP1. that could be the difference. But NT 4.0 installs the same way......go figure. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Mon Sep 22 14:54:36 2003 From: delliker at hotmail.com (Don Elliker) Date: Mon, 22 Sep 2003 15:54:36 -0400 Subject: [AccessD] Vertical lines that keep up with a Can Grow textbox?/A2K Message-ID: Very nice! Thanks, did the trick. _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: "Elam, Debbie" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] Vertical lines that keep up with a Can Grow >textbox?/A2K >Date: Mon, 22 Sep 2003 12:07:57 -0500 > >I put vertical lines in that fill the length of a section the following >way: > >Dim X As Single >Me.ScaleMode = 5 >Me.DrawWidth = 3 >X = 0 >Me.Line (X, 0)-(X, 22) >X = 1.0104 >Me.Line (X, 0)-(X, 22) >X = 1.9583 >Me.Line (X, 0)-(X, 22) >X = 2.7813 >Me.Line (X, 0)-(X, 22) >X = 4.5938 >Me.Line (X, 0)-(X, 22) > >I put this code in the section On Format event and the X= corresponds to >the >spot where the line is drawn. I make it equal to the left property of the >field I want delineated. I can add and subtract the number of times I do >this to the number of lines. I have 5 lines above. > >Debbie > > >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Monday, September 22, 2003 10:51 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Vertical lines that keep up with a Can Grow >textbox?/A2K > > >I have a request to have vertical lines on a subreport between textboxes on >a row. How can I make them keep up with the textbox as it grows? Making the >border solid is no good since the border is always the size of the textbox, >and the bigger ones (more 'grown') are uneven with the 'ungrown' > >(Sounds like a horror movie 'the ungrown') - > >Please keep this from becoming a horror movie!! > >_D > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >Help protect your PC. Get a FREE computer virus scan online from McAfee. >http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >- JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject >to the Attorney-Client Privilege, (2) an attorney work product, or (3) >strictly confidential. If you are not the intended recipient of this >message, you may not disclose, print, copy or disseminate this information. >If you have received this in error, please reply and notify the sender >(only) and delete the message. Unauthorized interception of this e-mail is >a >violation of federal criminal law. > > This communication does not reflect an intention by the sender or the >sender's client or principal to conduct a transaction or make any agreement >by electronic means. Nothing contained in this message or in any >attachment >shall satisfy the requirements for a writing, and nothing contained herein >shall constitute a contract or electronic signature under the Electronic >Signatures in Global and National Commerce Act, any version of the Uniform >Electronic Transactions Act or any other statute governing electronic >transactions. > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Instant message in style with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com From cfoust at infostatsystems.com Mon Sep 22 14:55:35 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2003 12:55:35 -0700 Subject: [AccessD] Date issues in Access Message-ID: The idea is for the format to adjust itself based on the specified formats in the regional settings of the machine, I believe. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, September 22, 2003 2:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date issues in Access I haven't been following this thread too closely, but it seems reasonable that any given instance of a database would use only one of the international formats. In which case, why not define a bunch of date formats as constants, and then during the setup procedure present the list of date formats and either get the user to select one, or alternatively base it on the country in which the user is based? Either way, then the calls for Format() would use the constant. Just a thought. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Sent: Monday, September 22, 2003 4:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Date issues in Access Yes, but my understanding was that the localised string for months isn't the same for all versions. Ie not all versions use "mm" for month, "dd" for day, etc. If that is the case (and I'm remembering from access 97 days, so I might well be wrong), then "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#" wouldn't work in all regions, because you'd have to substitute the various characters for their local equivalents. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Monday, 22 September, 2003 7:30 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Date issues in Access > > > Hi Stuart > > No ... mm is the month numeric value formatted with a leading zero for > months with one digit. > > /gustav > > > > Yeah but isn't mm also localised? If so how is > > > StrDateSQL = Format(dat, "\#mm\/dd\/yyyy hh\:nn\:ss AM/PM\#") > > > Any different? > > > As I said, I'm curious :) > > > Stuart > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > >> Brock > >> Sent: Monday, 22 September, 2003 6:25 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] Date issues in Access > >> > >> > >> Hi Stuart > >> > >> Nope, mmm is localized. > >> > >> /gustav > >> > >> > >> > >> > Just curious... > >> > >> > Does this work for internation systems? > >> > >> > StrDateSQL = Format(dat, "\#dd\/mmm\/yyyy hh\:nn\:ss AM/PM\#") > >> > >> > Note mmm, not mm. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Mon Sep 22 15:01:29 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 16:01:29 -0400 Subject: [AccessD] Using a 160mb hard disk In-Reply-To: <657FB70438B7D311AF320090279C1801026D7BCF@EXCHMAIL> Message-ID: I'm confused. You take a system, put a new large hard disk in it as the disk 0, put a rev0 win2k setup disk in the cd and do an install? All this "ghost" stuff is obscuring the picture of what you are doing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 3:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Clean windows install. I usually ghost with a cleandos.gho file then install W2K which prompts if I want to delete a partition (which I do). I then create a new partion (20 to 40 GB) then format it (NTFS). I then ghost my last HDD image onto that new ghosted partition. once boot up, I can create partitions and format the rest of the HDD from within W2K. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 22, 2003 11:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Was this a clean windows install on these hard disks or adding them in to an existing system with Win2K at least SP3? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk John, I've installed a 200 GB Western Digital HDD and a 160GB WD HDD in two separate computers with no prob. The 160 was partitioned into 3 partitions, I forget what I did with the 200 GB. Both were on AMD systems using an ECS K7S5A motherboards. Its probably a motherboard/BIOS issue. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Odd, it should offer it every time. Of course, all of our w2k CD's are SP1. that could be the difference. But NT 4.0 installs the same way......go figure. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 11:22 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Well... it MAY have offered the very first time but I don't think so. Remember that it was having problems even figuring out what the disk was - since the install CD was SP0 (so to speak) it didn't understand the size. At any rate, after that first install attempt (and there were MANY!) it definitely just started formatting. That may very well be simply that a partition already existed but appeared to be unformatted. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 11:47 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Huh? How were you installing Windows 2000? You should boot from the CD-Rom, which loads various drivers, prompts for various License Agreements, but then let's you make whatever partitions you want. I have never seen it 'launch' into a formatting routine. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Monday, September 22, 2003 9:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I wasn't offered a choice. Windows didn't ask what size I wanted, didn't offer to partition it, just launched into formatting the drive as it understood it. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Monday, September 22, 2003 10:39 AM To: 'Access Developers discussion and problem solving ' Subject: RE: [AccessD] Using a 160mb hard disk Why not just format a small 4,6, or 8 gig partition during the installation. Why try to format the whole thing? Oh well, as you said, the fiasco is over. Drew -----Original Message----- From: John Colby To: Access Developers discussion and problem solving Sent: 9/22/03 8:07 AM Subject: RE: [AccessD] Using a 160mb hard disk It's all over now, but not resolved the way I had intended nor wanted. My intention was to install the 160gb drive, carve out about 40g for the OS and Program Files, and use the other 120g for data. the problem I immediately ran into is that Windows 2K simply doesn't understand drives larger than ~135 gb. Windows put support into SP3 so IF you happen to have a copy of Win2K SP3, i.e. the Windows 2K installation disks WITH SP3 already installed (and it appears they are available) then you would probably never run into the problems I encountered. I wanted to use the install disk to partition and format the drive. That simply failed. The install SAID it was formatting a 120gb partition (my first sign of trouble) but after 2 hours of formatting this behemoth, it failed saying the disk was corrupted or damaged (or some such). Sigh. And the weekend is shot to hell. I tried using Maxstore's excellent max blast - that didn't work. I went to Samsung's site (the HD manufacturer) and found a similar program. Used it to create partitions. That seemed to work, could be seen etc but was now loading a multiboot manager before Windows, which isn't enough of a problem all by itself not to use it. However some programs were now failing (Norton utilities? Don't remember.) I ended up (after HOURS AND HOURS of dicking around trying this that and the other) downloading a shareware program called BootitNG. This program correctly partitioned the disk. I then ran Win2K SP4 from my EXISTING 15gb partition on my 40Gb original hard disk which could now see the partitions (but said unknown size). I ran a quick format on both 80 g partitions (that's what I decided on since the disk would be data only) and Windows2K was now happy with these two partitions, I.e. I could read / write to them. I then moved all the data from my 2 old data partitions of the 40g drive, deleted these partitions, and used BootitNG to resize the remaining boot partition so that Win2K and Program Files has the entire 40g drive and my data all resides on the two 80g partitions. An entire day shot screwing around with this. Had I known what I was facing I would have simply bought a 120g drive that Windows could just understand and been done with it. 8-( And yes, I also use NTFS everywhere. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drew Wutka Sent: Sunday, September 21, 2003 11:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Are you trying to install to the full 160 gig? If so, don't do that JC. Create a 4, 6, or 8 gig partition, and install the OS to that. Preferably install software to another partition (on another drive if possible.), and then create a 'Data' partition. The smaller OS partition size may sound like folklore, but there are reasons for everything. In the Root drive case, when you 'format' a drive, it builds a 'Table of Contents' for the drive. (If you look at a drive with Windows 2000, which is completely blank/freshly formatted, you'll see that several megs are already used, that's the partition info. The larger the partition, the bigger that database is going to be, and on top of that, the more time it takes to find things. (Indexing on a larger database is slower, right?). Also, I have talked to a few developers, here and there, and have found that many are using FAT32 drives, instead of NTFS. I HIGHLY recommend that everything get's set to NTFS, that can be. There are utilities available (free ones) that you can install on 9x OSes, that enable them to read NTFS, which eliminates the only concern of using NTFS. Drew -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 19, 2003 8:39 PM To: AccessD Subject: [AccessD] Using a 160mb hard disk The hard disk on my server (a 40gb maxtor) was filled up, so I bought a 160gb drive for $120 at Newegg. It seems that Windows 2K cannot use any disk larger than 135gb until SP3. Which begs the question, how do you install Win2K base on a disk it can't use correctly? I tried a simple install, and it tries to do a format but fails saying the disk is corrupted. I'm now trying to use the original server system updated to SP3 to format the disk, but even assuming that I manage that, It seems unlikely that I will persuade the Win2K setup disk to recognize the existing / formatted partition given that the setup disk is not at SP3. Is there any way to install Windows on a second drive while already running Windows? Is there any way around this or do I simply have to live with booting up with the 40g drive and using the 160 g drive as pure storage once I get SP3 installed and the registry hack done? John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DMcAfee at haascnc.com Mon Sep 22 15:29:11 2003 From: DMcAfee at haascnc.com (David McAfee) Date: Mon, 22 Sep 2003 13:29:11 -0700 Subject: [AccessD] Using a 160mb hard disk Message-ID: <657FB70438B7D311AF320090279C1801026D7BD0@EXCHMAIL> Sorry. I do it either way. Fresh clean install and/or upgrading to a larger hard drive. I entered this thread a little late. 1. What are you doing, fresh install or upgrading? 2. Do you want to: A. use the HDD as your primary HDD w/o any partitions, clean/fresh W2K install? B. use the HDD as your primary HDD w/o any partitions and ghost a partition back onto this drive (keeping all 160GB as C:\) C. Create a 40 GB (your original HDD size?) primary partition, and ghost your original HDD (as a partition) onto this partition? leaving the rest of the HDD as storage drives. 3. Do you have a copy of Ghost or GhostPE? D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 22, 2003 1:01 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk I'm confused. You take a system, put a new large hard disk in it as the disk 0, put a rev0 win2k setup disk in the cd and do an install? All this "ghost" stuff is obscuring the picture of what you are doing. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 3:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk Clean windows install. I usually ghost with a cleandos.gho file then install W2K which prompts if I want to delete a partition (which I do). I then create a new partion (20 to 40 GB) then format it (NTFS). I then ghost my last HDD image onto that new ghosted partition. once boot up, I can create partitions and format the rest of the HDD from within W2K. HTH David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 22, 2003 11:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Using a 160mb hard disk Was this a clean windows install on these hard disks or adding them in to an existing system with Win2K at least SP3? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, September 22, 2003 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Using a 160mb hard disk John, I've installed a 200 GB Western Digital HDD and a 160GB WD HDD in two separate computers with no prob. The 160 was partitioned into 3 partitions, I forget what I did with the 200 GB. Both were on AMD systems using an ECS K7S5A motherboards. Its probably a motherboard/BIOS issue. D From martyconnelly at shaw.ca Mon Sep 22 18:25:35 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Sep 2003 16:25:35 -0700 Subject: [AccessD] A2K2: Cannot capture arrow keys in macro?!? References: <157700-220039122173146669@christopherhawkins.com> Message-ID: <3F6F84EF.5000903@shaw.ca> Can't you use at the appropriate spot in code If keyCode = vbKeyUp or vbKeyDown Maybe look under Ascii or Keycode Constants. Christopher Hawkins wrote: >All, > >I'm trying to put together an AutoKeys macro that will capture the >arrow keys. So far, no luck. A2K2 doesn't seem to like the {UP} and >{DOWN} that worked in years gone by, with older (and better?) >versions of Access. > >Of course, the help files tell me next to nothing. Has there been a >syntax change? Are the arrow keys non-trappable now? Am I >overlooking an option setting someplace? > >Heeeeeeeeeelp... > >-Christopher- > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From bchacc at san.rr.com Mon Sep 22 19:49:28 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 22 Sep 2003 17:49:28 -0700 Subject: [AccessD] A2K2: Cannot capture arrow keys in macro?!? References: <157700-220039122173146669@christopherhawkins.com> <3F6F84EF.5000903@shaw.ca> Message-ID: <032801c3816c$8b027130$6601a8c0@HAL9002> Chris: Set Key Preview to Yes and use the form event OnKeyDown. This will capture the non-printable keystrokes in the KeyCode variable. Keypress only gives you the printable keystrokes in the KeyAscii variable. HTH Rocky Smolin Beach Access Software ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Monday, September 22, 2003 4:25 PM Subject: Re: [AccessD] A2K2: Cannot capture arrow keys in macro?!? > Can't you use at the appropriate spot in code > > If keyCode = vbKeyUp or vbKeyDown > > Maybe look under Ascii or Keycode Constants. > > Christopher Hawkins wrote: > > >All, > > > >I'm trying to put together an AutoKeys macro that will capture the > >arrow keys. So far, no luck. A2K2 doesn't seem to like the {UP} and > >{DOWN} that worked in years gone by, with older (and better?) > >versions of Access. > > > >Of course, the help files tell me next to nothing. Has there been a > >syntax change? Are the arrow keys non-trappable now? Am I > >overlooking an option setting someplace? > > > >Heeeeeeeeeelp... > > > >-Christopher- > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Mon Sep 22 20:34:13 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 22 Sep 2003 20:34:13 -0500 Subject: [AccessD] OT: Friday humor References: Message-ID: <003801c38172$d3d396e0$1b06d018@W2k> Billy, >> But if that song was done by someone else other than Weird Al, some people may find that song offensive as it promotes a negative stereotype towards Chinese. << Why would it make a difference if the song was done by someone other than Weird Al? It wasn't, by the way; but what legitimizes Weird Al as opposed to somebody with too much time on their hands? Regards, Steve Erbach Scientific Marketing Neenah, WI "I think we should fight to preserve a country where people such as Michael Moore get to miss the point as badly as he misses it." - Dennis Miller From jcolby at colbyconsulting.com Mon Sep 22 22:03:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 23:03:01 -0400 Subject: [AccessD] Win2K Large Hard Disk Support In-Reply-To: <3F6F5E60.9090409@hotmail.com> Message-ID: For anyone interested (and willing to risk installing MS Service Packs ;-) Here is the knowledgebase article that discuses Windows 2000 lack of support for large hard disks prior to SP3. Watch line wrap. http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/q305/0/98.asp&NoWebContent=1 John W. Colby www.colbyconsulting.com From jcolby at colbyconsulting.com Mon Sep 22 22:03:01 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Mon, 22 Sep 2003 23:03:01 -0400 Subject: [AccessD] [dba-SQLServer]Win2K Large Hard Disk Support In-Reply-To: <3F6F5E60.9090409@hotmail.com> Message-ID: For anyone interested (and willing to risk installing MS Service Packs ;-) Here is the knowledgebase article that discuses Windows 2000 lack of support for large hard disks prior to SP3. Watch line wrap. http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/q305/0/98.asp&NoWebContent=1 John W. Colby www.colbyconsulting.com _______________________________________________ dba-SQLServer mailing list dba-SQLServer at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-sqlserver http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Sep 23 01:10:12 2003 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 22 Sep 2003 23:10:12 -0700 (PDT) Subject: [AccessD] text-to-speech? In-Reply-To: <3F6F2356.6030902@shaw.ca> Message-ID: <20030923061012.6892.qmail@web60202.mail.yahoo.com> Hi Marty, can you PLEASE sent me some details on you're talking clock thing? Maybe that will get me started! Sad --- MartyConnelly wrote: > I suppose it is possible to grab your incoming mail > from Outlook into > Access. Text to speech is easy > depending on the speech engine, I have written > talking clocks in Access > 97. But writing the selection procedures from > Outlook or rewinding to a > particular point in the text for a long message > may not be non-trivial. > > Sad Der wrote: > > >hi group, > > > >i'm in a great position here... just in the center > of > >a big war between 2 companies. > > > >In short: > >is it possible in A2K to use text-to-speech for > >incoming e-mail? > > > >I've something about on msdn but this was all C++ > >related. > > > >SD > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! SiteBuilder - Free, easy-to-use web site > design software > >http://sitebuilder.yahoo.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com From gmiller at sistersnet.com Tue Sep 23 00:43:54 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Mon, 22 Sep 2003 22:43:54 -0700 Subject: [AccessD] Fw: DB design Brainteaser Message-ID: <135301c38195$ace7f9e0$0300a8c0@DELL1800> Howdy gang. After a bit of a hiatus I am back with a major project on the chopping block and find myself in need of some learned advise from some of the valuable listers that may have had some more experience with intricate inventory systems than I have had in the past. Just came out of a 6 hour 'Overview' meeting and my head is spinning with some of the intracicies involved. Goals from the Access-Dev Group: Conceptual advice on approaches to handle the tracking, especially on the constant Inventory side and ownership tracking or online resources available for the study of this type of model. Scope: An agricultural product tracking system from pre-birth to final sale. Constant inventory tracking, periodic inventory reduction due to 'Cleaning' the product, very regular inventory location shuffling, disbursements to Owners / Growers ( not always the same ), final sales receipts and P&L. Flow: Grower contracts with company to 'process and store' the Ag product. Processing involves cleaning and purity testing of a given 'Lot' of product. Assigned Lot# needs to live with the product or fraction thereof for it's full life time. Processing will reduce the original poundage by 10-50% depending on initial purity. After this initial adjustment of quantity ( probably in pounds ) the specific lots need to be tracked throughout their lifetime in the system until sold to an outside buyer. Product put into the system may have an initial sale price through contract or the contract may specify that the buyer reserves the right not to 'sell' until a later date when market prices improve, therefore basically leaving the product in the companies storage facilities for an undetermined time. Company is always the buyer, but it is the growers discretion when to sell at prevailing Company buying prices. They can just store and gamble on the prices for an underteminate time. One grower apparently stored for seven years before deciding to sell. Product quality declined, but that can be handled easily as no price is assigned until the sale. Parts of Lots may be purchased by many different contracts. Twists : 1) As mentioned above, all parts of a given lot must retain that lot# for it's full life, including when it is sold to another company that may resell it or part of it. 2) As a given Field that a Lot is generated from may be owned by one or many owners, any given Lot may have many owners. Apparently with some ownership related issues having to do with inheretinces on Indian Reservations, some Lots may have as many of 60 different owners. Actually it is the Field that the Lot is assigned to that has the owners . 4) A Lot may start at 10,000 lbs and then will end up being only 6,500 after 'Processing'. 3) A given Lot may be split between many different storage bins, locations and sometimes even different states. 4) As I said in 2), there may be many multiple owners for any given Lots and they may share ownership of multiple Lots on a given Field. Any owner at any time can elect to cash out to the Company at any given time to cash in on Today's market price while the others do not. This reflects a need for the Company to be able to transfer/sell/earmark a section of a given Lot as the section sold without having the particular owner being assigned to a particular section of the Lot. 5) A Lot constantly will change size. Really don't want to go to the point of tracking every individual 'Pound' in a lot as this involves millions of them. 5) It is critically necessary to know what product from what lots are being stored in what locations at the present time. Not so critical to pick a point in history and identify inventory quantities. Not having a tremendous amount of experience with advanced inventory systems, I would appreciate all constructive advice on conceptual approaches to the inventory process especially, on the billing and tracking secondarily. Thanks in advance for any and all insights into what may be needed for a solid foundation, efficient approaches or any other helpful advice. P.S.: Nancy... How did I do on asking a question??? Gary Gary Miller Gary Miller Computer Services Sisters, OR gmiller at sistersnet.com From gustav at cactus.dk Tue Sep 23 02:41:48 2003 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Sep 2003 09:41:48 +0200 Subject: [AccessD] Win2K Large Hard Disk Support In-Reply-To: References: Message-ID: <1083698998.20030923094148@cactus.dk> Hi John I noticed you crossposted this to the SQL list but why not the techno list where this long thread indeed would be on topic? /gustav > For anyone interested (and willing to risk installing MS Service Packs ;-) > Here is the knowledgebase article that discuses Windows 2000 lack of support > for large hard disks prior to SP3. Watch line wrap. > http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: > 80/support/kb/articles/q305/0/98.asp&NoWebContent=1 > John W. Colby > www.colbyconsulting.com From martyconnelly at shaw.ca Tue Sep 23 02:45:30 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 23 Sep 2003 00:45:30 -0700 Subject: [AccessD] text-to-speech? References: <20030923061012.6892.qmail@web60202.mail.yahoo.com> Message-ID: <3F6FFA1A.4010500@shaw.ca> I wrote this two years ago It does a talking clock through a soap service and also directly to speech engine. The soap toolkit is obsolete. There are old url's for the speech engine and downloads. Just hack out the code from the mdb and add the speech engine from MS site. I have been meaning to rewrite to MS Soap toolkit Ver 3. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=26157&lngWId=1 Sad Der wrote: >Hi Marty, > >can you PLEASE sent me some details on you're talking >clock thing? Maybe that will get me started! > >Sad > >--- MartyConnelly wrote: > > >>I suppose it is possible to grab your incoming mail >>from Outlook into >>Access. Text to speech is easy >>depending on the speech engine, I have written >>talking clocks in Access >>97. But writing the selection procedures from >>Outlook or rewinding to a >>particular point in the text for a long message >>may not be non-trivial. >> >>Sad Der wrote: >> >> >> >>>hi group, >>> >>>i'm in a great position here... just in the center >>> >>> >>of >> >> >>>a big war between 2 companies. >>> >>>In short: >>>is it possible in A2K to use text-to-speech for >>>incoming e-mail? >>> >>>I've something about on msdn but this was all C++ >>>related. >>> >>>SD >>> >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Yahoo! SiteBuilder - Free, easy-to-use web site >>> >>> >>design software >> >> >>>http://sitebuilder.yahoo.com >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>> >>> >>http://databaseadvisors.com/mailman/listinfo/accessd >> >> >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From viner at eunet.yu Tue Sep 23 02:59:42 2003 From: viner at eunet.yu (Ervin Brindza) Date: Tue, 23 Sep 2003 09:59:42 +0200 Subject: [AccessD] Crosstab for Excel-like report Message-ID: <002f01c381a8$b17f3aa0$0100a8c0@razvoj> Crossposted Acess-L& AccessD Hi, I'm in the very beginning of a tiny little app, and need some advice. The main goal of this little application is to print a report for each customer, like: Customer Name OrderNo1 OrderNo2 ...etc. ItemNo ItemName Amount1 Amount2 E.g. Ervin Brindza O1 O2.... 1. Fish 1.5 1.3 2. Meat 2.3 2.4 3. Flour 4.5 3.5 ... I made an "Order -> OrderDetails"(1 to many) form and subform(Order:CustomerName, OrderNo;OrderDetails: ItemNo, ItemName, Amount) , and when the new order is requested I generate the items in the subform(from the Products table), and the user input the amount values. Then each order have to be listed on the report as one column, like above. I tried with crosstab query, and the query is ok, but when I try to use it in report wizard there is no fields, and I don't know how to make a report? Here is the SQL: qryOrderAndDetail: SELECT DISTINCTROW Order.OrderId, Order.OrderNo, Order.CustomerName, OrderDetails.ItemNo, OrderDetails.ItemName, OrderDetails.Amount FROM [Order] INNER JOIN OrderDetails ON Order.OrderId = OrderDetails.OrderId; qryCross: PARAMETERS Forms!frm1!Customer Text; TRANSFORM Sum(qryOrderAndDetail.Amount) AS [The Value] SELECT qryOrderAndDetail.ItemName, Sum(qryOrderAndDetail.Amount) AS [Total Of Amount] FROM qryOrderAndDetail WHERE (((qryOrderAndDetail.CustomerName)=[Forms]![frm1]![Customer])) GROUP BY qryOrderAndDetail.ItemName, qryOrderAndDetail.CustomerName PIVOT qryOrderAndDetail.OrderNo; Many thanks in advance, Ervin -------------- next part -------------- An HTML attachment was scrubbed... URL: From accessd at shaw.ca Tue Sep 23 03:18:45 2003 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Tue, 23 Sep 2003 01:18:45 -0700 Subject: [AccessD] Win2K Large Hard Disk Support In-Reply-To: Message-ID: Hi John or All others interested: M$ now has SP4 ready for launch. I installed it with fanfare and all my applications seem to work(?) There is a a bit in this article on how to expand your partision size, in W2K: http://support.microsoft.com/?kbid=289876 HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Monday, September 22, 2003 8:03 PM To: AccessD; dba-sqlserver at databaseadvisors.com Subject: [AccessD] Win2K Large Hard Disk Support For anyone interested (and willing to risk installing MS Service Packs ;-) Here is the knowledgebase article that discuses Windows 2000 lack of support for large hard disks prior to SP3. Watch line wrap. http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: 80/support/kb/articles/q305/0/98.asp&NoWebContent=1 John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nancy.lytle at auatac.com Tue Sep 23 06:05:08 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Tue, 23 Sep 2003 07:05:08 -0400 Subject: [AccessD] Fw: DB design Brainteaser In-Reply-To: <135301c38195$ace7f9e0$0300a8c0@DELL1800> Message-ID: >>>>> P.S.: Nancy... How did I do on asking a question???>>>>>> You talkin' ta me?:) That was one of the best laid out questions I have ever seen. The detail was wonderful, I only wish I had some answers for you. What a major project to come back to, just keeping track of the lots will be a headache, not to mention multiple owners. Good Luck, Nancy L. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Tuesday, September 23, 2003 1:44 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: DB design Brainteaser Howdy gang. After a bit of a hiatus I am back with a major project on the chopping block and find myself in need of some learned advise from some of the valuable listers that may have had some more experience with intricate inventory systems than I have had in the past. Just came out of a 6 hour 'Overview' meeting and my head is spinning with some of the intracicies involved. Goals from the Access-Dev Group: Conceptual advice on approaches to handle the tracking, especially on the constant Inventory side and ownership tracking or online resources available for the study of this type of model. Scope: An agricultural product tracking system from pre-birth to final sale. Constant inventory tracking, periodic inventory reduction due to 'Cleaning' the product, very regular inventory location shuffling, disbursements to Owners / Growers ( not always the same ), final sales receipts and P&L. Flow: Grower contracts with company to 'process and store' the Ag product. Processing involves cleaning and purity testing of a given 'Lot' of product. Assigned Lot# needs to live with the product or fraction thereof for it's full life time. Processing will reduce the original poundage by 10-50% depending on initial purity. After this initial adjustment of quantity ( probably in pounds ) the specific lots need to be tracked throughout their lifetime in the system until sold to an outside buyer. Product put into the system may have an initial sale price through contract or the contract may specify that the buyer reserves the right not to 'sell' until a later date when market prices improve, therefore basically leaving the product in the companies storage facilities for an undetermined time. Company is always the buyer, but it is the growers discretion when to sell at prevailing Company buying prices. They can just store and gamble on the prices for an underteminate time. One grower apparently stored for seven years before deciding to sell. Product quality declined, but that can be handled easily as no price is assigned until the sale. Parts of Lots may be purchased by many different contracts. Twists : 1) As mentioned above, all parts of a given lot must retain that lot# for it's full life, including when it is sold to another company that may resell it or part of it. 2) As a given Field that a Lot is generated from may be owned by one or many owners, any given Lot may have many owners. Apparently with some ownership related issues having to do with inheretinces on Indian Reservations, some Lots may have as many of 60 different owners. Actually it is the Field that the Lot is assigned to that has the owners . 4) A Lot may start at 10,000 lbs and then will end up being only 6,500 after 'Processing'. 3) A given Lot may be split between many different storage bins, locations and sometimes even different states. 4) As I said in 2), there may be many multiple owners for any given Lots and they may share ownership of multiple Lots on a given Field. Any owner at any time can elect to cash out to the Company at any given time to cash in on Today's market price while the others do not. This reflects a need for the Company to be able to transfer/sell/earmark a section of a given Lot as the section sold without having the particular owner being assigned to a particular section of the Lot. 5) A Lot constantly will change size. Really don't want to go to the point of tracking every individual 'Pound' in a lot as this involves millions of them. 5) It is critically necessary to know what product from what lots are being stored in what locations at the present time. Not so critical to pick a point in history and identify inventory quantities. Not having a tremendous amount of experience with advanced inventory systems, I would appreciate all constructive advice on conceptual approaches to the inventory process especially, on the billing and tracking secondarily. Thanks in advance for any and all insights into what may be needed for a solid foundation, efficient approaches or any other helpful advice. P.S.: Nancy... How did I do on asking a question??? Gary Gary Miller Gary Miller Computer Services Sisters, OR gmiller at sistersnet.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Sep 23 07:38:17 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 23 Sep 2003 08:38:17 -0400 Subject: [AccessD] Fw: DB design Brainteaser In-Reply-To: <135301c38195$ace7f9e0$0300a8c0@DELL1800> Message-ID: Gary, << 1) As mentioned above, all parts of a given lot must retain that lot# for it's full life, including when it is sold to another company that may resell it or part of it.>> This is not all that difficult in terms of design, but it does raise the complexity of the database as "LotNo" will need to be carried internally in the inventory system. << 2) As a given Field that a Lot is generated from may be owned by one or many owners, any given Lot may have many owners. Apparently with some ownership related issues having to do with inheretinces on Indian Reservations, some Lots may have as many of 60 different owners. Actually it is the Field that the Lot is assigned to that has the owners . >> I don't see that as a problem << 4) A Lot may start at 10,000 lbs and then will end up being only 6,500 after 'Processing'.>> This is called a yield variance. It's handled by simply inventory transitioning: Raw material in - output = yield variance << 3) A given Lot may be split between many different storage bins, locations and sometimes even different states.>> Not a problem because to satisfy #1, every inventory on hand and/or transaction record will be tagged with the lot number. << 4) As I said in 2), there may be many multiple owners for any given Lots and they may share ownership of multiple Lots on a given Field. Any owner at any time can elect to cash out to the Company at any given time to cash in on Today's market price while the others do not. This reflects a need for the Company to be able to transfer/sell/earmark a section of a given Lot as the section sold without having the particular owner being assigned to a particular section of the Lot.>> That made my head spin. One thing that needs to be clarified right off is the terms used. This is the first time you've used "section". It's not clear to me if a section refers to part of a lot of grain that came from a field, or if a section is part of a field that a lot came from. If that's the case, is it possible for a lot of grain to be harvested from more then one section? << 5) A Lot constantly will change size. Really don't want to go to the point of tracking every individual 'Pound' in a lot as this involves millions of them.>> But that's what you'll do in a sense. Not that you'll track every single pound, but pushing to the extreme, if the lot is process, sold, traded, etc pound by pound, then the app should handle it without modification in the design. << 5) It is critically necessary to know what product from what lots are being stored in what locations at the present time. Not so critical to pick a point in history and identify inventory quantities. >> I would think it would be. If contamination were to occur for example, one might need to know everything that was stored in location xyz from that point forward. Would something like that be a concern? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Tuesday, September 23, 2003 1:44 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: DB design Brainteaser Howdy gang. After a bit of a hiatus I am back with a major project on the chopping block and find myself in need of some learned advise from some of the valuable listers that may have had some more experience with intricate inventory systems than I have had in the past. Just came out of a 6 hour 'Overview' meeting and my head is spinning with some of the intracicies involved. Goals from the Access-Dev Group: Conceptual advice on approaches to handle the tracking, especially on the constant Inventory side and ownership tracking or online resources available for the study of this type of model. Scope: An agricultural product tracking system from pre-birth to final sale. Constant inventory tracking, periodic inventory reduction due to 'Cleaning' the product, very regular inventory location shuffling, disbursements to Owners / Growers ( not always the same ), final sales receipts and P&L. Flow: Grower contracts with company to 'process and store' the Ag product. Processing involves cleaning and purity testing of a given 'Lot' of product. Assigned Lot# needs to live with the product or fraction thereof for it's full life time. Processing will reduce the original poundage by 10-50% depending on initial purity. After this initial adjustment of quantity ( probably in pounds ) the specific lots need to be tracked throughout their lifetime in the system until sold to an outside buyer. Product put into the system may have an initial sale price through contract or the contract may specify that the buyer reserves the right not to 'sell' until a later date when market prices improve, therefore basically leaving the product in the companies storage facilities for an undetermined time. Company is always the buyer, but it is the growers discretion when to sell at prevailing Company buying prices. They can just store and gamble on the prices for an underteminate time. One grower apparently stored for seven years before deciding to sell. Product quality declined, but that can be handled easily as no price is assigned until the sale. Parts of Lots may be purchased by many different contracts. Twists : 1) As mentioned above, all parts of a given lot must retain that lot# for it's full life, including when it is sold to another company that may resell it or part of it. 2) As a given Field that a Lot is generated from may be owned by one or many owners, any given Lot may have many owners. Apparently with some ownership related issues having to do with inheretinces on Indian Reservations, some Lots may have as many of 60 different owners. Actually it is the Field that the Lot is assigned to that has the owners . 4) A Lot may start at 10,000 lbs and then will end up being only 6,500 after 'Processing'. 3) A given Lot may be split between many different storage bins, locations and sometimes even different states. 4) As I said in 2), there may be many multiple owners for any given Lots and they may share ownership of multiple Lots on a given Field. Any owner at any time can elect to cash out to the Company at any given time to cash in on Today's market price while the others do not. This reflects a need for the Company to be able to transfer/sell/earmark a section of a given Lot as the section sold without having the particular owner being assigned to a particular section of the Lot. 5) A Lot constantly will change size. Really don't want to go to the point of tracking every individual 'Pound' in a lot as this involves millions of them. 5) It is critically necessary to know what product from what lots are being stored in what locations at the present time. Not so critical to pick a point in history and identify inventory quantities. Not having a tremendous amount of experience with advanced inventory systems, I would appreciate all constructive advice on conceptual approaches to the inventory process especially, on the billing and tracking secondarily. Thanks in advance for any and all insights into what may be needed for a solid foundation, efficient approaches or any other helpful advice. P.S.: Nancy... How did I do on asking a question??? Gary Gary Miller Gary Miller Computer Services Sisters, OR gmiller at sistersnet.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Sep 23 07:46:59 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 23 Sep 2003 08:46:59 -0400 Subject: [AccessD] Win2K Large Hard Disk Support In-Reply-To: Message-ID: I installed SP4 and it MAY have prevented the correct install of SQL Server. There are some issues with SP4, see: http://www.w2knews.com/anecdotes.htm John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence (AccessD) Sent: Tuesday, September 23, 2003 4:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Win2K Large Hard Disk Support Hi John or All others interested: M$ now has SP4 ready for launch. I installed it with fanfare and all my applications seem to work(?) There is a a bit in this article on how to expand your partision size, in W2K: http://support.microsoft.com/?kbid=289876 HTH Jim From jcolby at colbyconsulting.com Tue Sep 23 07:53:47 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 23 Sep 2003 08:53:47 -0400 Subject: [AccessD] Win2K Large Hard Disk Support In-Reply-To: <1083698998.20030923094148@cactus.dk> Message-ID: Gustav, I should have. I posted it to AccessD and SQLServer simply because while off topic it is going to be critical to more and more people, many of whom probably aren't subscribed to the tech list. John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, September 23, 2003 3:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Win2K Large Hard Disk Support Hi John I noticed you crossposted this to the SQL list but why not the techno list where this long thread indeed would be on topic? /gustav > For anyone interested (and willing to risk installing MS Service Packs ;-) > Here is the knowledgebase article that discuses Windows 2000 lack of support > for large hard disks prior to SP3. Watch line wrap. > http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com: > 80/support/kb/articles/q305/0/98.asp&NoWebContent=1 > John W. Colby > www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jcolby at colbyconsulting.com Tue Sep 23 08:26:35 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 23 Sep 2003 09:26:35 -0400 Subject: [AccessD] Mail Merge Message-ID: Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com From paul.hartland at fsmail.net Tue Sep 23 08:42:33 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 23 Sep 2003 15:42:33 +0200 (CEST) Subject: [AccessD] Mail Merge Message-ID: <14182629.1064324553720.JavaMail.www@wwinf3001> John, The quick and dirty way to to this is to set the queries up in Access that you require for your mailmerge docs. Then link the docs to the queries using the mailmerge wizard, and put the fields from the query in the required locations. Then if you need to open the docs give the user a choice of which one they want and use objects to open the required word doc. As it is already linked to the query you require, al they should have to do is click the merge button Paul P.S. sorry it isn't explained to well, only I'm under a tight deadline at the moment.....if you need further info let me know...... Message date : Sep 23 2003, 02:33 PM >From : John Colby To : AccessD Copy to : Subject : [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Tue Sep 23 08:52:13 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Tue, 23 Sep 2003 09:52:13 -0400 Subject: [AccessD] Mail Merge Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5CF@TTNEXCHSRV1.hshhp.com> There's a wizard that walks you through it if that's what you mean. Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 23, 2003 9:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jcolby at colbyconsulting.com Tue Sep 23 09:05:57 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 23 Sep 2003 10:05:57 -0400 Subject: [AccessD] Mail Merge In-Reply-To: <14182629.1064324553720.JavaMail.www@wwinf3001> Message-ID: That's kind of what I thought. Thanks! John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, September 23, 2003 9:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mail Merge John, The quick and dirty way to to this is to set the queries up in Access that you require for your mailmerge docs. Then link the docs to the queries using the mailmerge wizard, and put the fields from the query in the required locations. Then if you need to open the docs give the user a choice of which one they want and use objects to open the required word doc. As it is already linked to the query you require, al they should have to do is click the merge button Paul P.S. sorry it isn't explained to well, only I'm under a tight deadline at the moment.....if you need further info let me know...... Message date : Sep 23 2003, 02:33 PM From : John Colby To : AccessD Copy to : Subject : [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmiller at sistersnet.com Tue Sep 23 10:56:38 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Tue, 23 Sep 2003 08:56:38 -0700 Subject: [AccessD] DB design Brainteaser References: Message-ID: <13f201c381eb$45cf0a40$0300a8c0@DELL1800> Jim, I'll try and clarify a couple of things and expound on questions inline below... ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 23, 2003 5:38 AM Subject: RE: [AccessD] Fw: DB design Brainteaser > Gary, > > << 1) As mentioned above, all parts of a given lot must retain > that lot# for it's full life, including when it is sold to > another company that may resell it or part of it.>> > > This is not all that difficult in terms of design, but it does raise the > complexity of the database as "LotNo" will need to be carried internally in > the inventory system. > > << 2) As a given Field that a Lot is generated from may be > owned by one or many owners, any given Lot may have many > owners. Apparently with some ownership related issues > having > to do with inheretinces on Indian Reservations, some Lots > may have as many of 60 different owners. Actually it is the > Field that the Lot is assigned to that has the owners > . > >> > > I don't see that as a problem > > << 4) A Lot may start at 10,000 lbs and then will end up being > only 6,500 after 'Processing'.>> > > This is called a yield variance. It's handled by simply inventory > transitioning: Raw material in - output = yield variance > > << 3) A given Lot may be split between many different storage > bins, locations and sometimes even different states.>> > > Not a problem because to satisfy #1, every inventory on hand and/or > transaction record will be tagged with the lot number. > > << 4) As I said in 2), there may be many multiple owners for > any given Lots and they may share ownership of multiple > Lots > on a given Field. Any owner at any time can elect to cash > out to the Company at any given time to cash in on Today's > market price while the others do not. This reflects a need > for the Company to be able to transfer/sell/earmark a > section of a given Lot as the section sold without having > the particular owner being assigned to a particular section > of the Lot.>> > > That made my head spin. One thing that needs to be clarified right off > is the terms used. This is the first time you've used "section". It's not > clear to me if a section refers to part of a lot of grain that came from a > field, or if a section is part of a field that a lot came from. If that's > the case, is it possible for a lot of grain to be harvested from more then > one section? *************** Section was probably a bad choice of words. I did mean it to be 'part of a lot'. If a lot is 20,000 lbs. with multiple owners, one owner who has a 10% stake may elect to sell their 2,000 lbs or even just 1,000 lbs of it. The lot will now be reduced in total size, inventory will need to be reduced at the location it is taken from and that owners share will have to be flagged as all or partially allocated/sold. The Company will now have ownership of the 2,000 lbs although the Lot number will not change with the ownership change as it stays with the product for the rest of it's life. The location would probably change at this point though. If the company sells it's 2000 to an outside party, only then will it actually leave inventory. As each owner of the lot will technically have their own 'Contract' on their portion of the Lot, possibly this could be handled at that level ********** > << 5) A Lot constantly will change size. Really don't want to > go to the point of tracking every individual 'Pound' in a > lot as this involves millions of them.>> > > But that's what you'll do in a sense. Not that you'll track every single > pound, but pushing to the extreme, if the lot is process, sold, traded, etc > pound by pound, then the app should handle it without modification in the > design. ********** And this is where I really need a bit of conceptual help. How do I approach this without having to create a record for every pound. Two things that will be critical to any given pound in a lot at any given time are the ownership and the location as well as possibly the processing state (raw or cleaned), although processing state probably belongs as a property of the parent Lot. In some ways it seems to beg some type of Parent/Child relationship, but I have not quite visualized it. In my understanding many inventory systems would have a record for every Part and would update the OnHand status transactionally. Here I do have one Part/Lot number, but it almost seems that I need one or more sub-heirarchys to track the ownership and location shifts. It also seems to want a transactional history of some type. ********** > > << 5) It is critically necessary to know what product from > what > lots are being stored in what locations at the present > time. > Not so critical to pick a point in history and identify > inventory quantities. > >> > > I would think it would be. If contamination were to occur for example, > one might need to know everything that was stored in location xyz from that > point forward. Would something like that be a concern? ********** This would be a big bonus, however the Company has stated that it would be sufficient to have the inventory status only on a 'Now' basis. They seem to be fine with periodically recording on hard copy for their records. I agree with you that a system that allowed historical pictures would be highly preferrable. ********** Gary Miller From scapistrant at symphonyinfo.com Tue Sep 23 13:45:01 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 23 Sep 2003 13:45:01 -0500 Subject: [AccessD] Mail Merge In-Reply-To: Message-ID: If you do the pull method, I don't recommend having the Word document look to a query. There is an extra layer involved when negotiating into MDB or MDE that adds what I consider to be a lot of time, plus possibly a layer of security. The approach we prefer at our shop is to have your database output a text file with a standard name ("SelectedContacts.txt) to a standard folder (like "c:\temp" or the application's install folder). All mail merge documents are trained to look to this file, and the speed is MUCH faster for both connecting and merging. Plus this gives the you the added benefit of being able to send this file to printing vendors if you have specialty mailings. And the file can be opened in Excel for other kinds of merging and analysis uses as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 8:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Sep 23 14:43:44 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2003 12:43:44 -0700 Subject: [AccessD] Mail Merge Message-ID: That's the approach I've always used as well. It isn't quite so bad in OXP, but there's just too much overhead when both Word and Access have to be considered at once. The other advantage to the text file approach, is that you can go back and redo it if there was a problem and you don't have to incur the overhead of a query since the source is static. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 23, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge If you do the pull method, I don't recommend having the Word document look to a query. There is an extra layer involved when negotiating into MDB or MDE that adds what I consider to be a lot of time, plus possibly a layer of security. The approach we prefer at our shop is to have your database output a text file with a standard name ("SelectedContacts.txt) to a standard folder (like "c:\temp" or the application's install folder). All mail merge documents are trained to look to this file, and the speed is MUCH faster for both connecting and merging. Plus this gives the you the added benefit of being able to send this file to printing vendors if you have specialty mailings. And the file can be opened in Excel for other kinds of merging and analysis uses as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 8:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Oleg_123 at xuppa.com Tue Sep 23 15:15:44 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Tue, 23 Sep 2003 16:15:44 -0400 (EDT) Subject: [AccessD] OT: Opening Access report from Visual Basic In-Reply-To: References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> Message-ID: <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> Hi Group, I am trying to open an Access Report from Visual Basic form, doesn't seem to be working. I think that i used something like this in the past. (I checked Microst Access 9.0 Object library in references) Dim Acc As Object, db As Object Dim dbPath As String Set AccObj = CreateObject("Access.Application") Set db = AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" AccObj.OpenCurrentDatabase dbPath, False Set db = Nothing AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview AccObj.Visible = True ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From tuxedo_man at hotmail.com Tue Sep 23 15:28:07 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Tue, 23 Sep 2003 20:28:07 +0000 Subject: [AccessD] OT: Friday humor Message-ID: Steven: Nothing legitimizes Weird Al or anyone for incorporating lyrics that promote negative racial stereotypes. >From my perspective, Weird Al is an entertainer and his goal is to entertain so I don't think his true intention was to promote negative stereotypes. However, if the artist is anonymous, you don't know what his intensions are. So the question is, should DatabaseAdvisors allow FridayHumor emails that contain content where racism was the true intent of the original author (Weird Al or anonymous)? Naturally, this leads to the next question: so, should we be culturally sensitive or insensitive? I don't condone what Weird Al has done and sometimes I find it very questionable the way he chooses to entertain or the words he chooses to include in his songs. But some people will do anything to entertain. Shock-comic Tom Green is another example. If you know who he is, you may find his stunts are disgusting and tasteless but he does it for the shock value. He's performed groteseque stunts like drinking milk straight from a cow or played with dead-animal road kills solely to get TV ratings for his show or promote his image. This stuff does not belong anywhere on TV, radio or any media but what can you do? If you are going to make fun of cats, why do you have to include a restaurant in it and why does that restaurant have to be Chinese? Sometimes it's difficult to get insensitive about this but you always have to stand up for what you believe in. Hope that clears things up. Database advisors is a fine database community populated with generous people who are understanding, helpful and noble. I've been on this list for many years and I have learned a great deal from many of you and I hope that this list will contine to be successful and thrive. Kindest regards, Billy >From: "Steven W. Erbach" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Friday humor >Date: Mon, 22 Sep 2003 20:34:13 -0500 > >Billy, > > >> But if that song was done by someone else other than Weird Al, some >people >may find that song offensive as it promotes a negative stereotype towards >Chinese. << > >Why would it make a difference if the song was done by someone other than >Weird Al? It wasn't, by the way; but what legitimizes Weird Al as opposed >to >somebody with too much time on their hands? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >"I think we should fight to preserve a country where people such as Michael >Moore get to miss the point as badly as he misses it." - Dennis Miller > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From jcolby at colbyconsulting.com Tue Sep 23 15:32:23 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Tue, 23 Sep 2003 16:32:23 -0400 Subject: [AccessD] Mail Merge In-Reply-To: Message-ID: So you have a piece of code VB macro) that opens the file and imports it? Access pulls the data and generates the text file? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2003 3:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge That's the approach I've always used as well. It isn't quite so bad in OXP, but there's just too much overhead when both Word and Access have to be considered at once. The other advantage to the text file approach, is that you can go back and redo it if there was a problem and you don't have to incur the overhead of a query since the source is static. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 23, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge If you do the pull method, I don't recommend having the Word document look to a query. There is an extra layer involved when negotiating into MDB or MDE that adds what I consider to be a lot of time, plus possibly a layer of security. The approach we prefer at our shop is to have your database output a text file with a standard name ("SelectedContacts.txt) to a standard folder (like "c:\temp" or the application's install folder). All mail merge documents are trained to look to this file, and the speed is MUCH faster for both connecting and merging. Plus this gives the you the added benefit of being able to send this file to printing vendors if you have specialty mailings. And the file can be opened in Excel for other kinds of merging and analysis uses as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 8:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Tue Sep 23 15:48:45 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Tue, 23 Sep 2003 15:48:45 -0500 Subject: [AccessD] OT: Friday humor Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C947@TAPPEEXCH01> >I don't condone what Weird Al has done and sometimes I find it very >questionable the way he chooses to entertain or the words he chooses to >include in his songs. But some people will do anything to entertain. Exactly what has Wierd Al done that you do not "condone"? He takes popular songs and adds humorous lyrics. And he certainly didn't write the song that you are talking about. Looking through his catalog, I'm trying to find something racially or morally offensive. Sorry, I'm drawing a blank here. Can you help me out? Comparing him to TOM GREEN?! Now, I find THAT offensive... (I know that this is off-topic, but it really bothers me when someone takes a shot at a fairly clean-cut entertainer and lumps him in with trash like Tom Green. This will be the end of the discussion for me). -----Original Message----- From: Billy Pang [mailto:tuxedo_man at hotmail.com] Sent: Tuesday, September 23, 2003 3:28 PM To: accessd at databaseadvisors.com Cc: tuxedo_man at hotmail.com Subject: Re: [AccessD] OT: Friday humor Steven: Nothing legitimizes Weird Al or anyone for incorporating lyrics that promote negative racial stereotypes. >From my perspective, Weird Al is an entertainer and his goal is to entertain so I don't think his true intention was to promote negative stereotypes. However, if the artist is anonymous, you don't know what his intensions are. So the question is, should DatabaseAdvisors allow FridayHumor emails that contain content where racism was the true intent of the original author (Weird Al or anonymous)? Naturally, this leads to the next question: so, should we be culturally sensitive or insensitive? I don't condone what Weird Al has done and sometimes I find it very questionable the way he chooses to entertain or the words he chooses to include in his songs. But some people will do anything to entertain. Shock-comic Tom Green is another example. If you know who he is, you may find his stunts are disgusting and tasteless but he does it for the shock value. He's performed groteseque stunts like drinking milk straight from a cow or played with dead-animal road kills solely to get TV ratings for his show or promote his image. This stuff does not belong anywhere on TV, radio or any media but what can you do? If you are going to make fun of cats, why do you have to include a restaurant in it and why does that restaurant have to be Chinese? Sometimes it's difficult to get insensitive about this but you always have to stand up for what you believe in. Hope that clears things up. Database advisors is a fine database community populated with generous people who are understanding, helpful and noble. I've been on this list for many years and I have learned a great deal from many of you and I hope that this list will contine to be successful and thrive. Kindest regards, Billy >From: "Steven W. Erbach" >Reply-To: Access Developers discussion and problem >solving >To: "Access Developers discussion and problem >solving" >Subject: Re: [AccessD] OT: Friday humor >Date: Mon, 22 Sep 2003 20:34:13 -0500 > >Billy, > > >> But if that song was done by someone else other than Weird Al, some >people >may find that song offensive as it promotes a negative stereotype towards >Chinese. << > >Why would it make a difference if the song was done by someone other than >Weird Al? It wasn't, by the way; but what legitimizes Weird Al as opposed >to >somebody with too much time on their hands? > >Regards, > >Steve Erbach >Scientific Marketing >Neenah, WI > >"I think we should fight to preserve a country where people such as Michael >Moore get to miss the point as badly as he misses it." - Dennis Miller > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From serbach at new.rr.com Tue Sep 23 16:12:10 2003 From: serbach at new.rr.com (Steven W. Erbach) Date: Tue, 23 Sep 2003 16:12:10 -0500 Subject: [AccessD] OT: Friday humor References: Message-ID: <00c901c38217$60b529d0$1b06d018@W2k> Billy, >> So the question is, should DatabaseAdvisors allow FridayHumor emails that contain content where racism was the true intent of the original author? << >> should we be culturally sensitive or insensitive? << >> Sometimes it's difficult to get insensitive about this but you always have to stand up for what you believe in. << >> Database advisors is a fine database community populated with generous people who are understanding, helpful and noble. << That last one I can sign onto...though it pains me to grant nobility to Colby and Hindman... Since somebody's going to get on my case about carrying a Friday discussion into Tuesday, I think I'll duck out while the ducking's good. Regards, Steve Erbach Scientific Marketing Neenah, WI "The press must learn that misguided use of a computer is no more amazing than drunk driving of an automobile." - Ken Thompson (co-inventor of UNIX), 1984 From john at winhaven.net Tue Sep 23 16:18:51 2003 From: john at winhaven.net (John Bartow) Date: Tue, 23 Sep 2003 16:18:51 -0500 Subject: [AccessD] Mail Merge In-Reply-To: Message-ID: Hi John: After dealing with Word and A97 queries for a while I decided to do something similar. Got good advice from AccessD list. I've attached a text file with the base mail merge module as I use it and one word document as a sample. The only tricky part is the field and record delimiters are not using the defaults that word offers in the mail merge document wizard setup. Thi swas on Bret's advice that the defaults be avoided because of problems with the characters being used in addresses/names some instances. It has worked well for me. (You'll have to strip out the error handling and replace it with your own.) HTH John B. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Tuesday, September 23, 2003 3:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mail Merge > > > So you have a piece of code VB macro) that opens the file and imports it? > Access pulls the data and generates the text file? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Tuesday, September 23, 2003 3:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mail Merge > > > That's the approach I've always used as well. It isn't quite so bad in > OXP, but there's just too much overhead when both Word and Access have > to be considered at once. The other advantage to the text file > approach, is that you can go back and redo it if there was a problem and > you don't have to incur the overhead of a query since the source is > static. > > Charlotte Foust > > -----Original Message----- > From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] > Sent: Tuesday, September 23, 2003 10:45 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Mail Merge > > > If you do the pull method, I don't recommend having the Word document > look to a query. There is an extra layer involved when negotiating into > MDB or MDE that adds what I consider to be a lot of time, plus possibly > a layer of security. The approach we prefer at our shop is to have your > database output a text file with a standard name ("SelectedContacts.txt) > to a standard folder (like "c:\temp" or the application's install > folder). All mail merge documents are trained to look to this file, and > the speed is MUCH faster for both connecting and merging. Plus this > gives the you the added benefit of being able to send this file to > printing vendors if you have specialty mailings. And the file can be > opened in Excel for other kinds of merging and analysis uses as well. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Tuesday, September 23, 2003 8:27 AM > To: AccessD > Subject: [AccessD] Mail Merge > > > Folks, > > I have been looking at a push method of mail merge were an access class > pushes data into the doc at bookmarks. It is my understanding that > there is also a pull method where the document knows what query it needs > to use to get data from Access and where to put the data in the > document. Is that method easy to set up for a given document? Any > online references for doing this? I need to get a handful of mail merge > docs set up quickly for a customer. > > John W. Colby > www.colbyconsulting.com > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: basMailMerge.txt URL: From cfoust at infostatsystems.com Tue Sep 23 16:25:19 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2003 14:25:19 -0700 Subject: [AccessD] Mail Merge Message-ID: I haven't done this since A97, so I haven't anything laying around. Then I was sending the text file out and triggering a merge to WinFax to send out hundreds of Faxes confirning event registrations. What I did was create a dummy text file of the right size and shape and name and hook the Word template document to it as a datasource. Then all I had to do was export a textfile to the same filename and location after killing the original and then trigger the merge from VBA code. There wasn't any need to import it because I was simply opening a tab delimited text file, which automatically was interpreted as a table. In that version, I had a separate header document to define the field names, but I'm fuzzy on the details after all this time and several later versions of Word and Access. Charlotte Foust -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Tuesday, September 23, 2003 12:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge So you have a piece of code VB macro) that opens the file and imports it? Access pulls the data and generates the text file? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2003 3:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge That's the approach I've always used as well. It isn't quite so bad in OXP, but there's just too much overhead when both Word and Access have to be considered at once. The other advantage to the text file approach, is that you can go back and redo it if there was a problem and you don't have to incur the overhead of a query since the source is static. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 23, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge If you do the pull method, I don't recommend having the Word document look to a query. There is an extra layer involved when negotiating into MDB or MDE that adds what I consider to be a lot of time, plus possibly a layer of security. The approach we prefer at our shop is to have your database output a text file with a standard name ("SelectedContacts.txt) to a standard folder (like "c:\temp" or the application's install folder). All mail merge documents are trained to look to this file, and the speed is MUCH faster for both connecting and merging. Plus this gives the you the added benefit of being able to send this file to printing vendors if you have specialty mailings. And the file can be opened in Excel for other kinds of merging and analysis uses as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 8:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From my.lists at verizon.net Tue Sep 23 16:32:46 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Tue, 23 Sep 2003 14:32:46 -0700 Subject: [AccessD] OT: Friday humor In-Reply-To: References: Message-ID: <3F70BBFE.6040308@verizon.net> This topic is OT clearly labled and on a TUESDAY, Let's take it to the OT list if it requires further discussion please note the netiquette at http://www.databaseadvisors.com/lists/netiquette.htm Specifically... ... "We try to maintain a light, family oriented environment and recognize that humour and banter are part and parcel. However please restrict posting of jokes (topical, non-offensive only) to Fridays and mark them as OT/Humour in the subject line. Be also advised that we have a separate OT list, that you are welcome to join. Please use that to keep the traffic on AccessD very much ON topic. Because of the virii that can cause havoc with html mail, do not use html mail. Actually, plain text is preferred by most people as it downloads faster." ... Thus what is offensive to one may not be offensive to someone else, if such material is unwanted simply add a filter to your email program that can easily remove OT subjects from your inbox, or simply delete such email. Thanks, Francisco Billy Pang wrote: > Steven: > so I don't think his true intention was to promote negative > stereotypes. However, if the artist is anonymous, you don't know what > his intensions are. So the question is, should DatabaseAdvisors allow > FridayHumor emails that contain content where racism was the true intent > of the original author (Weird Al or anonymous)? Naturally, this leads > to the next question: so, should we be culturally sensitive or insensitive? -- -Francisco From scapistrant at symphonyinfo.com Tue Sep 23 17:16:44 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 23 Sep 2003 17:16:44 -0500 Subject: [AccessD] Mail Merge In-Reply-To: Message-ID: The kind of mail merging that I'm familiar with doesn't actually import data into Word. Word just defines a "data source" for a particular document, and you place special Merge feilds on the document. When you perform a merge, the data simply flows through. You can choose to save the resulting merged document if you want. But it is not the same as "import". Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com Through September 25th: Phone: 612-333-1311 212 3rd Ave N, Ste 404 Minneapolis, MN 55401 After September 25th: Phone: 763-391-7400 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 3:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge So you have a piece of code VB macro) that opens the file and imports it? Access pulls the data and generates the text file? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2003 3:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge That's the approach I've always used as well. It isn't quite so bad in OXP, but there's just too much overhead when both Word and Access have to be considered at once. The other advantage to the text file approach, is that you can go back and redo it if there was a problem and you don't have to incur the overhead of a query since the source is static. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, September 23, 2003 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Mail Merge If you do the pull method, I don't recommend having the Word document look to a query. There is an extra layer involved when negotiating into MDB or MDE that adds what I consider to be a lot of time, plus possibly a layer of security. The approach we prefer at our shop is to have your database output a text file with a standard name ("SelectedContacts.txt) to a standard folder (like "c:\temp" or the application's install folder). All mail merge documents are trained to look to this file, and the speed is MUCH faster for both connecting and merging. Plus this gives the you the added benefit of being able to send this file to printing vendors if you have specialty mailings. And the file can be opened in Excel for other kinds of merging and analysis uses as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, September 23, 2003 8:27 AM To: AccessD Subject: [AccessD] Mail Merge Folks, I have been looking at a push method of mail merge were an access class pushes data into the doc at bookmarks. It is my understanding that there is also a pull method where the document knows what query it needs to use to get data from Access and where to put the data in the document. Is that method easy to set up for a given document? Any online references for doing this? I need to get a handful of mail merge docs set up quickly for a customer. John W. Colby www.colbyconsulting.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 23 17:43:42 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 10:43:42 +1200 Subject: [AccessD] Web based Project Message-ID: <5.2.0.9.0.20030924102510.00b1b148@mail.dalyn.co.nz> Group, Over the past 3 years we have developed a database in Access 97 that basically accepts user input, runs some basic calculations and prints reports. There are about 50 screens and 230 reports. The users (about 20 - could rise to about 100 in two years) are all on stand alone machines spread throughout the USA. They are the only ones that would normally access their client records. Currently there are about 5,000 client records in total but this could rise in the next two years to 50,000. My client now wants to put it onto the web so that updates can be done easier and in one place (rather than needing to be distributed each time). Users can then access it through the Internet, add/change their client data and run off their reports. This is not a big corporate so budget is an issue. The client also doesn't have an IT department so the maintenance of any web server would be outsourced. I only have experience in Access (97/XP) and SQL2000. I have not done anything with web based databases. My questions - 1) What options for an interface do I have using an Access or SQL back end? 2) Is there another option for the BE that might be better? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From scapistrant at symphonyinfo.com Tue Sep 23 17:59:33 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 23 Sep 2003 17:59:33 -0500 Subject: [AccessD] Web based Project In-Reply-To: <5.2.0.9.0.20030924102510.00b1b148@mail.dalyn.co.nz> Message-ID: Consider Citrix. You can keep your entire application in Access (or upgrade the BE to SQL Server when the size grows too big). Users around the world download a small client on their machine, and access your system via remote control. They don't even need Access installed. Don't need an expensive machine. All the processing activity happens at the server, so the speed is good. Web based databases are nice but cost a lot of money, and in the end you can't really reproduce many of the cool things we come to expect from a LAN based application. If you want a referral to a good Citrix vendor, let me know. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Tuesday, September 23, 2003 5:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Web based Project Group, Over the past 3 years we have developed a database in Access 97 that basically accepts user input, runs some basic calculations and prints reports. There are about 50 screens and 230 reports. The users (about 20 - could rise to about 100 in two years) are all on stand alone machines spread throughout the USA. They are the only ones that would normally access their client records. Currently there are about 5,000 client records in total but this could rise in the next two years to 50,000. My client now wants to put it onto the web so that updates can be done easier and in one place (rather than needing to be distributed each time). Users can then access it through the Internet, add/change their client data and run off their reports. This is not a big corporate so budget is an issue. The client also doesn't have an IT department so the maintenance of any web server would be outsourced. I only have experience in Access (97/XP) and SQL2000. I have not done anything with web based databases. My questions - 1) What options for an interface do I have using an Access or SQL back end? 2) Is there another option for the BE that might be better? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 23 18:15:31 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 11:15:31 +1200 Subject: [AccessD] Web based Project In-Reply-To: References: <5.2.0.9.0.20030924102510.00b1b148@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030924111420.00b736f0@mail.dalyn.co.nz> Thanks Steve, Do users access via direct dial or the internet? Can users print out the reports on their own printers? David At 23/09/2003, you wrote: >Consider Citrix. You can keep your entire application in Access (or upgrade >the BE to SQL Server when the size grows too big). Users around the world >download a small client on their machine, and access your system via remote >control. They don't even need Access installed. Don't need an expensive >machine. All the processing activity happens at the server, so the speed is >good. Web based databases are nice but cost a lot of money, and in the end >you can't really reproduce many of the cool things we come to expect from a >LAN based application. If you want a referral to a good Citrix vendor, let >me know. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Tuesday, September 23, 2003 5:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Web based Project > > >Group, > >Over the past 3 years we have developed a database in Access 97 that >basically accepts user input, runs some basic calculations and prints >reports. There are about 50 screens and 230 reports. The users (about 20 >- could rise to about 100 in two years) are all on stand alone machines >spread throughout the USA. They are the only ones that would normally >access their client records. Currently there are about 5,000 client >records in total but this could rise in the next two years to 50,000. > >My client now wants to put it onto the web so that updates can be done >easier and in one place (rather than needing to be distributed each >time). Users can then access it through the Internet, add/change their >client data and run off their reports. This is not a big corporate so >budget is an issue. > >The client also doesn't have an IT department so the maintenance of any web >server would be outsourced. > >I only have experience in Access (97/XP) and SQL2000. I have not done >anything with web based databases. > >My questions - > >1) What options for an interface do I have using an Access or SQL back end? > >2) Is there another option for the BE that might be better? > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 23 18:41:49 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 11:41:49 +1200 Subject: [AccessD] Slow loop through list box Message-ID: <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> I have a listbox which is used to select clients for including in reports. When the listbox is updated I have a separate text box that shows the names of the clients selected and the number selected. At the same time I store the ID's of the clients in a table that is used to filter out the required client records. The initial list box has over 1800 names. It is taking about 10 seconds to update the lists each time a client is selected. If I rem out the adding of ID's to the table then the time reduces to about 3 seconds. The main part of the code is - With Me!lstClientList For Each varItem In .ItemsSelected If .Selected(varItem) = True Then strList = strList & .Column(1, varItem) & vbCrLf ' Adds client name to selected list intClientNo = intClientNo + 1 ' Counts number of selected clients rst.AddNew 'Add client ID to table rst!CustIDNo = .Column(0, varItem) rst.Update End If Next varItem End With Any thoughts as to how I can speed up the process? The BE is SQL2000. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From scapistrant at symphonyinfo.com Tue Sep 23 18:50:32 2003 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 23 Sep 2003 18:50:32 -0500 Subject: [AccessD] Web based Project In-Reply-To: <5.2.0.9.0.20030924111420.00b736f0@mail.dalyn.co.nz> Message-ID: There are several variations of the "client", but most the most typically used one is internet based. So yes, they use their browser, and log in to a secure site, and then are presented with a remote desktop (so they have a remote desktop within their local desktop). Reports CAN be printed on their own printers, but that is one of the settings that you have to make special for each user. Some of our clients who use Citrix can handle this setup themselves, but others rely on a Citrix vendor to handle these advanced settings. The other thing that's nice is that you can load Word, Excel, Outlook, etc. on the Citrix server, allowing your Access app to interface with them as well. Still without requiring that those products be loaded on the client machine. This is why it is called "thin client" computing. Although the local machine could still have those apps locally loaded as well. Steve Capistrant Symphony Information Services scapistrant at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Tuesday, September 23, 2003 6:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Web based Project Thanks Steve, Do users access via direct dial or the internet? Can users print out the reports on their own printers? David At 23/09/2003, you wrote: >Consider Citrix. You can keep your entire application in Access (or upgrade >the BE to SQL Server when the size grows too big). Users around the world >download a small client on their machine, and access your system via remote >control. They don't even need Access installed. Don't need an expensive >machine. All the processing activity happens at the server, so the speed is >good. Web based databases are nice but cost a lot of money, and in the end >you can't really reproduce many of the cool things we come to expect from a >LAN based application. If you want a referral to a good Citrix vendor, let >me know. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Tuesday, September 23, 2003 5:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Web based Project > > >Group, > >Over the past 3 years we have developed a database in Access 97 that >basically accepts user input, runs some basic calculations and prints >reports. There are about 50 screens and 230 reports. The users (about 20 >- could rise to about 100 in two years) are all on stand alone machines >spread throughout the USA. They are the only ones that would normally >access their client records. Currently there are about 5,000 client >records in total but this could rise in the next two years to 50,000. > >My client now wants to put it onto the web so that updates can be done >easier and in one place (rather than needing to be distributed each >time). Users can then access it through the Internet, add/change their >client data and run off their reports. This is not a big corporate so >budget is an issue. > >The client also doesn't have an IT department so the maintenance of any web >server would be outsourced. > >I only have experience in Access (97/XP) and SQL2000. I have not done >anything with web based databases. > >My questions - > >1) What options for an interface do I have using an Access or SQL back end? > >2) Is there another option for the BE that might be better? > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at agric.nsw.gov.au Tue Sep 23 18:56:33 2003 From: connie.kamrowski at agric.nsw.gov.au (connie.kamrowski at agric.nsw.gov.au) Date: Wed, 24 Sep 2003 09:56:33 +1000 Subject: [AccessD] Web based Project Message-ID: David, We use Citrix as an extension to our corporate system. Our users can use a direct dial in secure ID or access via a citrix web based client. Users can print from their own printers and have access to all components of the database, there are specific settings for Citrix printers etc. On a personal note for my university course I am in the process of writing a web based application for an assignment which will run on an access data base. You may find this page interesting http://msdn.microsoft.com/library/default.asp?url=/archive/en-us/dnaraccgen/html/msdn_jobforum.asp Connie Kamrowski Analyst/Programmer Information Technology NSW Agriculture Orange |---------+------------------------------------> | | David Emerson | | | | | | Sent by: | | | accessd-bounces at databasea| | | dvisors.com | | | | | | | | | 24/09/03 09:15 AM | | | Please respond to Access | | | Developers discussion and| | | problem solving | | | | |---------+------------------------------------> >--------------------------------------------------------------------------------------------------------------| | | | To: Access Developers discussion and problem solving | | cc: | | Subject: RE: [AccessD] Web based Project | >--------------------------------------------------------------------------------------------------------------| Thanks Steve, Do users access via direct dial or the internet? Can users print out the reports on their own printers? David At 23/09/2003, you wrote: >Consider Citrix. You can keep your entire application in Access (or upgrade >the BE to SQL Server when the size grows too big). Users around the world >download a small client on their machine, and access your system via remote >control. They don't even need Access installed. Don't need an expensive >machine. All the processing activity happens at the server, so the speed is >good. Web based databases are nice but cost a lot of money, and in the end >you can't really reproduce many of the cool things we come to expect from a >LAN based application. If you want a referral to a good Citrix vendor, let >me know. > >Steve Capistrant >Symphony Information Services >scapistrant at symphonyinfo.com >www.symphonyinfo.com > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Tuesday, September 23, 2003 5:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Web based Project > > >Group, > >Over the past 3 years we have developed a database in Access 97 that >basically accepts user input, runs some basic calculations and prints >reports. There are about 50 screens and 230 reports. The users (about 20 >- could rise to about 100 in two years) are all on stand alone machines >spread throughout the USA. They are the only ones that would normally >access their client records. Currently there are about 5,000 client >records in total but this could rise in the next two years to 50,000. > >My client now wants to put it onto the web so that updates can be done >easier and in one place (rather than needing to be distributed each >time). Users can then access it through the Internet, add/change their >client data and run off their reports. This is not a big corporate so >budget is an issue. > >The client also doesn't have an IT department so the maintenance of any web >server would be outsourced. > >I only have experience in Access (97/XP) and SQL2000. I have not done >anything with web based databases. > >My questions - > >1) What options for an interface do I have using an Access or SQL back end? > >2) Is there another option for the BE that might be better? > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From wdhindman at bellsouth.net Tue Sep 23 19:12:59 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 23 Sep 2003 20:12:59 -0400 Subject: [AccessD] Web based Project References: Message-ID: <000d01c38230$9c9e7fa0$6001a8c0@dejpolsys> David/Steve ...as a long time user of Citrix I can't avoid jumping in here with a couple comments :) ...Citrix is basically a superset of W2K Terminal Server on a WAN ...net or dial up, both work quite well ...in fact the core code of TS was bought from Citrix a couple of years back and has replaced a lot of the original Citrix functionality. ...its great software, relatively pricey to implement but inexpensive to maintain ...will do everything you want and once setup requires minimal client maintenance ...updates are all done from the central server ...client printers are very easy to connect as long as they're PnP compliant ...its best if you spec a standard printer though or they'll drive you nuts trying to tweak reports to match every printer variable. ...if your client can afford it, Citrix sounds ideal for your stated needs ...you just keep right on writing Access code as you do now and Citrix handles the rest ...once setup you'll find the maintenance to be a breeze and your client will love it. ...clients sometimes balk at the upfront costs but the TCO is actually less than a web based app over time considering the high development, maintenance, and upgrade costs of a custom web app. ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Steve Capistrant" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 23, 2003 7:50 PM Subject: RE: [AccessD] Web based Project > There are several variations of the "client", but most the most typically > used one is internet based. So yes, they use their browser, and log in to a > secure site, and then are presented with a remote desktop (so they have a > remote desktop within their local desktop). > > Reports CAN be printed on their own printers, but that is one of the > settings that you have to make special for each user. Some of our clients > who use Citrix can handle this setup themselves, but others rely on a Citrix > vendor to handle these advanced settings. > > The other thing that's nice is that you can load Word, Excel, Outlook, etc. > on the Citrix server, allowing your Access app to interface with them as > well. Still without requiring that those products be loaded on the client > machine. This is why it is called "thin client" computing. Although the > local machine could still have those apps locally loaded as well. > > Steve Capistrant > Symphony Information Services > scapistrant at symphonyinfo.com > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson > Sent: Tuesday, September 23, 2003 6:16 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Web based Project > > > Thanks Steve, > > Do users access via direct dial or the internet? > > Can users print out the reports on their own printers? > > David > > At 23/09/2003, you wrote: > >Consider Citrix. You can keep your entire application in Access (or > upgrade > >the BE to SQL Server when the size grows too big). Users around the world > >download a small client on their machine, and access your system via remote > >control. They don't even need Access installed. Don't need an expensive > >machine. All the processing activity happens at the server, so the speed > is > >good. Web based databases are nice but cost a lot of money, and in the end > >you can't really reproduce many of the cool things we come to expect from > a > >LAN based application. If you want a referral to a good Citrix vendor, let > >me know. > > > >Steve Capistrant > >Symphony Information Services > >scapistrant at symphonyinfo.com > >www.symphonyinfo.com > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson > >Sent: Tuesday, September 23, 2003 5:44 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Web based Project > > > > > >Group, > > > >Over the past 3 years we have developed a database in Access 97 that > >basically accepts user input, runs some basic calculations and prints > >reports. There are about 50 screens and 230 reports. The users (about 20 > >- could rise to about 100 in two years) are all on stand alone machines > >spread throughout the USA. They are the only ones that would normally > >access their client records. Currently there are about 5,000 client > >records in total but this could rise in the next two years to 50,000. > > > >My client now wants to put it onto the web so that updates can be done > >easier and in one place (rather than needing to be distributed each > >time). Users can then access it through the Internet, add/change their > >client data and run off their reports. This is not a big corporate so > >budget is an issue. > > > >The client also doesn't have an IT department so the maintenance of any web > >server would be outsourced. > > > >I only have experience in Access (97/XP) and SQL2000. I have not done > >anything with web based databases. > > > >My questions - > > > >1) What options for an interface do I have using an Access or SQL back end? > > > >2) Is there another option for the BE that might be better? > > > >Regards > > > >David Emerson > >DALYN Software Ltd > >25b Cunliffe St, Johnsonville > >Wellington, New Zealand > >Ph/Fax (877) 456-1205 > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davide at dalyn.co.nz Tue Sep 23 19:55:52 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 12:55:52 +1200 Subject: [AccessD] Web based Project In-Reply-To: <000d01c38230$9c9e7fa0$6001a8c0@dejpolsys> References: Message-ID: <5.2.0.9.0.20030924125318.00b1b278@mail.dalyn.co.nz> Ah, that may be the catch. The users are independent financial reps. If they can't use their own laptops then they won't want to shell out for any extra hardware. What sort of costs are we looking at (ballpark figures) say for the server and 20 remote users? Is there a license per user? David At 23/09/2003, William wrote: >David/Steve >...if your client can afford it, Citrix sounds ideal for your stated needs >...you just keep right on writing Access code as you do now and Citrix >handles the rest ...once setup you'll find the maintenance to be a breeze >and your client will love it. > >...clients sometimes balk at the upfront costs but the TCO is actually less >than a web based app over time considering the high development, >maintenance, and upgrade costs of a custom web app. From michael.mattys at adelphia.net Tue Sep 23 20:23:32 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 23 Sep 2003 21:23:32 -0400 Subject: [AccessD] ComboBox Rowsource With 2 Field PK Message-ID: <003001c3823a$79516f80$6401a8c0@default> Hi Access-D, I have a table which cannot be edited per client instruction. It is linked into the current database as the customer table and has two text fields that comprise the primary key (Division and CustomerNo) A third field, CustomerName, is the one I would like to show in my combobox on my form in order to select a customer. I cannot, however, make one or the other the bound column as the customer name just disappears. I have tried Bound Column: 1,2 and 1;2. Doesn't work. Does anyone know what I must do? Mike Mattys From stuart at lexacorp.com.pg Tue Sep 23 20:38:27 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 24 Sep 2003 11:38:27 +1000 Subject: [AccessD] ComboBox Rowsource With 2 Field PK In-Reply-To: <003001c3823a$79516f80$6401a8c0@default> Message-ID: <3F718233.19254.1F20B9@localhost> On 23 Sep 2003 at 21:23, Michael R Mattys wrote: > Hi Access-D, > > I have a table which cannot be edited per client > instruction. It is linked into the current database > as the customer table and has two text fields that > comprise the primary key (Division and CustomerNo) > > A third field, CustomerName, is the one I would like > to show in my combobox on my form in order to > select a customer. I cannot, however, make one > or the other the bound column as the customer name > just disappears. > > I have tried Bound Column: 1,2 and 1;2. > Doesn't work. > Does anyone know what I must do? > > Mike Mattys > > You can only bind to a single column. Preferably, redesign the customer table and related tables so that you key on a single field (see the archives for discussions on natural v surrogate keys) Alternatively, you *could* make the combobox unbound and set the key fields in a before_update. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From wdhindman at bellsouth.net Tue Sep 23 21:19:08 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 23 Sep 2003 22:19:08 -0400 Subject: [AccessD] Web based Project References: <5.2.0.9.0.20030924125318.00b1b278@mail.dalyn.co.nz> Message-ID: <000801c38242$3c2b29e0$6001a8c0@dejpolsys> ...actually because you're running thin client they can use almost anything ...I've run a heavy duty A97 app on a 486 laptop w/48Mb ram via Citrix ...response is dependent on connection speed of course but even on a 28K modem it runs quite fast ...all the client is doing is painting the screen and sending keys ...all the processing is done on the server ...and virtually any server less than five years old will work in that role ...you don't need to go and spend a fortune on the latest and greatest :) ...check it out at: http://www.citrix.com/ ...dl their 90 day demo and set it up on your desktop and put the client on a laptop ...see for yourself :) ...plus check e-bay where there are always some good deals on Citrix cals and stuff ...one on there right now would get you in under 3K for a 25 cal subscription ...vs ~4.5K dealer price. ...and don't let the VAR sell you the farm ...any questions you know there's several Citrix users here to help :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "David Emerson" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 23, 2003 8:55 PM Subject: Re: [AccessD] Web based Project > Ah, that may be the catch. The users are independent financial reps. If > they can't use their own laptops then they won't want to shell out for any > extra hardware. > > What sort of costs are we looking at (ballpark figures) say for the server > and 20 remote users? Is there a license per user? > > David > > At 23/09/2003, William wrote: > >David/Steve > >...if your client can afford it, Citrix sounds ideal for your stated needs > >...you just keep right on writing Access code as you do now and Citrix > >handles the rest ...once setup you'll find the maintenance to be a breeze > >and your client will love it. > > > >...clients sometimes balk at the upfront costs but the TCO is actually less > >than a web based app over time considering the high development, > >maintenance, and upgrade costs of a custom web app. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Sep 23 21:20:38 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 23 Sep 2003 21:20:38 -0500 Subject: [AccessD] OT: Opening Access report from Visual Basic Message-ID: <2F8793082E00D4119A1700B0D0216BF802227236@main2.marlow.com> Dim Acc As Access.Application Set Acc = CreateObject("Access.Application") Acc.OpenCurrentDatabase "G:\SHARED\Productivity Reports\Oleg\db2.mdb" Acc.DoCmd.OpenReport "Project Box Sheet", acPreview Acc.CloseCurrentDatabase Acc.Quit Set Acc = Nothing That should work...if your report prompts the user, then the Access session is going to lock the thread you are using in VB. The code above is a modified version of my 'WolfWeb' project, which is designed to run a report that prompts the user for criteria. Drew -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Tuesday, September 23, 2003 3:16 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Opening Access report from Visual Basic Hi Group, I am trying to open an Access Report from Visual Basic form, doesn't seem to be working. I think that i used something like this in the past. (I checked Microst Access 9.0 Object library in references) Dim Acc As Object, db As Object Dim dbPath As String Set AccObj = CreateObject("Access.Application") Set db = AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" AccObj.OpenCurrentDatabase dbPath, False Set db = Nothing AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview AccObj.Visible = True ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Tue Sep 23 21:24:24 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 23 Sep 2003 22:24:24 -0400 Subject: [AccessD] ComboBox Rowsource With 2 Field PK References: <003001c3823a$79516f80$6401a8c0@default> Message-ID: <001301c38242$f8b80dd0$6001a8c0@dejpolsys> Michael ...use a query as your source ...concatenate the two fields in a query calc field and use that to select records ...HTH :) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Michael R Mattys" To: "AccessD" Sent: Tuesday, September 23, 2003 9:23 PM Subject: [AccessD] ComboBox Rowsource With 2 Field PK > Hi Access-D, > > I have a table which cannot be edited per client > instruction. It is linked into the current database > as the customer table and has two text fields that > comprise the primary key (Division and CustomerNo) > > A third field, CustomerName, is the one I would like > to show in my combobox on my form in order to > select a customer. I cannot, however, make one > or the other the bound column as the customer name > just disappears. > > I have tried Bound Column: 1,2 and 1;2. > Doesn't work. > Does anyone know what I must do? > > Mike Mattys > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael.mattys at adelphia.net Tue Sep 23 21:51:12 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 23 Sep 2003 22:51:12 -0400 Subject: [AccessD] ComboBox Rowsource With 2 Field PK References: <3F718233.19254.1F20B9@localhost> Message-ID: <005501c38246$b7c29490$6401a8c0@default> Thanks for your reply Stuart & William Strangely enough, neither text field requires a value and can be a zero-length string. I was able to set the bound column to 2 and set the column widths to 0;0;1. Mike Mattys ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, September 23, 2003 9:38 PM Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK > On 23 Sep 2003 at 21:23, Michael R Mattys wrote: > > > Hi Access-D, > > > > I have a table which cannot be edited per client > > instruction. It is linked into the current database > > as the customer table and has two text fields that > > comprise the primary key (Division and CustomerNo) > > > > A third field, CustomerName, is the one I would like > > to show in my combobox on my form in order to > > select a customer. I cannot, however, make one > > or the other the bound column as the customer name > > just disappears. > > > > I have tried Bound Column: 1,2 and 1;2. > > Doesn't work. > > Does anyone know what I must do? > > > > Mike Mattys > > > > > > You can only bind to a single column. > > Preferably, redesign the customer table and related tables so that > you key on a single field (see the archives for discussions on > natural v surrogate keys) > > Alternatively, you *could* make the combobox unbound and set the key > fields in a before_update. > > > > -- > Lexacorp Ltd > http://www.lexacorp.com.pg > Information Technology Consultancy, Software Development,System > Support. > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Tue Sep 23 21:56:48 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 23 Sep 2003 21:56:48 -0500 Subject: [AccessD] Web based Project Message-ID: <2F8793082E00D4119A1700B0D0216BF802227237@main2.marlow.com> Quick question on the reports. Do they prompt for criteria through query expressions, have no criteria, use code for criteria, or do they get criteria from forms? I ask this, because I designed the WolfWeb on my own time, to make running Access reports from the web a MUCH easier job. When designing it, I had a database we have in work, in mind. It's called Glovia Reports, and has lots of reports (about 900), which were developed by multiple developers. They all used Expressions in their querries to ask the users for criteria. I was asked to make several of these reports 'web based', and I did so for a handful of them. Making them web based took anywhere from 2 to 8 hours. The ones that just 'ran', I was able to just write a little bit of code, modify the page to provide a link to run the report. But several of them asked the users for criteria. The problem was, since those querries prompted for criteria, the calling thread would 'pause' while the prompt was displayed. Not good for an ASP/VB .dll, that couldn't 'see' the prompt. So for the few 'web based' reports I converted, I modified the querries (which was a complete pain, the reports usually had a MINIMUM of 5 or 6 querries behind it (one query using the next, and so on.). I changed the querries to get their criteria from public functions that retrieve global variables. Then I made a public function that would 'set' those global variables. Then I went and developed the ASP pages that would ask for the appropriate criteria (and a report format), then when the user clicked the run report button, the VB .dll would open the database, set the globals from the user's input, and then kick back the report. While driving home from work one night, I thought to myself, 'Self, there has got to be a way to run all of those reports directly from Access, without having to convert them....'. Then lightning struck. A multi-threaded VB application, that ran the Access database in one thread, and watched for criteria in another. Sure enough, I did it. Works great too. Right now, we are running 2 databases, for reports (the second one only has about 100 reports), through my WolfWeb project. (I had my agreement with work modified so I could work on it for my own benefit (along with doing contract work on the side, cause technically my original agreement set my work to own everything I coded.....ack), as long as they got copies of what I did for free.). It's been running for about a year now (maybe 9 or 10 months, I think I put it in place here last December), and the only issue is something I already have solved, but haven't bothered to put in place. Here's how it works. The user clicks the link for the database they want to run a report for. Then they get a combo box with a list of all the reports in the database, along with a combo box to select the format they want the report outputted too. Once they make their selections, and click the button, the system goes and starts running the report. Whenever a prompt appears, the end user gets an HTML representation of that prompt (which is pretty dead-on, but it uses HTML Styling...which requires IE 4.0 and up (not sure what version of Netscape is required). They fill in the HTML based dialog boxes (just as they would in Access), click the Okay, or whatever button, and that interaction is then mirrored to the Access database. It handles every sort of dialog box too. Errors, ODBC logins (and it creates password masks for fields that require it), etc. I even announced on here when it was ready, and setup a demo on my site, until someone said to setup Northwind as a demo. Then the walls came crashing in. Northwind uses forms to ask for criteria. Guess what, Access forms don't act like windows....NOT EVEN CLOSE. It's actually pretty odd how they work. The Access form itself has an hWnd, a few to be exact. There is a separate window for a few things, like subforms, headers, footes, etc. The really odd part, though, is that the controls are NOT separate windows....at least not all of them. The active control, and ONLY the active controls shows up as it's own window (with an hWnd). When the focus moves to another control, that window is now the new control, that has focus. It's just plain bizarre. So, since Northwind uses forms for criteria, I stopped working on the WolfWeb. Then another project hit my lap. (I know this is a long thread, but I like telling this...grin). It was for a buddy of mine, that I do various development stuff for. His name is Ken. Ken had a company that wanted a form from one of his databases, on the web. It was a decent form, about 30 to 40 controls, and they wanted the web just like his form (or so I thought.). I had already started working on handling Access forms with the WolfWeb, so I grabbed that code, and finished it for his little project. It wasn't setup directly to work in wolf web, but what it did, was create an exact (well relatively exact) HTML version of the form. When the form opened, it saved the HTML version as a text file. Worked pretty good. But apparently, the company that wanted it didn't have money for development at the time, so the project was put on hold (that was over a year ago). Then shortly after my apartment fire, they told Ken they had the green light, and were getting the PO approved. Unfortunately, I was still in the process of getting settled into my new place, so I ended up putting them on hold for a while. When things finally settled down, I blew the dust off that code, and created the HTML form. It had to be tweakded though, because Ken's form had combo boxes with a MASSIVE amount of data behind them (getting close the the 64k limit of them). It took 30 seconds to download the page at 384k. Not good. So we came up with some 'filters' that the users would select before the page was loaded, that vastly reduced the amount of combobox data we were dealing with. Then the kicker came. It turned out that they actually had a 'written' form, which looked NOTHING like Ken's form. Ken had put their written form in .pdf format, and THAT is what they wanted to use. Go figure. The 'new' form actually was pretty easy to replicate with just HTML tables, so I scrapped the Access form, and built the entire thing with just plain old HTML. It actually turned out WAY better then the Access form, because I didn't have to use Styling to force everything in place, I was able to use HTML tables, so everything just fit into place naturally. (Ken told me when they say the new look, their jaws dropped.....just the kind of thing a developer likes to hear! ). Anyhow, I told you all that, because the WolfWeb is just a hair's breadth from being about to display (and allow interaction) between a web user and an Access database. It's not completely perfect. I would have to create something to handle tab controls, and images, but as of right now, I can easily hand normal colors, text boxes, labels, combo boxes, listboxes, checkboxes, radio buttons, and command buttons. So, if this sounds interesting to you, let me know. We can talk about getting you a working version of WolfWeb (I'm very flexible, as Mike Mattys...grin), I'd be glad to help out with web development if you need it. But if the capabilities of the WolfWeb sound like it might give you a jump start, feel free to give me a holler. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Tuesday, September 23, 2003 5:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Web based Project Group, Over the past 3 years we have developed a database in Access 97 that basically accepts user input, runs some basic calculations and prints reports. There are about 50 screens and 230 reports. The users (about 20 - could rise to about 100 in two years) are all on stand alone machines spread throughout the USA. They are the only ones that would normally access their client records. Currently there are about 5,000 client records in total but this could rise in the next two years to 50,000. My client now wants to put it onto the web so that updates can be done easier and in one place (rather than needing to be distributed each time). Users can then access it through the Internet, add/change their client data and run off their reports. This is not a big corporate so budget is an issue. The client also doesn't have an IT department so the maintenance of any web server would be outsourced. I only have experience in Access (97/XP) and SQL2000. I have not done anything with web based databases. My questions - 1) What options for an interface do I have using an Access or SQL back end? 2) Is there another option for the BE that might be better? Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tuxedo_man at hotmail.com Tue Sep 23 22:08:01 2003 From: tuxedo_man at hotmail.com (Billy Pang) Date: Wed, 24 Sep 2003 03:08:01 +0000 Subject: [AccessD] OT: Friday humor (last message) Message-ID: Sorry, Brett, you're right. He didn't write that song. I jumped the gun (*embarassed*). (Francisco, I know it's not Friday but I have to write this message to clear Weird Al's name because I wrongfully accused him. This is my last message on this.) The reason why I find that song offensive is because people ask me whether or not I have ever eaten cats before just because I am Chinese. First time it's ok. Second time it gets annoying. I've seen three emails this week alone related to this (one was a forwarded joke, then the song, then the picture of man in a chinese restaurant holding a Chinese fortune cookie that reads "that was not chicken you ate.") Hope that you understand where I am coming from. Sincerely, Billy PS. Weird Al is pretty funny. Long ago, I remember watching his UHF movei (the bit about yappie's dog treats), his funny videos (esp. like a Surgeon) and his brief stint on Much Music. Didn't mean to offend any Weird Al fans out there. Let's remove him from the same category as Tom Green. >From: Brett Barabash >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] OT: Friday humor >Date: Tue, 23 Sep 2003 15:48:45 -0500 > > >I don't condone what Weird Al has done and sometimes I find it very > >questionable the way he chooses to entertain or the words he chooses to > >include in his songs. But some people will do anything to entertain. > >Exactly what has Wierd Al done that you do not "condone"? >He takes popular songs and adds humorous lyrics. >And he certainly didn't write the song that you are talking about. >Looking through his catalog, I'm trying to find something racially or >morally offensive. Sorry, I'm drawing a blank here. Can you help me out? > >Comparing him to TOM GREEN?! >Now, I find THAT offensive... > >(I know that this is off-topic, but it really bothers me when someone takes >a shot at a fairly clean-cut entertainer and lumps him in with trash like >Tom Green. This will be the end of the discussion for me). > > >-----Original Message----- >From: Billy Pang [mailto:tuxedo_man at hotmail.com] >Sent: Tuesday, September 23, 2003 3:28 PM >To: accessd at databaseadvisors.com >Cc: tuxedo_man at hotmail.com >Subject: Re: [AccessD] OT: Friday humor > > >Steven: > >Nothing legitimizes Weird Al or anyone for incorporating lyrics that >promote > >negative racial stereotypes. > > >From my perspective, Weird Al is an entertainer and his goal is to >entertain >so I don't think his true intention was to promote negative stereotypes. >However, if the artist is anonymous, you don't know what his intensions >are. > > So the question is, should DatabaseAdvisors allow FridayHumor emails >that >contain content where racism was the true intent of the original author >(Weird Al or anonymous)? Naturally, this leads to the next question: so, >should we be culturally sensitive or insensitive? > >I don't condone what Weird Al has done and sometimes I find it very >questionable the way he chooses to entertain or the words he chooses to >include in his songs. But some people will do anything to entertain. >Shock-comic Tom Green is another example. If you know who he is, you may >find his stunts are disgusting and tasteless but he does it for the shock >value. He's performed groteseque stunts like drinking milk straight from a >cow or played with dead-animal road kills solely to get TV ratings for his >show or promote his image. > >This stuff does not belong anywhere on TV, radio or any media but what can >you do? If you are going to make fun of cats, why do you have to include a >restaurant in it and why does that restaurant have to be Chinese? >Sometimes > >it's difficult to get insensitive about this but you always have to stand >up > >for what you believe in. > >Hope that clears things up. Database advisors is a fine database community >populated with generous people who are understanding, helpful and noble. >I've been on this list for many years and I have learned a great deal from >many of you and I hope that this list will contine to be successful and >thrive. > >Kindest regards, >Billy > > > >From: "Steven W. Erbach" > >Reply-To: Access Developers discussion and problem > >solving > >To: "Access Developers discussion and problem > >solving" > >Subject: Re: [AccessD] OT: Friday humor > >Date: Mon, 22 Sep 2003 20:34:13 -0500 > > > >Billy, > > > > >> But if that song was done by someone else other than Weird Al, some > >people > >may find that song offensive as it promotes a negative stereotype towards > >Chinese. << > > > >Why would it make a difference if the song was done by someone other than > >Weird Al? It wasn't, by the way; but what legitimizes Weird Al as opposed > >to > >somebody with too much time on their hands? > > > >Regards, > > > >Steve Erbach > >Scientific Marketing > >Neenah, WI > > > >"I think we should fight to preserve a country where people such as >Michael > >Moore get to miss the point as badly as he misses it." - Dennis Miller > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >http://join.msn.com/?page=features/junkmail > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-------------------------------------------------------------------------------------------------------------------- >This email and any files transmitted with it are confidential and >intended solely for the use of the individual or entity to whom >they are addressed. >If you have received this email in error please notify the >originator of the message. This footer also confirms that this >email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual >sender, except where the sender specifies and with authority, >states them to be the views of Tappe Construction Co. > >Scanning of this message and addition of this footer is performed >by SurfControl E-mail Filter software in conjunction with >virus detection software. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 From DWUTKA at marlow.com Tue Sep 23 22:10:58 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 23 Sep 2003 22:10:58 -0500 Subject: [AccessD] Slow loop through list box Message-ID: <2F8793082E00D4119A1700B0D0216BF802227238@main2.marlow.com> Just a thought, I would go in one of two different directions with this. One method would be to set a Global string variable. Then when I looped through the selected items, I would add them to the string, comma delimited. Then I would build a function that returns the string, and change the query criteria to look like this: In(MyStringReturningFunction()). The other approach would be to create a global 'collection'. Then make a class to hold the ID's. Then I would add an instance of that class for each ID that is selected, and set that instance's key in the collection to the ID (if the id is numeric, the key has to be a string, so I would set it as "ID:" & MyIDField. Then I would write a public function that returned true or false if that ID was in the collection or not (you can just use error handling, and set a empty class variable to the collection with that ID, if it returns, it exists, if not, it doesn't.). I think the In() statement would be faster, especially if you have indexing on that field, where you are querrying it, because I think it can use the string in the In() clause against it's index tables, instead of having to go through each record determining if it's true or false. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Tuesday, September 23, 2003 6:42 PM To: accessd at databaseadvisors.com Subject: [AccessD] Slow loop through list box I have a listbox which is used to select clients for including in reports. When the listbox is updated I have a separate text box that shows the names of the clients selected and the number selected. At the same time I store the ID's of the clients in a table that is used to filter out the required client records. The initial list box has over 1800 names. It is taking about 10 seconds to update the lists each time a client is selected. If I rem out the adding of ID's to the table then the time reduces to about 3 seconds. The main part of the code is - With Me!lstClientList For Each varItem In .ItemsSelected If .Selected(varItem) = True Then strList = strList & .Column(1, varItem) & vbCrLf ' Adds client name to selected list intClientNo = intClientNo + 1 ' Counts number of selected clients rst.AddNew 'Add client ID to table rst!CustIDNo = .Column(0, varItem) rst.Update End If Next varItem End With Any thoughts as to how I can speed up the process? The BE is SQL2000. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Sep 23 22:11:26 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 23 Sep 2003 20:11:26 -0700 Subject: [AccessD] OT: Opening Access report from Visual Basic References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> Message-ID: <3F710B5E.2010609@shaw.ca> try this; close just some lines in wrong spot Sub testreport() Dim AccObj As Object Dim db As Object Dim dbPath As String dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" Set AccObj = CreateObject("Access.Application") Set db = AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPath) AccObj.Visible = True AccObj.OpenCurrentDatabase dbPath, False AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview AccObj.Visible = True ' quit the application too if necessary 'AccObj.quit Set db = Nothing Set AccObj = Nothing ' End Sub Oleg_123 at xuppa.com wrote: >Hi Group, > >I am trying to open an Access Report from Visual Basic form, doesn't seem >to be working. I think that i used something like this in the past. (I >checked Microst Access 9.0 Object library in references) > >Dim Acc As Object, db As Object >Dim dbPath As String > Set AccObj = CreateObject("Access.Application") > Set db = AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) > >dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" > AccObj.OpenCurrentDatabase dbPath, False > Set db = Nothing > AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview > AccObj.Visible = True > > >----------------------------------------- >Get Breaking News from CNN, ABC, NBC, CBS Now. >http://www.xuppa.com/news/?link=webmail > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From davide at dalyn.co.nz Tue Sep 23 23:23:23 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 16:23:23 +1200 Subject: [AccessD] Slow loop through list box In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227238@main2.marlow.com> Message-ID: <5.2.0.9.0.20030924161008.00b1b2b0@mail.dalyn.co.nz> Thanks Drew, The problem with the IN() solution is that because the max length of the SQL variable is 8000 chars and the average length of the ID is 8 that limits us to 1000 customers selected at a time. I think that I might have to rethink when I update the table with the selected ID's. Perhaps I could do it after they have finished selecting all customers. David At 23/09/2003, you wrote: >Just a thought, I would go in one of two different directions with this. >One method would be to set a Global string variable. Then when I looped >through the selected items, I would add them to the string, comma delimited. >Then I would build a function that returns the string, and change the query >criteria to look like this: In(MyStringReturningFunction()). > >The other approach would be to create a global 'collection'. Then make a >class to hold the ID's. Then I would add an instance of that class for each >ID that is selected, and set that instance's key in the collection to the ID >(if the id is numeric, the key has to be a string, so I would set it as >"ID:" & MyIDField. Then I would write a public function that returned true >or false if that ID was in the collection or not (you can just use error >handling, and set a empty class variable to the collection with that ID, if >it returns, it exists, if not, it doesn't.). > >I think the In() statement would be faster, especially if you have indexing >on that field, where you are querrying it, because I think it can use the >string in the In() clause against it's index tables, instead of having to go >through each record determining if it's true or false. > >Drew > >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Tuesday, September 23, 2003 6:42 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Slow loop through list box > > >I have a listbox which is used to select clients for including in >reports. When the listbox is updated I have a separate text box that shows >the names of the clients selected and the number selected. At the same >time I store the ID's of the clients in a table that is used to filter out >the required client records. The initial list box has over 1800 names. It >is taking about 10 seconds to update the lists each time a client is >selected. If I rem out the adding of ID's to the table then the time >reduces to about 3 seconds. The main part of the code is - > > With Me!lstClientList > For Each varItem In .ItemsSelected > If .Selected(varItem) = True Then > strList = strList & .Column(1, varItem) & vbCrLf ' Adds >client name to selected list > intClientNo = intClientNo + 1 ' >Counts number of selected clients > rst.AddNew >'Add client ID to table > rst!CustIDNo = .Column(0, varItem) > rst.Update > End If > Next varItem > End With > >Any thoughts as to how I can speed up the process? The BE is SQL2000. > > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Tue Sep 23 23:42:07 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 16:42:07 +1200 Subject: [AccessD] Web based Project In-Reply-To: <2F8793082E00D4119A1700B0D0216BF802227237@main2.marlow.com> Message-ID: <5.2.0.9.0.20030924163152.00b63f80@mail.dalyn.co.nz> Drew, Thanks for the info. It looks like I will probably end up having to outsource this one for the conversion. The existing database uses several forms, tabs, subforms etc to collect financial information on a client, then runs the reports analyzing the information. None of the reports ask for user input while they are being run - it is mainly collected in tables, or from open forms. I will keep you in mind when we get closer to needing to find a solution. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From DWUTKA at marlow.com Tue Sep 23 23:51:40 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 23 Sep 2003 23:51:40 -0500 Subject: [AccessD] Slow loop through list box Message-ID: <2F8793082E00D4119A1700B0D0216BF80222723B@main2.marlow.com> What kind of ID are you using...a string? I would recommend making a table that has an Autonumber to represent each customer's ID, that should shorten the length of their ID. You can always go with the class collection method, but that might be a little slower to run the query. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Tuesday, September 23, 2003 11:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slow loop through list box Thanks Drew, The problem with the IN() solution is that because the max length of the SQL variable is 8000 chars and the average length of the ID is 8 that limits us to 1000 customers selected at a time. I think that I might have to rethink when I update the table with the selected ID's. Perhaps I could do it after they have finished selecting all customers. David At 23/09/2003, you wrote: >Just a thought, I would go in one of two different directions with this. >One method would be to set a Global string variable. Then when I looped >through the selected items, I would add them to the string, comma delimited. >Then I would build a function that returns the string, and change the query >criteria to look like this: In(MyStringReturningFunction()). > >The other approach would be to create a global 'collection'. Then make a >class to hold the ID's. Then I would add an instance of that class for each >ID that is selected, and set that instance's key in the collection to the ID >(if the id is numeric, the key has to be a string, so I would set it as >"ID:" & MyIDField. Then I would write a public function that returned true >or false if that ID was in the collection or not (you can just use error >handling, and set a empty class variable to the collection with that ID, if >it returns, it exists, if not, it doesn't.). > >I think the In() statement would be faster, especially if you have indexing >on that field, where you are querrying it, because I think it can use the >string in the In() clause against it's index tables, instead of having to go >through each record determining if it's true or false. > >Drew > >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Tuesday, September 23, 2003 6:42 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Slow loop through list box > > >I have a listbox which is used to select clients for including in >reports. When the listbox is updated I have a separate text box that shows >the names of the clients selected and the number selected. At the same >time I store the ID's of the clients in a table that is used to filter out >the required client records. The initial list box has over 1800 names. It >is taking about 10 seconds to update the lists each time a client is >selected. If I rem out the adding of ID's to the table then the time >reduces to about 3 seconds. The main part of the code is - > > With Me!lstClientList > For Each varItem In .ItemsSelected > If .Selected(varItem) = True Then > strList = strList & .Column(1, varItem) & vbCrLf ' Adds >client name to selected list > intClientNo = intClientNo + 1 ' >Counts number of selected clients > rst.AddNew >'Add client ID to table > rst!CustIDNo = .Column(0, varItem) > rst.Update > End If > Next varItem > End With > >Any thoughts as to how I can speed up the process? The BE is SQL2000. > > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Sep 23 23:53:35 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Tue, 23 Sep 2003 23:53:35 -0500 Subject: [AccessD] Web based Project Message-ID: <2F8793082E00D4119A1700B0D0216BF80222723C@main2.marlow.com> Tabs wouldn't be too hard to do, I just haven't added the capability. Also subforms should be just a 'redo' of the original form process. I think I'll sink my teeth into the WolfWeb again soon. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Tuesday, September 23, 2003 11:42 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Web based Project Drew, Thanks for the info. It looks like I will probably end up having to outsource this one for the conversion. The existing database uses several forms, tabs, subforms etc to collect financial information on a client, then runs the reports analyzing the information. None of the reports ask for user input while they are being run - it is mainly collected in tables, or from open forms. I will keep you in mind when we get closer to needing to find a solution. Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Sep 23 23:39:52 2003 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 24 Sep 2003 14:39:52 +1000 Subject: [AccessD] Class Tutorials Message-ID: <000401c38255$e84e6a30$0c05a8c0@carlton.local> Guys, Does anyone have any links or could recommend any good reading material on how to setup classes in a VB, VBA or .NET project. I need to learn more about this and am struggling to find any material... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Wed Sep 24 00:14:16 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Wed, 24 Sep 2003 00:14:16 -0500 Subject: [AccessD] Class Tutorials Message-ID: <2F8793082E00D4119A1700B0D0216BF80222723E@main2.marlow.com> I posted an example of using collections....here's the links. Hope this helps. http://www.wolfwares.com/accessD/postinfo.asp?Post=35980 http://www.wolfwares.com/accessD/postinfo.asp?Post=35998 http://www.wolfwares.com/accessD/postinfo.asp?Post=35999 http://www.wolfwares.com/accessD/postinfo.asp?Post=36002 http://www.wolfwares.com/accessD/postinfo.asp?Post=36004 Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, September 23, 2003 11:40 PM To: access group Subject: [AccessD] Class Tutorials Guys, Does anyone have any links or could recommend any good reading material on how to setup classes in a VB, VBA or .NET project. I need to learn more about this and am struggling to find any material... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From davide at dalyn.co.nz Wed Sep 24 00:29:24 2003 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 24 Sep 2003 17:29:24 +1200 Subject: [AccessD] Slow loop through list box In-Reply-To: <2F8793082E00D4119A1700B0D0216BF80222723B@main2.marlow.com> Message-ID: <5.2.0.9.0.20030924172541.00b33220@mail.dalyn.co.nz> The ID is an Autonumber - legacy from synchronising is that it was randomly generated (hence the large average size. Currently I am storing them in a table as they are being selected, then joining that table to the full customer table to do the filtering. The slowness is in updating the table each time (see the code at the bottom of the message). David At 23/09/2003, you wrote: >What kind of ID are you using...a string? I would recommend making a table >that has an Autonumber to represent each customer's ID, that should shorten >the length of their ID. > >You can always go with the class collection method, but that might be a >little slower to run the query. > >Drew > >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Tuesday, September 23, 2003 11:23 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Slow loop through list box > > >Thanks Drew, > >The problem with the IN() solution is that because the max length of the >SQL variable is 8000 chars and the average length of the ID is 8 that >limits us to 1000 customers selected at a time. > >I think that I might have to rethink when I update the table with the >selected ID's. Perhaps I could do it after they have finished selecting >all customers. > >David > >At 23/09/2003, you wrote: > >Just a thought, I would go in one of two different directions with this. > >One method would be to set a Global string variable. Then when I looped > >through the selected items, I would add them to the string, comma >delimited. > >Then I would build a function that returns the string, and change the query > >criteria to look like this: In(MyStringReturningFunction()). > > > >The other approach would be to create a global 'collection'. Then make a > >class to hold the ID's. Then I would add an instance of that class for >each > >ID that is selected, and set that instance's key in the collection to the >ID > >(if the id is numeric, the key has to be a string, so I would set it as > >"ID:" & MyIDField. Then I would write a public function that returned true > >or false if that ID was in the collection or not (you can just use error > >handling, and set a empty class variable to the collection with that ID, if > >it returns, it exists, if not, it doesn't.). > > > >I think the In() statement would be faster, especially if you have indexing > >on that field, where you are querrying it, because I think it can use the > >string in the In() clause against it's index tables, instead of having to >go > >through each record determining if it's true or false. > > > >Drew > > > >-----Original Message----- > >From: David Emerson [mailto:davide at dalyn.co.nz] > >Sent: Tuesday, September 23, 2003 6:42 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Slow loop through list box > > > > > >I have a listbox which is used to select clients for including in > >reports. When the listbox is updated I have a separate text box that shows > >the names of the clients selected and the number selected. At the same > >time I store the ID's of the clients in a table that is used to filter out > >the required client records. The initial list box has over 1800 names. It > >is taking about 10 seconds to update the lists each time a client is > >selected. If I rem out the adding of ID's to the table then the time > >reduces to about 3 seconds. The main part of the code is - > > > > With Me!lstClientList > > For Each varItem In .ItemsSelected > > If .Selected(varItem) = True Then > > strList = strList & .Column(1, varItem) & vbCrLf ' Adds > >client name to selected list > > intClientNo = intClientNo + 1 >' > >Counts number of selected clients > > rst.AddNew > >'Add client ID to table > > rst!CustIDNo = .Column(0, varItem) > > rst.Update > > End If > > Next varItem > > End With > > > >Any thoughts as to how I can speed up the process? The BE is SQL2000. > > > > > >Regards > > > >David Emerson > >DALYN Software Ltd > >25b Cunliffe St, Johnsonville > >Wellington, New Zealand > >Ph/Fax (877) 456-1205 > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Wed Sep 24 02:00:59 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Wed, 24 Sep 2003 09:00:59 +0200 Subject: AW: [AccessD] Class Tutorials Message-ID: hi Vlad try this one http://www.mvps.org/vb/index2.html?tips/truth.htm here you will find a link to Bruce McKinney's Hardcore Visual Basic the site itself is also very interessting. also you can check msdn http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatingyourownclasscollectionthehouseofbricks.asp (whatch the word wrap!) this link is the "house of bricks", there are also links to the "house of straw" & the "house of sticks", all very well written and show you how to use class moduls & collections. (click the link "See Also") a good book is Doing Objects in Visual Basic6, Deborah Kurata Sams hth alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von ACTEBS Gesendet: Mittwoch, 24. September 2003 06:40 An: access group Betreff: [AccessD] Class Tutorials Guys, Does anyone have any links or could recommend any good reading material on how to setup classes in a VB, VBA or .NET project. I need to learn more about this and am struggling to find any material... Thanks Vlad -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Wed Sep 24 03:15:24 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Sep 2003 09:15:24 +0100 Subject: [AccessD] Slow loop through list box In-Reply-To: <5.2.0.9.0.20030924172541.00b33220@mail.dalyn.co.nz> Message-ID: <004501c38274$04988ef0$b274d0d5@minster33c3r25> Hi David Firstly I agree you should wait until selection is all done before updating the table. That'll save loads of time. Secondly I'd suggest not running any code at all when user makes a selection. Add a "Select" button or somesuch with much the same code behind it. The user can then make several selections (make sure multi-select enabled) and then hit the Select button. Your code will then be run a lot less often. 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: 24 September 2003 06:29 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Slow loop through list box > > > The ID is an Autonumber - legacy from synchronising is that > it was randomly > generated (hence the large average size. > > Currently I am storing them in a table as they are being > selected, then > joining that table to the full customer table to do the > filtering. The > slowness is in updating the table each time (see the code at > the bottom of > the message). > > David > > At 23/09/2003, you wrote: > >What kind of ID are you using...a string? I would recommend > making a > >table that has an Autonumber to represent each customer's ID, that > >should shorten the length of their ID. > > > >You can always go with the class collection method, but that > might be a > >little slower to run the query. > > > >Drew > > > >-----Original Message----- > >From: David Emerson [mailto:davide at dalyn.co.nz] > >Sent: Tuesday, September 23, 2003 11:23 PM > >To: Access Developers discussion and problem solving > >Subject: RE: [AccessD] Slow loop through list box > > > > > >Thanks Drew, > > > >The problem with the IN() solution is that because the max length of > >the SQL variable is 8000 chars and the average length of the ID is 8 > >that limits us to 1000 customers selected at a time. > > > >I think that I might have to rethink when I update the table > with the > >selected ID's. Perhaps I could do it after they have finished > >selecting all customers. > > > >David > > > >At 23/09/2003, you wrote: > > >Just a thought, I would go in one of two different directions with > > >this. One method would be to set a Global string variable. > Then when > > >I looped through the selected items, I would add them to > the string, > > >comma > >delimited. > > >Then I would build a function that returns the string, and > change the > > >query criteria to look like this: In(MyStringReturningFunction()). > > > > > >The other approach would be to create a global 'collection'. Then > > >make a class to hold the ID's. Then I would add an > instance of that > > >class for > >each > > >ID that is selected, and set that instance's key in the > collection to > > >the > >ID > > >(if the id is numeric, the key has to be a string, so I > would set it > > >as "ID:" & MyIDField. Then I would write a public function that > > >returned true or false if that ID was in the collection or > not (you > > >can just use error handling, and set a empty class variable to the > > >collection with that ID, if it returns, it exists, if not, it > > >doesn't.). > > > > > >I think the In() statement would be faster, especially if you have > > >indexing on that field, where you are querrying it, > because I think > > >it can use the string in the In() clause against it's > index tables, > > >instead of having to > >go > > >through each record determining if it's true or false. > > > > > >Drew > > > > > >-----Original Message----- > > >From: David Emerson [mailto:davide at dalyn.co.nz] > > >Sent: Tuesday, September 23, 2003 6:42 PM > > >To: accessd at databaseadvisors.com > > >Subject: [AccessD] Slow loop through list box > > > > > > > > >I have a listbox which is used to select clients for including in > > >reports. When the listbox is updated I have a separate > text box that > > >shows the names of the clients selected and the number > selected. At > > >the same time I store the ID's of the clients in a table > that is used > > >to filter out the required client records. The initial > list box has > > >over 1800 names. It is taking about 10 seconds to update > the lists > > >each time a client is selected. If I rem out the adding > of ID's to > > >the table then the time reduces to about 3 seconds. The > main part of > > >the code is - > > > > > > With Me!lstClientList > > > For Each varItem In .ItemsSelected > > > If .Selected(varItem) = True Then > > > strList = strList & .Column(1, varItem) > & vbCrLf ' > > >Adds client name to selected list > > > intClientNo = intClientNo + 1 > >' > > >Counts number of selected clients > > > rst.AddNew > > >'Add client ID to table > > > rst!CustIDNo = .Column(0, varItem) > > > rst.Update > > > End If > > > Next varItem > > > End With > > > > > >Any thoughts as to how I can speed up the process? The BE is > > >SQL2000. > > > > > > > > >Regards > > > > > >David Emerson > > >DALYN Software Ltd > > >25b Cunliffe St, Johnsonville > > >Wellington, New Zealand > > >Ph/Fax (877) 456-1205 > > > > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > >_______________________________________________ > > >AccessD mailing list > > >AccessD at databaseadvisors.com > > >http://databaseadvisors.com/mailman/listinfo/accessd > > >Website: http://www.databaseadvisors.com > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From gustav at cactus.dk Wed Sep 24 03:24:39 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 24 Sep 2003 10:24:39 +0200 Subject: [AccessD] Slow loop through list box In-Reply-To: <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> References: <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> Message-ID: <1915339287.20030924102439@cactus.dk> Hi David It sounds/looks like you are building the complete list every time an item is selected. Why not add only that item which has been selected? /gustav > I have a listbox which is used to select clients for including in > reports. When the listbox is updated I have a separate text box that shows > the names of the clients selected and the number selected. At the same > time I store the ID's of the clients in a table that is used to filter out > the required client records. The initial list box has over 1800 names. It > is taking about 10 seconds to update the lists each time a client is > selected. If I rem out the adding of ID's to the table then the time > reduces to about 3 seconds. The main part of the code is - > With Me!lstClientList > For Each varItem In .ItemsSelected > If .Selected(varItem) = True Then > strList = strList & .Column(1, varItem) & vbCrLf ' Adds > client name to selected list > intClientNo = intClientNo + 1 ' > Counts number of selected clients > rst.AddNew > 'Add client ID to table > rst!CustIDNo = .Column(0, varItem) > rst.Update > End If > Next varItem > End With > Any thoughts as to how I can speed up the process? The BE is SQL2000. From gustav at cactus.dk Wed Sep 24 03:38:04 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 24 Sep 2003 10:38:04 +0200 Subject: [AccessD] ComboBox Rowsource With 2 Field PK In-Reply-To: <005501c38246$b7c29490$6401a8c0@default> References: <3F718233.19254.1F20B9@localhost> <005501c38246$b7c29490$6401a8c0@default> Message-ID: <966144595.20030924103804@cactus.dk> Hi Michael This requires, of course, that you _never_ (the dangerous word) will have a CustomerName represented twice or more in the table ... Personally, as you do have a unique key, I would follow the advice of William. /gustav > Thanks for your reply Stuart & William > Strangely enough, neither text field requires a value > and can be a zero-length string. > I was able to set the bound column to 2 and > set the column widths to 0;0;1. > Mike Mattys > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 23, 2003 9:38 PM > Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK >> On 23 Sep 2003 at 21:23, Michael R Mattys wrote: >> >> > Hi Access-D, >> > >> > I have a table which cannot be edited per client >> > instruction. It is linked into the current database >> > as the customer table and has two text fields that >> > comprise the primary key (Division and CustomerNo) >> > >> > A third field, CustomerName, is the one I would like >> > to show in my combobox on my form in order to >> > select a customer. I cannot, however, make one >> > or the other the bound column as the customer name >> > just disappears. >> > >> > I have tried Bound Column: 1,2 and 1;2. >> > Doesn't work. >> > Does anyone know what I must do? >> > >> > Mike Mattys >> > >> > >> >> You can only bind to a single column. >> >> Preferably, redesign the customer table and related tables so that >> you key on a single field (see the archives for discussions on >> natural v surrogate keys) >> >> Alternatively, you *could* make the combobox unbound and set the key >> fields in a before_update. From wdhindman at bellsouth.net Wed Sep 24 06:41:29 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 24 Sep 2003 07:41:29 -0400 Subject: [AccessD] ComboBox Rowsource With 2 Field PK References: <3F718233.19254.1F20B9@localhost> <005501c38246$b7c29490$6401a8c0@default> <966144595.20030924103804@cactus.dk> Message-ID: <002201c38290$cbb7aea0$6001a8c0@dejpolsys> gustav ...personally, "William's" advice would be to add an AN PK to the damn table no matter what the client said and use that since there is absolutely nothing in the customer's "primary key" that guarantees uniqueness ...the query source would be a fall back only in case the client was truly an idiot case ...in which event I'd drop him like a hot potato anyway ...when client's start designing my dbs, its time to find new clients :( ...but that would probably start the great surrogate key debate all over again and then JC would have to spend a couple days and mega bw writing rants and you know the rest ...etc, etc, etc :)))))) William Hindman So, then, to every man his chance -- to every man, regardless of his birth, his shining golden opportunity -- to every man his right to live, to work, to be himself, to become whatever his manhood and his vision can combine to make him -- this, seeker, is the promise of America. -- Thomas Wolfe ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 24, 2003 4:38 AM Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK > Hi Michael > > This requires, of course, that you _never_ (the dangerous word) will > have a CustomerName represented twice or more in the table ... > > Personally, as you do have a unique key, I would follow the advice of > William. > > /gustav > > > > Thanks for your reply Stuart & William > > > Strangely enough, neither text field requires a value > > and can be a zero-length string. > > > I was able to set the bound column to 2 and > > set the column widths to 0;0;1. > > > Mike Mattys > > > > ----- Original Message ----- > > From: "Stuart McLachlan" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 23, 2003 9:38 PM > > Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK > > > >> On 23 Sep 2003 at 21:23, Michael R Mattys wrote: > >> > >> > Hi Access-D, > >> > > >> > I have a table which cannot be edited per client > >> > instruction. It is linked into the current database > >> > as the customer table and has two text fields that > >> > comprise the primary key (Division and CustomerNo) > >> > > >> > A third field, CustomerName, is the one I would like > >> > to show in my combobox on my form in order to > >> > select a customer. I cannot, however, make one > >> > or the other the bound column as the customer name > >> > just disappears. > >> > > >> > I have tried Bound Column: 1,2 and 1;2. > >> > Doesn't work. > >> > Does anyone know what I must do? > >> > > >> > Mike Mattys > >> > > >> > > >> > >> You can only bind to a single column. > >> > >> Preferably, redesign the customer table and related tables so that > >> you key on a single field (see the archives for discussions on > >> natural v surrogate keys) > >> > >> Alternatively, you *could* make the combobox unbound and set the key > >> fields in a before_update. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Rich_Lavsa at pghcorning.com Wed Sep 24 06:45:53 2003 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 24 Sep 2003 07:45:53 -0400 Subject: [AccessD] Slow loop through list box Message-ID: <833956F5C117124A89417638FDB11290EBCF8F@goexchange.pghcorning.com> You said that the BE is SQL Server 2K... You didn't mention anything about it so I figure I'd bring up the obvious.. Why don't you create an index using the ID, FirstName, LastName fields. This should give you some additional performance if you haven't already done so. rich -----Original Message----- From: Drew Wutka [mailto:DWUTKA at marlow.com] Sent: Wednesday, September 24, 2003 12:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Slow loop through list box What kind of ID are you using...a string? I would recommend making a table that has an Autonumber to represent each customer's ID, that should shorten the length of their ID. You can always go with the class collection method, but that might be a little slower to run the query. Drew -----Original Message----- From: David Emerson [mailto:davide at dalyn.co.nz] Sent: Tuesday, September 23, 2003 11:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Slow loop through list box Thanks Drew, The problem with the IN() solution is that because the max length of the SQL variable is 8000 chars and the average length of the ID is 8 that limits us to 1000 customers selected at a time. I think that I might have to rethink when I update the table with the selected ID's. Perhaps I could do it after they have finished selecting all customers. David At 23/09/2003, you wrote: >Just a thought, I would go in one of two different directions with this. >One method would be to set a Global string variable. Then when I looped >through the selected items, I would add them to the string, comma delimited. >Then I would build a function that returns the string, and change the query >criteria to look like this: In(MyStringReturningFunction()). > >The other approach would be to create a global 'collection'. Then make a >class to hold the ID's. Then I would add an instance of that class for each >ID that is selected, and set that instance's key in the collection to the ID >(if the id is numeric, the key has to be a string, so I would set it as >"ID:" & MyIDField. Then I would write a public function that returned true >or false if that ID was in the collection or not (you can just use error >handling, and set a empty class variable to the collection with that ID, if >it returns, it exists, if not, it doesn't.). > >I think the In() statement would be faster, especially if you have indexing >on that field, where you are querrying it, because I think it can use the >string in the In() clause against it's index tables, instead of having to go >through each record determining if it's true or false. > >Drew > >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Tuesday, September 23, 2003 6:42 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Slow loop through list box > > >I have a listbox which is used to select clients for including in >reports. When the listbox is updated I have a separate text box that shows >the names of the clients selected and the number selected. At the same >time I store the ID's of the clients in a table that is used to filter out >the required client records. The initial list box has over 1800 names. It >is taking about 10 seconds to update the lists each time a client is >selected. If I rem out the adding of ID's to the table then the time >reduces to about 3 seconds. The main part of the code is - > > With Me!lstClientList > For Each varItem In .ItemsSelected > If .Selected(varItem) = True Then > strList = strList & .Column(1, varItem) & vbCrLf ' Adds >client name to selected list > intClientNo = intClientNo + 1 ' >Counts number of selected clients > rst.AddNew >'Add client ID to table > rst!CustIDNo = .Column(0, varItem) > rst.Update > End If > Next varItem > End With > >Any thoughts as to how I can speed up the process? The BE is SQL2000. > > >Regards > >David Emerson >DALYN Software Ltd >25b Cunliffe St, Johnsonville >Wellington, New Zealand >Ph/Fax (877) 456-1205 > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Wed Sep 24 06:57:23 2003 From: dkalsow at yahoo.com (Dale Kalsow) Date: Wed, 24 Sep 2003 04:57:23 -0700 (PDT) Subject: [AccessD] Access group security Message-ID: <20030924115723.96068.qmail@web9808.mail.yahoo.com> Good Morning, I have a database that has group security enabled and I need to modify it but do not know what the passwords are. Does any know how I can see what they are? Is there some free software on the web to retrieve these for me? Thanks! Dale --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Sep 24 07:26:05 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 24 Sep 2003 08:26:05 -0400 Subject: [AccessD] Class Tutorials Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5E4@TTNEXCHSRV1.hshhp.com> Vlad, I wrote an article for Many to Many (this list's newsletter) that is a walk through setting up a simple but useful class that wraps VB string functions into .NET-like syntax. It's in the Feb. 2002 edition at http://www.databaseadvisors.com/newsletters.htm Other than that I found a great book by Deborah Kurata "Doing Objects in VB 6" that really changed the way I write code. She's working on a .NET version now. HTH, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, September 24, 2003 12:40 AM To: access group Subject: [AccessD] Class Tutorials Guys, Does anyone have any links or could recommend any good reading material on how to setup classes in a VB, VBA or .NET project. I need to learn more about this and am struggling to find any material... Thanks Vlad *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From gustav at cactus.dk Wed Sep 24 07:39:49 2003 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 24 Sep 2003 14:39:49 +0200 Subject: [AccessD] ComboBox Rowsource With 2 Field PK In-Reply-To: <002201c38290$cbb7aea0$6001a8c0@dejpolsys> References: <3F718233.19254.1F20B9@localhost> <005501c38246$b7c29490$6401a8c0@default> <966144595.20030924103804@cactus.dk> <002201c38290$cbb7aea0$6001a8c0@dejpolsys> Message-ID: <12120649402.20030924143949@cactus.dk> Hi William I agree completely but hadn't left the pragmatic level. /gustav > gustav > ...personally, "William's" advice would be to add an AN PK to the damn table > no matter what the client said and use that since there is absolutely > nothing in the customer's "primary key" that guarantees uniqueness ...the > query source would be a fall back only in case the client was truly an idiot > case ...in which event I'd drop him like a hot potato anyway ...when > client's start designing my dbs, its time to find new clients :( > ...but that would probably start the great surrogate key debate all over > again and then JC would have to spend a couple days and mega bw writing > rants and you know the rest ...etc, etc, etc :)))))) > William Hindman > So, then, to every man his chance -- to every man, regardless of his birth, > his shining golden opportunity -- to every man his right to live, to work, > to be himself, to become whatever his manhood and his vision can combine to > make him -- this, seeker, is the promise of America. > -- Thomas Wolfe > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, September 24, 2003 4:38 AM > Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK >> Hi Michael >> >> This requires, of course, that you _never_ (the dangerous word) will >> have a CustomerName represented twice or more in the table ... >> >> Personally, as you do have a unique key, I would follow the advice of >> William. >> >> /gustav >> >> >> > Thanks for your reply Stuart & William >> >> > Strangely enough, neither text field requires a value >> > and can be a zero-length string. >> >> > I was able to set the bound column to 2 and >> > set the column widths to 0;0;1. >> >> > Mike Mattys >> >> >> > ----- Original Message ----- >> > From: "Stuart McLachlan" >> > To: "Access Developers discussion and problem solving" >> > >> > Sent: Tuesday, September 23, 2003 9:38 PM >> > Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK >> >> >> >> On 23 Sep 2003 at 21:23, Michael R Mattys wrote: >> >> >> >> > Hi Access-D, >> >> > >> >> > I have a table which cannot be edited per client >> >> > instruction. It is linked into the current database >> >> > as the customer table and has two text fields that >> >> > comprise the primary key (Division and CustomerNo) >> >> > >> >> > A third field, CustomerName, is the one I would like >> >> > to show in my combobox on my form in order to >> >> > select a customer. I cannot, however, make one >> >> > or the other the bound column as the customer name >> >> > just disappears. >> >> > >> >> > I have tried Bound Column: 1,2 and 1;2. >> >> > Doesn't work. >> >> > Does anyone know what I must do? >> >> > >> >> > Mike Mattys >> >> > >> >> > >> >> >> >> You can only bind to a single column. >> >> >> >> Preferably, redesign the customer table and related tables so that >> >> you key on a single field (see the archives for discussions on >> >> natural v surrogate keys) >> >> >> >> Alternatively, you *could* make the combobox unbound and set the key >> >> fields in a before_update. From HollisVJ at pgdp.usec.com Wed Sep 24 07:57:51 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 24 Sep 2003 07:57:51 -0500 Subject: [AccessD] Find a Word & Put in New Field Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFE46@cntexchange.pgdp.usec.com> This is a real challenge... Is it possible to search a field for certain text, remove the word for placement in another field? We have a part description that lists the document number in the description. The document numbers are all the same length and all start with DS-, (ex: DS-MDD-15987-001). But the document number might be anywhere in the description. The document number needs to be separated out into a field by itself. There are over 3,000 records & I really don't want to sit here for days doing a copy & paste to move the number to a new field. Any ideas? Or can this be done at all? Virginia From Goran.Pajnic at skanska.se Wed Sep 24 08:01:51 2003 From: Goran.Pajnic at skanska.se (Pajnic, Goran) Date: Wed, 24 Sep 2003 15:01:51 +0200 Subject: [AccessD] Syntax problem in Access 2000 Message-ID: <7E990A94B715D5119B0400B0D068C13B02DB2FC3@swe12.data.skanska.se> Hi group! Greetings from Sweden! Syntax problem in Access 2000: I have a forms called x and y. The form X is open and the form Y is open too. On the form X I have a button called "cmdUpdate" and some code in On click property for this button - cmdUpdate_Click(), in other words. When I close Y (On Close) I will run cmdUpdate_Click(). I can't get this work...some suggestions? Thanks Goran Pajnic Skanska IT Solutions AB 205 33 MALM? Sweden e-mail: goran.pajnic at skanska.se http://www.itsolutions.skanska.com "This message has been written in 100% recycled electrons" From paul.hartland at fsmail.net Wed Sep 24 08:08:54 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 24 Sep 2003 15:08:54 +0200 (CEST) Subject: [AccessD] Find a Word & Put in New Field Message-ID: <4523080.1064408934892.JavaMail.www@wwinf3006> Virginia, What you could do is something like the following : Dim MyDocNo as String MyDocNo = Mid(yourfieldname,Instr(yourfieldname,"DS-"),16) Replace (yourfieldname,MyDocNo, "") yourotherfield = MyDocNo this should work, please remember to back up your table etc before trying it Paul Hartland Message date : Sep 24 2003, 02:02 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : [AccessD] Find a Word & Put in New Field This is a real challenge... Is it possible to search a field for certain text, remove the word for placement in another field? We have a part description that lists the document number in the description. The document numbers are all the same length and all start with DS-, (ex: DS-MDD-15987-001). But the document number might be anywhere in the description. The document number needs to be separated out into a field by itself. There are over 3,000 records & I really don't want to sit here for days doing a copy & paste to move the number to a new field. Any ideas? Or can this be done at all? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Wed Sep 24 08:24:41 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 24 Sep 2003 15:24:41 +0200 (CEST) Subject: [AccessD] Anyone Used vbSendMail or know how to detect incoming email ? Message-ID: <29794171.1064409881962.JavaMail.www@wwinf3006> To all, I have the vbSendMail.dll component I use in all my Visual Basic 6 applications and have used it without any problem what so ever. However I can't seem to see any options for the following. 1. I need to detect incoming emails to a certain address 2. Check the subject to see if it says "File For Import" Can this be done using vbSendMail.dll or can it be done another way. If so any chance of some sample code etc ? Thanks in advance for any help on this problem.... Paul Hartland -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Wed Sep 24 08:40:50 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 24 Sep 2003 09:40:50 -0400 Subject: [AccessD] DB design Brainteaser In-Reply-To: <13f201c381eb$45cf0a40$0300a8c0@DELL1800> Message-ID: Gary, Sorry I'm late getting back to you. Let's toy around with an example and see how well it will fit. I've done this using a surrogate key approach. No points off for any misses first time around. tblOwners - One record per owner OwnerID - Autonumber - PK OwnerFirstName - Text OwnerLastName - Text etc tblFields - One record per field FieldID - Autonumber - PK FieldName - Text FieldLocation - Text (not sure how you'd specify this) etc. tblFieldOwners - One record per field/owner pair - This is a many to many linking table. FieldOwnerID - Autonumber - PK OwnerID - CK1A FieldID - CK1B NOTE: As I mentioned at the top, the approach is using surrogate keys. Here, it's really worthless. The approach causes additional processing in that we need an index to validate the candidate key pair of Owner/Field (you can only have one unique combination of each). So you could do this: tblFieldOwners - One record per field/owner pair - This is a many to many linking table. OwnerID - PK1A FieldID - PK1B SharePercentage - Decimal Which eliminates a field and an index. Depends on whether or not you need to reference that relationship from other tables. For consistency's sake, let's stick with the first. Now let's tackle the inventory side: tblProducts - One record per product ProductID - Autonumber - PK ProductName - Text ProductTypeID - Long - FK StockUOMID - Long - FK tblProductTypes - One record per product group (don't know if you need this or not) ProductTypeID - Autonumber - PK TypeDescription - Text tblUOMs - One record per unit of measure UOMID - Autonumber - PK UOMCode - Text(6) - CK UOMDesc - Text Note: this would not be the full table. I've only specified a few fields out of the total table that I would normally use. The UOM table design that I have allows for conversion from one UOM to another. This becomes helpful when buying/selling as the price can be based on a Purchase/Sell unit of measure rather then the stocking one. tblLots - One record per lot LotID - Autonumber - PK HarvestDate - Date/time ExpireDate - Date/time ProductID - FK FieldID - FK tblLotOwners - One record per lot per field/Owner Pair. In other words, for each lot, who owned that field at the time the lot was harvested. LotOwnerID - Autonumber - PK LotID - FK OwnerID - FK tblLocations - One record per possible location (this defines the master list of all valid locations to put something) LocationID - Autonumber - PK LocationCode - Text(6) - CK LocationType - Integer - Value Lookup (or a lookup table) - I.e.. Rack, Bin, Silo, Barn, etc. tblLocTrack - One record per Lot/Loc LocTrackID - Autonumber - PK LocationID - Long - FK LotID - Long - FK LocTrackQty - Decimal - Note: in stock keeping UOM LocTrackExpirationDate - Date/time LastReceiptDate - Date/Time LastIssueDate - Date/Time LastCycleCount - Date/Time OK. Up to this point, we know what we have, who owns it (not sure we have that totally covered yet), and where it is stored. Next is a Inventory transaction table that tells us how the inventory gets moved about. There is a lot of variation here in the way things can be done and this is just one way. We can modify this as we go along. I'm sure when we get into the selling logic that we'll need to or possibly add additional tables. tblInvTransactions - One record per inventory transaction (movement of inventory) InvTranID - Autonumber - PK TranDate - Date/time EnteredBy - EnteredOn - Date/time ProgramCode - Text(6) - I use this field to tag which program created a transaction - great for trouble shooting. TranDate - Date/time TranType - Integer - Indicates type of document that created this trans (ie. Balance Forward, Cust Order, PO, cycle count, physical inv adj, Keypunch error, etc.) DocReference - Text(12) - Reference to document # that created this transaction (ie. Customer Order Number) TranType - Text(1) - 'I'n or 'O'ut TranQty - Decimal - In stock keeping UOM LotID - Long - FK LocationID - Long - FK Note that we did not use the LocTrackID, but LotID and LocationID. That's because tblInvTransactions is a historical table. The records in it may far outlive the other records in the database, so it needs to maintain a copy of actual data. We are breaking normalization rules a bit. The correct way to do this is to use LocTrackID and have a tblHistoricalInvTrans, which we move records to when we purge from the main table. At that time, we would copy the actual field data from the other tables (thus creating a flat file). It's up to you how you would want to handle it. I'm going to stop there and let you digest all that. Looking back, I think the only thing not covered is what happens when someone sells their ownership in a lot. I have to go back over you messages and make sure I have this clear in my head. Fire away with any questions you might have. It would also be nice if others chime in with comments. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Tuesday, September 23, 2003 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DB design Brainteaser Jim, I'll try and clarify a couple of things and expound on questions inline below... <> From nancy.lytle at auatac.com Wed Sep 24 09:53:25 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Wed, 24 Sep 2003 10:53:25 -0400 Subject: [AccessD] Removing a filter from a report Message-ID: I know this should be simple but I have tried everything I can think of....and it was pushed to the back burner and now it is on the hot plate again so... The problem is I have a few reports, which users choose from a form. This form allows the user to choose the report they want, the year (one year, ie 2003 or all years) for the data, and the dept (either one dept. ie EDP or all depts), then a click of a button and the report opens for viewing with the selected records. But what seems to happen on occassion is that a "filter" will stick to the report, thus making the next selection not work. I selected the reports using the good old stDocName for the report and stLinkCriteria for the filter, ie DoCmd.OpenReport stDocName,,,stLinkCriteria On the close of each report I use Me.filter = "" and Me.applyFilter = false What am I doing wrong? PS, I also have the same problem with forms when I want to open one report based on criteria from another form. TIA Nancy Lytle nancy.lytle at auatac.com 202-314-1393 From Oleg_123 at xuppa.com Wed Sep 24 09:52:26 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 24 Sep 2003 10:52:26 -0400 (EDT) Subject: [AccessD] OT: Opening Access report from Visual Basic In-Reply-To: <3F710B5E.2010609@shaw.ca> References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> <3F710B5E.2010609@shaw.ca> Message-ID: <7384.216.75.77.221.1064415146.squirrel@heck.bay9.com> Thanks Marty, this seems to be working; actually I made it work yesterday with a slightly different code. Now, is there a way to for a report to open at full size ? I guess someithing "On Load" event of the report ? > try this; close just some lines in wrong spot > > Sub testreport() > Dim AccObj As Object > Dim db As Object > Dim dbPath As String > dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" > Set AccObj = CreateObject("Access.Application") > Set db = > AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPath) > > AccObj.Visible = True > AccObj.OpenCurrentDatabase dbPath, False > AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview > AccObj.Visible = True > ' quit the application too if necessary > 'AccObj.quit > Set db = Nothing > Set AccObj = Nothing > ' > End Sub > > Oleg_123 at xuppa.com wrote: > >>Hi Group, >> >>I am trying to open an Access Report from Visual Basic form, doesn't >> seem to be working. I think that i used something like this in the >> past. (I checked Microst Access 9.0 Object library in references) >> >>Dim Acc As Object, db As Object >>Dim dbPath As String >> Set AccObj = CreateObject("Access.Application") >> Set db = >> AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) >> >>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >> AccObj.OpenCurrentDatabase dbPath, False >> Set db = Nothing >> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >> AccObj.Visible = True >> >> >>----------------------------------------- >>Get Breaking News from CNN, ABC, NBC, CBS Now. >>http://www.xuppa.com/news/?link=webmail >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From liz at symphonyinfo.com Wed Sep 24 10:29:46 2003 From: liz at symphonyinfo.com (Liz Doering) Date: Wed, 24 Sep 2003 10:29:46 -0500 Subject: [AccessD] Syntax problem in Access 2000 In-Reply-To: <7E990A94B715D5119B0400B0D068C13B02DB2FC3@swe12.data.skanska.se> Message-ID: Hej p? dig, Goran! One form can't see the code associated with another form. If you move the code you want to run to a public module, you will be able to call it from anywhere in your application. So instead of Private Sub cmdUpdate_Click() 'do some stuff here End Sub You'll have in a module Public Sub UpdateRoutine() 'do your same stuff here End Sub and, on form X Private Sub cmdUpdate_Click() Call UpdateRoutine End Sub and, on form Y Private Sub Form_Close() Call UpdateRoutine End Sub Hope this helps, Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pajnic, Goran Sent: Wednesday, September 24, 2003 8:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Syntax problem in Access 2000 Hi group! Greetings from Sweden! Syntax problem in Access 2000: I have a forms called x and y. The form X is open and the form Y is open too. On the form X I have a button called "cmdUpdate" and some code in On click property for this button - cmdUpdate_Click(), in other words. When I close Y (On Close) I will run cmdUpdate_Click(). I can't get this work...some suggestions? Thanks Goran Pajnic Skanska IT Solutions AB 205 33 MALM? Sweden e-mail: goran.pajnic at skanska.se http://www.itsolutions.skanska.com "This message has been written in 100% recycled electrons" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Wed Sep 24 10:45:47 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 24 Sep 2003 11:45:47 -0400 Subject: [AccessD] ComboBox Rowsource With 2 Field PK References: <3F718233.19254.1F20B9@localhost> <005501c38246$b7c29490$6401a8c0@default> <966144595.20030924103804@cactus.dk> Message-ID: <018d01c382b2$ed695a40$6401a8c0@default> Heh, My client is a bit smarter than this. If he wasn't a CEO, he could be a programmer. I asked him about it this morning and he pointed out a field where he had already concatenated the DivisionNo and CustomerNo to assure uniqueness as this table is updated daily from MAS-90. I just didn't see it. Thanks again, Michael R. Mattys www.mattysconsulting.com ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 24, 2003 4:38 AM Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK > Hi Michael > > This requires, of course, that you _never_ (the dangerous word) will > have a CustomerName represented twice or more in the table ... > > Personally, as you do have a unique key, I would follow the advice of > William. > > /gustav > > > > Thanks for your reply Stuart & William > > > Strangely enough, neither text field requires a value > > and can be a zero-length string. > > > I was able to set the bound column to 2 and > > set the column widths to 0;0;1. > > > Mike Mattys > > > > ----- Original Message ----- > > From: "Stuart McLachlan" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 23, 2003 9:38 PM > > Subject: Re: [AccessD] ComboBox Rowsource With 2 Field PK > > > >> On 23 Sep 2003 at 21:23, Michael R Mattys wrote: > >> > >> > Hi Access-D, > >> > > >> > I have a table which cannot be edited per client > >> > instruction. It is linked into the current database > >> > as the customer table and has two text fields that > >> > comprise the primary key (Division and CustomerNo) > >> > > >> > A third field, CustomerName, is the one I would like > >> > to show in my combobox on my form in order to > >> > select a customer. I cannot, however, make one > >> > or the other the bound column as the customer name > >> > just disappears. > >> > > >> > I have tried Bound Column: 1,2 and 1;2. > >> > Doesn't work. > >> > Does anyone know what I must do? > >> > > >> > Mike Mattys > >> > > >> > > >> > >> You can only bind to a single column. > >> > >> Preferably, redesign the customer table and related tables so that > >> you key on a single field (see the archives for discussions on > >> natural v surrogate keys) > >> > >> Alternatively, you *could* make the combobox unbound and set the key > >> fields in a before_update. > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From HollisVJ at pgdp.usec.com Wed Sep 24 10:48:55 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 24 Sep 2003 10:48:55 -0500 Subject: [AccessD] Find a Word & Put in New Field Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFE47@cntexchange.pgdp.usec.com> Do I put it in a module & run it? I get the error: Expected = on Replace (.... Va. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, September 24, 2003 8:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Find a Word & Put in New Field Virginia, What you could do is something like the following : Dim MyDocNo as String MyDocNo = Mid(yourfieldname,Instr(yourfieldname,"DS-"),16) Replace (yourfieldname,MyDocNo, "") yourotherfield = MyDocNo this should work, please remember to back up your table etc before trying it Paul Hartland Message date : Sep 24 2003, 02:02 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : [AccessD] Find a Word & Put in New Field This is a real challenge... Is it possible to search a field for certain text, remove the word for placement in another field? We have a part description that lists the document number in the description. The document numbers are all the same length and all start with DS-, (ex: DS-MDD-15987-001). But the document number might be anywhere in the description. The document number needs to be separated out into a field by itself. There are over 3,000 records & I really don't want to sit here for days doing a copy & paste to move the number to a new field. Any ideas? Or can this be done at all? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.hartland at fsmail.net Wed Sep 24 10:56:55 2003 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 24 Sep 2003 17:56:55 +0200 (CEST) Subject: [AccessD] Find a Word & Put in New Field Message-ID: <6672338.1064419015254.JavaMail.www@wwinf3006> sorry try this line yourfieldname = Replace (yourfieldname,MyDocNo, "") Paul Message date : Sep 24 2003, 04:52 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] Find a Word & Put in New Field Do I put it in a module & run it? class=100264215-24092003> I get the error: Expected = on Replace (.... class=100264215-24092003> class=100264215-24092003>Va. class=100264215-24092003> size=2>-----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, September 24, 2003 8:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Find a Word & Put in New Field Virginia, What you could do is something like the following : Dim MyDocNo as String MyDocNo = Mid(yourfieldname,Instr(yourfieldname,"DS-"),16) Replace (yourfieldname,MyDocNo, "") yourotherfield = MyDocNo this should work, please remember to back up your table etc before trying it Paul Hartland style="BORDER-LEFT: #ff0000 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Message date : Sep 24 2003, 02:02 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : [AccessD] Find a Word & Put in New Field This is a real challenge... Is it possible to search a field for certain text, remove the word for placement in another field? We have a part description that lists the document number in the description. The document numbers are all the same length and all start with DS-, (ex: DS-MDD-15987-001). But the document number might be anywhere in the description. The document number needs to be separated out into a field by itself. There are over 3,000 records & I really don't want to sit here for days doing a copy & paste to move the number to a new field. Any ideas? Or can this be done at all? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com [ (no filename) (0.2 Kb) ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Wed Sep 24 11:40:19 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Wed, 24 Sep 2003 12:40:19 -0400 Subject: [AccessD] Slightly OT: FoxPro Tables via ADO Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5E9@TTNEXCHSRV1.hshhp.com> x-posted Accessd dba-VB I'm trying to programmatically access data stored in FoxPro 7 tables (I'm told by the vendor that this is Visual FoxPro). I can open an ADO connection using ODBC as follows: Dim cnn As ADODB.Connection Dim rs As ADODB.Recordset Set cnn = New Connection cnn.Open "Driver={Microsoft Visual FoxPro Driver};" & _ "SourceType=DBF;" & _ "SourceDB=\\Data\Persnl.DBF;" & _ "Exclusive=No" Debug.Print cnn.State Set rs = New ADODB.Recordset 'Set rs = cnn.Execute("Select * from Persnl") rs.Open "Persnl", cnn Debug.Print rs.RecordCount Set rs = Nothing Set cnn = Nothing The Connection State property returns a 1 which I believe means the connection is open. The question is how to loop through the Persnl.dbf table? The call to open the recordset fails with an error from the FP driver saying "unrecognized command verb". I also found and downloaded a VFP 8.0 oledb driver and similar code gives me this error: "The object invoked has disconnected from its clients" Does anyone have any experience with this? We're trying to get some of our HR info up our intranet and this is how it's stored. I'm going to be using a VB app to run an export from VFP otherwise I'd just link to an Access system to pull the data (which may be the best way at this point). TIA, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From HollisVJ at pgdp.usec.com Wed Sep 24 11:56:49 2003 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Wed, 24 Sep 2003 11:56:49 -0500 Subject: [AccessD] Find a Word & Put in New Field Message-ID: <618EB4D6DDCDD3119B0A00508B6FD37A0B2DFE48@cntexchange.pgdp.usec.com> Got it! Thanks, boy that sure saved me a lot of work. -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, September 24, 2003 10:57 AM To: Access Developers discussion and problem solving Subject: Re: RE: [AccessD] Find a Word & Put in New Field sorry try this line yourfieldname = Replace (yourfieldname,MyDocNo, "") Paul Message date : Sep 24 2003, 04:52 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : RE: [AccessD] Find a Word & Put in New Field Do I put it in a module & run it? class=100264215-24092003> I get the error: Expected = on Replace (.... class=100264215-24092003> class=100264215-24092003>Va. class=100264215-24092003> size=2>-----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, September 24, 2003 8:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Find a Word & Put in New Field Virginia, What you could do is something like the following : Dim MyDocNo as String MyDocNo = Mid(yourfieldname,Instr(yourfieldname,"DS-"),16) Replace (yourfieldname,MyDocNo, "") yourotherfield = MyDocNo this should work, please remember to back up your table etc before trying it Paul Hartland style="BORDER-LEFT: #ff0000 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Message date : Sep 24 2003, 02:02 PM >From : Hollis,Virginia To : 'Access Developers discussion and problem solving' Copy to : Subject : [AccessD] Find a Word & Put in New Field This is a real challenge... Is it possible to search a field for certain text, remove the word for placement in another field? We have a part description that lists the document number in the description. The document numbers are all the same length and all start with DS-, (ex: DS-MDD-15987-001). But the document number might be anywhere in the description. The document number needs to be separated out into a field by itself. There are over 3,000 records & I really don't want to sit here for days doing a copy & paste to move the number to a new field. Any ideas? Or can this be done at all? Virginia _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com [ (no filename) (0.2 Kb) ] -------------- next part -------------- An HTML attachment was scrubbed... URL: From joeget at vgernet.net Wed Sep 24 12:14:03 2003 From: joeget at vgernet.net (joeget at vgernet.net) Date: Wed, 24 Sep 2003 17:14:03 -0000 Subject: [AccessD] Message-ID: <200309241709.h8OH9o4P009333@vger.vgernet.net> I am trying to activate an unbound object frame that was wizard created to view a spreadsheet with a control. the reason i am doing this is that i want to label the unbound object frame with some words as to what it does (there are 4 of these on a form). So I am trying to code a command button to do this but cannot generate a double click which is requires by the unbound object frame property. Does anyone have an idea on how to do this? Thanks in advance John --------------------------------------------- Inter-Access http://www.vgernet.net From martyconnelly at shaw.ca Wed Sep 24 12:40:32 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 24 Sep 2003 10:40:32 -0700 Subject: [AccessD] OT: Opening Access report from Visual Basic References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> <3F710B5E.2010609@shaw.ca> <7384.216.75.77.221.1064415146.squirrel@heck.bay9.com> Message-ID: <3F71D710.7060309@shaw.ca> AccObj.DoCmd.Maximize Oleg_123 at xuppa.com wrote: >Thanks Marty, this seems to be working; actually I made it work yesterday >with a slightly different code. Now, is there a way to for a report to >open at full size ? I guess someithing "On Load" event of the report ? > > > > >>try this; close just some lines in wrong spot >> >>Sub testreport() >>Dim AccObj As Object >>Dim db As Object >>Dim dbPath As String >>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >> Set AccObj = CreateObject("Access.Application") >> Set db = >>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPath) >> >> AccObj.Visible = True >> AccObj.OpenCurrentDatabase dbPath, False >> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >> AccObj.Visible = True >> ' quit the application too if necessary >> 'AccObj.quit >> Set db = Nothing >> Set AccObj = Nothing >> ' >>End Sub >> >>Oleg_123 at xuppa.com wrote: >> >> >> >>>Hi Group, >>> >>>I am trying to open an Access Report from Visual Basic form, doesn't >>>seem to be working. I think that i used something like this in the >>>past. (I checked Microst Access 9.0 Object library in references) >>> >>>Dim Acc As Object, db As Object >>>Dim dbPath As String >>> Set AccObj = CreateObject("Access.Application") >>> Set db = >>>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) >>> >>>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >>> AccObj.OpenCurrentDatabase dbPath, False >>> Set db = Nothing >>> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >>> AccObj.Visible = True >>> >>> >>>----------------------------------------- >>>Get Breaking News from CNN, ABC, NBC, CBS Now. >>>http://www.xuppa.com/news/?link=webmail >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > >----------------------------------------- >Get Breaking News from CNN, ABC, NBC, CBS Now. >http://www.xuppa.com/news/?link=webmail > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From gmiller at sistersnet.com Wed Sep 24 13:19:53 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Wed, 24 Sep 2003 11:19:53 -0700 Subject: [AccessD] DB design Brainteaser References: Message-ID: <007301c382c8$73851f00$0300a8c0@DELL1800> Jim, What a wonderfully thought out and detailed response. I am still studying your model and it has brought up a couple of questions in my mind that I need to straighten out with the Company. Back to you soon and I really appreciate the time that you have given this. Gary Miller ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 24, 2003 6:40 AM Subject: RE: [AccessD] DB design Brainteaser > Gary, > > Sorry I'm late getting back to you. Let's toy around with an example and > see how well it will fit. I've done this using a surrogate key approach. > No points off for any misses first time around. > > tblOwners - One record per owner > OwnerID - Autonumber - PK > OwnerFirstName - Text > OwnerLastName - Text > etc > > tblFields - One record per field > FieldID - Autonumber - PK > FieldName - Text > FieldLocation - Text (not sure how you'd specify this) > etc. > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > FieldOwnerID - Autonumber - PK > OwnerID - CK1A > FieldID - CK1B > > NOTE: As I mentioned at the top, the approach is using surrogate keys. > Here, it's really worthless. The approach causes additional processing in > that we need an index to validate the candidate key pair of Owner/Field (you > can only have one unique combination of each). So you could do this: > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > OwnerID - PK1A > FieldID - PK1B > SharePercentage - Decimal > > Which eliminates a field and an index. Depends on whether or not you need > to reference that relationship from other tables. For consistency's sake, > let's stick with the first. > > > Now let's tackle the inventory side: > > tblProducts - One record per product > ProductID - Autonumber - PK > ProductName - Text > ProductTypeID - Long - FK > StockUOMID - Long - FK > > tblProductTypes - One record per product group (don't know if you need this > or not) > ProductTypeID - Autonumber - PK > TypeDescription - Text > > tblUOMs - One record per unit of measure > UOMID - Autonumber - PK > UOMCode - Text(6) - CK > UOMDesc - Text > > Note: this would not be the full table. I've only specified a few fields > out of the total table that I would normally use. The UOM table design that > I have allows for conversion from one UOM to another. This becomes helpful > when buying/selling as the price can be based on a Purchase/Sell unit of > measure rather then the stocking one. > > tblLots - One record per lot > LotID - Autonumber - PK > HarvestDate - Date/time > ExpireDate - Date/time > ProductID - FK > FieldID - FK > > tblLotOwners - One record per lot per field/Owner Pair. In other words, for > each lot, who owned that field at the time the lot was harvested. > LotOwnerID - Autonumber - PK > LotID - FK > OwnerID - FK > > tblLocations - One record per possible location (this defines the master > list of all valid locations to put something) > LocationID - Autonumber - PK > LocationCode - Text(6) - CK > LocationType - Integer - Value Lookup (or a lookup table) - I.e.. Rack, Bin, > Silo, Barn, etc. > > tblLocTrack - One record per Lot/Loc > LocTrackID - Autonumber - PK > LocationID - Long - FK > LotID - Long - FK > LocTrackQty - Decimal - Note: in stock keeping UOM > LocTrackExpirationDate - Date/time > LastReceiptDate - Date/Time > LastIssueDate - Date/Time > LastCycleCount - Date/Time > > > OK. Up to this point, we know what we have, who owns it (not sure we have > that totally covered yet), and where it is stored. Next is a Inventory > transaction table that tells us how the inventory gets moved about. There > is a lot of variation here in the way things can be done and this is just > one way. We can modify this as we go along. I'm sure when we get into the > selling logic that we'll need to or possibly add additional tables. > > tblInvTransactions - One record per inventory transaction (movement of > inventory) > InvTranID - Autonumber - PK > TranDate - Date/time > EnteredBy - > EnteredOn - Date/time > ProgramCode - Text(6) - I use this field to tag which program created a > transaction - great for trouble shooting. > TranDate - Date/time > TranType - Integer - Indicates type of document that created this trans (ie. > Balance Forward, Cust Order, PO, cycle count, physical inv adj, Keypunch > error, etc.) > DocReference - Text(12) - Reference to document # that created this > transaction (ie. Customer Order Number) > TranType - Text(1) - 'I'n or 'O'ut > TranQty - Decimal - In stock keeping UOM > LotID - Long - FK > LocationID - Long - FK > > Note that we did not use the LocTrackID, but LotID and LocationID. That's > because tblInvTransactions is a historical table. The records in it may far > outlive the other records in the database, so it needs to maintain a copy of > actual data. We are breaking normalization rules a bit. The correct way to > do this is to use LocTrackID and have a tblHistoricalInvTrans, which we move > records to when we purge from the main table. At that time, we would copy > the actual field data from the other tables (thus creating a flat file). > It's up to you how you would want to handle it. > > I'm going to stop there and let you digest all that. Looking back, I > think the only thing not covered is what happens when someone sells their > ownership in a lot. I have to go back over you messages and make sure I > have this clear in my head. Fire away with any questions you might have. > > It would also be nice if others chime in with comments. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller > Sent: Tuesday, September 23, 2003 11:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DB design Brainteaser > > > Jim, > > I'll try and clarify a couple of things and expound on > questions inline below... > > <> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Wed Sep 24 16:26:34 2003 From: artful at rogers.com (Arthur Fuller) Date: Wed, 24 Sep 2003 14:26:34 -0700 Subject: [AccessD] Syntax problem in Access 2000 In-Reply-To: <7E990A94B715D5119B0400B0D068C13B02DB2FC3@swe12.data.skanska.se> Message-ID: <000001c382e2$8a872bc0$6501a8c0@rock> Assuming A2000 or 2002. Probably your update click procedure is private. You could either change it to Public or write a public sub in form x that simply calls cmdUpdate_Click(). If you change the procedure to public, you can write: Forms("x").cmdUpdate_Click() Hth, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pajnic, Goran Sent: Wednesday, September 24, 2003 6:02 AM To: 'accessd at databaseadvisors.com' Subject: [AccessD] Syntax problem in Access 2000 Hi group! Greetings from Sweden! Syntax problem in Access 2000: I have a forms called x and y. The form X is open and the form Y is open too. On the form X I have a button called "cmdUpdate" and some code in On click property for this button - cmdUpdate_Click(), in other words. When I close Y (On Close) I will run cmdUpdate_Click(). I can't get this work...some suggestions? Thanks Goran Pajnic Skanska IT Solutions AB 205 33 MALM? Sweden e-mail: goran.pajnic at skanska.se http://www.itsolutions.skanska.com "This message has been written in 100% recycled electrons" _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/2003 From Christian.Brock at hoffman.army.mil Wed Sep 24 13:44:01 2003 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, PERSCOM) Date: Wed, 24 Sep 2003 14:44:01 -0400 Subject: [AccessD] Open access97 database from access 2002 Message-ID: I have a database in access 2002 that needs to open an Access97 database and then create a recordset for a table in it. This worked fine before I converted the database from Access97 to access 2002, but does not now. I can connect to the Access97 database using: Set mdbsAccountTests = DBEngine(0).OpenDatabase(mstrPath & pstrdB) But when I try to create the recordset: Set rstAccountTests = mdbsAccountTests.OpenRecordset(mstrAccountTestsSQL) I get a 3343 error, Unrecognized database format. I can't do anything about the access97 database being in Access97 format. It is being generated by another program that can't be changed at this time. I actually receive hundreds of these databases, so converting them to access 2002 is not feasible. Christian Brock -----Original Message----- From: Gary Miller [mailto:gmiller at sistersnet.com] Sent: Wednesday, 24 September 2003 14:20 To: Access Developers discussion and problem solving Subject: Re: [AccessD] DB design Brainteaser Jim, What a wonderfully thought out and detailed response. I am still studying your model and it has brought up a couple of questions in my mind that I need to straighten out with the Company. Back to you soon and I really appreciate the time that you have given this. Gary Miller ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 24, 2003 6:40 AM Subject: RE: [AccessD] DB design Brainteaser > Gary, > > Sorry I'm late getting back to you. Let's toy around with an example and > see how well it will fit. I've done this using a surrogate key approach. > No points off for any misses first time around. > > tblOwners - One record per owner > OwnerID - Autonumber - PK > OwnerFirstName - Text > OwnerLastName - Text > etc > > tblFields - One record per field > FieldID - Autonumber - PK > FieldName - Text > FieldLocation - Text (not sure how you'd specify this) > etc. > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > FieldOwnerID - Autonumber - PK > OwnerID - CK1A > FieldID - CK1B > > NOTE: As I mentioned at the top, the approach is using surrogate keys. > Here, it's really worthless. The approach causes additional processing in > that we need an index to validate the candidate key pair of Owner/Field (you > can only have one unique combination of each). So you could do this: > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > OwnerID - PK1A > FieldID - PK1B > SharePercentage - Decimal > > Which eliminates a field and an index. Depends on whether or not you need > to reference that relationship from other tables. For consistency's sake, > let's stick with the first. > > > Now let's tackle the inventory side: > > tblProducts - One record per product > ProductID - Autonumber - PK > ProductName - Text > ProductTypeID - Long - FK > StockUOMID - Long - FK > > tblProductTypes - One record per product group (don't know if you need this > or not) > ProductTypeID - Autonumber - PK > TypeDescription - Text > > tblUOMs - One record per unit of measure > UOMID - Autonumber - PK > UOMCode - Text(6) - CK > UOMDesc - Text > > Note: this would not be the full table. I've only specified a few fields > out of the total table that I would normally use. The UOM table design that > I have allows for conversion from one UOM to another. This becomes helpful > when buying/selling as the price can be based on a Purchase/Sell unit of > measure rather then the stocking one. > > tblLots - One record per lot > LotID - Autonumber - PK > HarvestDate - Date/time > ExpireDate - Date/time > ProductID - FK > FieldID - FK > > tblLotOwners - One record per lot per field/Owner Pair. In other words, for > each lot, who owned that field at the time the lot was harvested. > LotOwnerID - Autonumber - PK > LotID - FK > OwnerID - FK > > tblLocations - One record per possible location (this defines the master > list of all valid locations to put something) > LocationID - Autonumber - PK > LocationCode - Text(6) - CK > LocationType - Integer - Value Lookup (or a lookup table) - I.e.. Rack, Bin, > Silo, Barn, etc. > > tblLocTrack - One record per Lot/Loc > LocTrackID - Autonumber - PK > LocationID - Long - FK > LotID - Long - FK > LocTrackQty - Decimal - Note: in stock keeping UOM > LocTrackExpirationDate - Date/time > LastReceiptDate - Date/Time > LastIssueDate - Date/Time > LastCycleCount - Date/Time > > > OK. Up to this point, we know what we have, who owns it (not sure we have > that totally covered yet), and where it is stored. Next is a Inventory > transaction table that tells us how the inventory gets moved about. There > is a lot of variation here in the way things can be done and this is just > one way. We can modify this as we go along. I'm sure when we get into the > selling logic that we'll need to or possibly add additional tables. > > tblInvTransactions - One record per inventory transaction (movement of > inventory) > InvTranID - Autonumber - PK > TranDate - Date/time > EnteredBy - > EnteredOn - Date/time > ProgramCode - Text(6) - I use this field to tag which program created a > transaction - great for trouble shooting. > TranDate - Date/time > TranType - Integer - Indicates type of document that created this trans (ie. > Balance Forward, Cust Order, PO, cycle count, physical inv adj, Keypunch > error, etc.) > DocReference - Text(12) - Reference to document # that created this > transaction (ie. Customer Order Number) > TranType - Text(1) - 'I'n or 'O'ut > TranQty - Decimal - In stock keeping UOM > LotID - Long - FK > LocationID - Long - FK > > Note that we did not use the LocTrackID, but LotID and LocationID. That's > because tblInvTransactions is a historical table. The records in it may far > outlive the other records in the database, so it needs to maintain a copy of > actual data. We are breaking normalization rules a bit. The correct way to > do this is to use LocTrackID and have a tblHistoricalInvTrans, which we move > records to when we purge from the main table. At that time, we would copy > the actual field data from the other tables (thus creating a flat file). > It's up to you how you would want to handle it. > > I'm going to stop there and let you digest all that. Looking back, I > think the only thing not covered is what happens when someone sells their > ownership in a lot. I have to go back over you messages and make sure I > have this clear in my head. Fire away with any questions you might have. > > It would also be nice if others chime in with comments. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller > Sent: Tuesday, September 23, 2003 11:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DB design Brainteaser > > > Jim, > > I'll try and clarify a couple of things and expound on > questions inline below... > > <> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Sep 24 13:52:19 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 24 Sep 2003 11:52:19 -0700 Subject: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO References: <22F1CCD5171D17419CB37FEEE09D5F990173F5E9@TTNEXCHSRV1.hshhp.com> Message-ID: <3F71E7E3.7020602@shaw.ca> Are you using Jet SP-7 that corrects some ISAM driver problems http://support.microsoft.com/?kbid=282010 also check here http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForVisualFoxPro Jim DeMarco wrote: >x-posted Accessd dba-VB > >I'm trying to programmatically access data stored in FoxPro 7 tables (I'm told by the vendor that this is Visual FoxPro). I can open an ADO connection using ODBC as follows: > > >Dim cnn As ADODB.Connection >Dim rs As ADODB.Recordset > Set cnn = New Connection > cnn.Open "Driver={Microsoft Visual FoxPro Driver};" & _ > "SourceType=DBF;" & _ > "SourceDB=\\Data\Persnl.DBF;" & _ > "Exclusive=No" > Debug.Print cnn.State > Set rs = New ADODB.Recordset > 'Set rs = cnn.Execute("Select * from Persnl") > rs.Open "Persnl", cnn > Debug.Print rs.RecordCount > Set rs = Nothing > Set cnn = Nothing > > >The Connection State property returns a 1 which I believe means the connection is open. The question is how to loop through the Persnl.dbf table? The call to open the recordset fails with an error from the FP driver saying "unrecognized command verb". > >I also found and downloaded a VFP 8.0 oledb driver and similar code gives me this error: "The object invoked has disconnected from its clients" > >Does anyone have any experience with this? We're trying to get some of our HR info up our intranet and this is how it's stored. I'm going to be using a VB app to run an export from VFP otherwise I'd just link to an Access system to pull the data (which may be the best way at this point). > >TIA, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > From jimdettman at earthlink.net Wed Sep 24 14:13:37 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 24 Sep 2003 15:13:37 -0400 Subject: [AccessD] DB design Brainteaser In-Reply-To: <007301c382c8$73851f00$0300a8c0@DELL1800> Message-ID: Gary, It's certainly not complete; I've noticed 3 or 4 problems already in what I posted. Mostly because I was fleshing things out as I went along. When you have your questions answered by the company, bounce back and we'll get it straightened out and run it through the wringer again. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Wednesday, September 24, 2003 2:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DB design Brainteaser Jim, What a wonderfully thought out and detailed response. I am still studying your model and it has brought up a couple of questions in my mind that I need to straighten out with the Company. Back to you soon and I really appreciate the time that you have given this. Gary Miller ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Wednesday, September 24, 2003 6:40 AM Subject: RE: [AccessD] DB design Brainteaser > Gary, > > Sorry I'm late getting back to you. Let's toy around with an example and > see how well it will fit. I've done this using a surrogate key approach. > No points off for any misses first time around. > > tblOwners - One record per owner > OwnerID - Autonumber - PK > OwnerFirstName - Text > OwnerLastName - Text > etc > > tblFields - One record per field > FieldID - Autonumber - PK > FieldName - Text > FieldLocation - Text (not sure how you'd specify this) > etc. > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > FieldOwnerID - Autonumber - PK > OwnerID - CK1A > FieldID - CK1B > > NOTE: As I mentioned at the top, the approach is using surrogate keys. > Here, it's really worthless. The approach causes additional processing in > that we need an index to validate the candidate key pair of Owner/Field (you > can only have one unique combination of each). So you could do this: > > tblFieldOwners - One record per field/owner pair - This is a many to many > linking table. > OwnerID - PK1A > FieldID - PK1B > SharePercentage - Decimal > > Which eliminates a field and an index. Depends on whether or not you need > to reference that relationship from other tables. For consistency's sake, > let's stick with the first. > > > Now let's tackle the inventory side: > > tblProducts - One record per product > ProductID - Autonumber - PK > ProductName - Text > ProductTypeID - Long - FK > StockUOMID - Long - FK > > tblProductTypes - One record per product group (don't know if you need this > or not) > ProductTypeID - Autonumber - PK > TypeDescription - Text > > tblUOMs - One record per unit of measure > UOMID - Autonumber - PK > UOMCode - Text(6) - CK > UOMDesc - Text > > Note: this would not be the full table. I've only specified a few fields > out of the total table that I would normally use. The UOM table design that > I have allows for conversion from one UOM to another. This becomes helpful > when buying/selling as the price can be based on a Purchase/Sell unit of > measure rather then the stocking one. > > tblLots - One record per lot > LotID - Autonumber - PK > HarvestDate - Date/time > ExpireDate - Date/time > ProductID - FK > FieldID - FK > > tblLotOwners - One record per lot per field/Owner Pair. In other words, for > each lot, who owned that field at the time the lot was harvested. > LotOwnerID - Autonumber - PK > LotID - FK > OwnerID - FK > > tblLocations - One record per possible location (this defines the master > list of all valid locations to put something) > LocationID - Autonumber - PK > LocationCode - Text(6) - CK > LocationType - Integer - Value Lookup (or a lookup table) - I.e.. Rack, Bin, > Silo, Barn, etc. > > tblLocTrack - One record per Lot/Loc > LocTrackID - Autonumber - PK > LocationID - Long - FK > LotID - Long - FK > LocTrackQty - Decimal - Note: in stock keeping UOM > LocTrackExpirationDate - Date/time > LastReceiptDate - Date/Time > LastIssueDate - Date/Time > LastCycleCount - Date/Time > > > OK. Up to this point, we know what we have, who owns it (not sure we have > that totally covered yet), and where it is stored. Next is a Inventory > transaction table that tells us how the inventory gets moved about. There > is a lot of variation here in the way things can be done and this is just > one way. We can modify this as we go along. I'm sure when we get into the > selling logic that we'll need to or possibly add additional tables. > > tblInvTransactions - One record per inventory transaction (movement of > inventory) > InvTranID - Autonumber - PK > TranDate - Date/time > EnteredBy - > EnteredOn - Date/time > ProgramCode - Text(6) - I use this field to tag which program created a > transaction - great for trouble shooting. > TranDate - Date/time > TranType - Integer - Indicates type of document that created this trans (ie. > Balance Forward, Cust Order, PO, cycle count, physical inv adj, Keypunch > error, etc.) > DocReference - Text(12) - Reference to document # that created this > transaction (ie. Customer Order Number) > TranType - Text(1) - 'I'n or 'O'ut > TranQty - Decimal - In stock keeping UOM > LotID - Long - FK > LocationID - Long - FK > > Note that we did not use the LocTrackID, but LotID and LocationID. That's > because tblInvTransactions is a historical table. The records in it may far > outlive the other records in the database, so it needs to maintain a copy of > actual data. We are breaking normalization rules a bit. The correct way to > do this is to use LocTrackID and have a tblHistoricalInvTrans, which we move > records to when we purge from the main table. At that time, we would copy > the actual field data from the other tables (thus creating a flat file). > It's up to you how you would want to handle it. > > I'm going to stop there and let you digest all that. Looking back, I > think the only thing not covered is what happens when someone sells their > ownership in a lot. I have to go back over you messages and make sure I > have this clear in my head. Fire away with any questions you might have. > > It would also be nice if others chime in with comments. > > Jim Dettman > President, > Online Computer Services of WNY, Inc. > (315) 699-3443 > jimdettman at earthlink.net > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller > Sent: Tuesday, September 23, 2003 11:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DB design Brainteaser > > > Jim, > > I'll try and clarify a couple of things and expound on > questions inline below... > > <> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mtucker at myrealbox.com Wed Sep 24 15:06:40 2003 From: mtucker at myrealbox.com (Michael Tucker) Date: Wed, 24 Sep 2003 16:06:40 -0400 Subject: [AccessD] Reports for printing CD Labels? Message-ID: <3F71F950.3000203@myrealbox.com> Hi Everyone, I've created a small database to help me track a small music collection I've started. I'm hoping to be able to create a report that will contain the layout suitable for printing on the Avery CD labels (or another brand). I was wondering if someone had already created something like this and perhaps could send me a database containing a sample report with the correct layout. This sounds like it could be a painful experience full of trial and error and was hoping someone had already gone through that. Thanks for any help. From gmiller at sistersnet.com Wed Sep 24 15:24:23 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Wed, 24 Sep 2003 13:24:23 -0700 Subject: [AccessD] DB design Brainteaser References: <007301c382c8$73851f00$0300a8c0@DELL1800> Message-ID: <008b01c382d9$e34fd580$0300a8c0@DELL1800> Jim ( and interested others ), I have had a chance to go through your layout pretty well and it certainly seems like a very workable model. I will list a couple of things that I have added and then address some questions that I have. **** New Table **** tblGrowers ? Ties an Owner to a field as Primary Grower. Needed for communications - DualPK FieldID ? PK1A OwnerID ? PK1B **** New Table **** tblMasterLocations ? General Storage Location area used to limit user choices during input and for reporting purposes. There may be bins with the same numbers at multiple master locations. MasterLocationID ? Autonumber - PK MasterLocation ? Text(15) *** Added to tblLocations *** MasterLocationID ? Long - FK *** New Table *** tblInvTranTypes ? Lookup Table for InvTranTypes InvTranID ? Autonumber ? PK InvTran ? Text(15) *** In the tblInvTransactions there were actually 2 TranType fields. I renamed the first on to InvTranID to store the value from the new Lookup table and renamed the second In/Out one to just Tran so not to confuse with the above. *** After discussions with the company I will probably drop the UnitOfMeasure as they always refer to and price the product by the pound no matter if it is loose or in whatever type container. *** There is only one product, grass seed, so I have made some modifications to what you had for Product. tblSpecies - One record per product SpeciesID - Autonumber - PK Species - Text ****SpeciesTypeID - Long - FK**Not Needed. Variety will be a new child of Species ****StockUOMID - Long ? FK ** Not needed tblVarieties - One record per product group (don't know if you need this or not) ** Yes VarietyID - Autonumber ? PK SpeciesID ? Long - FK VarietyName - Text ProductID changed to SpeciesID in tblLots *** Ok, time for a few questions. 1) Can I assume that a CycleCount refers to a physical Inventory Count? 2) Would LocTrackExpirationDate refer to products that have a shelf life or is there another purpose for this field? 3) As we have no tie in or relation to tblLocTrack may I assume that this table is updated programatically on the Update of the tblInvTransactions? 4) Assuming yes to above, we would then create a new record if we find no existing LotID/LocationID in the table and then delete an existing record when we take the LocTrackQty down to zero? 5) Same table, could we not just use LocationID/LotID as a dual PK or do you find it useful to have the autonumber PK for other purposes? tblOwners seems another candidate for this treatment. I am pretty comfortable with this setup with the transaction table and the location tracking table. Enough questions for the moment. Sure I will have more as we go on. Again, thank you for your great insights and detailed work. Gary > > Gary, > > > > Sorry I'm late getting back to you. Let's toy around > with an example and > > see how well it will fit. I've done this using a > surrogate key approach. > > No points off for any misses first time around. > > > > tblOwners - One record per owner > > OwnerID - Autonumber - PK > > OwnerFirstName - Text > > OwnerLastName - Text > > etc > > > > tblFields - One record per field > > FieldID - Autonumber - PK > > FieldName - Text > > FieldLocation - Text (not sure how you'd specify this) > > etc. > > > > tblFieldOwners - One record per field/owner pair - This is > a many to many > > linking table. > > FieldOwnerID - Autonumber - PK > > OwnerID - CK1A > > FieldID - CK1B > > > > NOTE: As I mentioned at the top, the approach is using > surrogate keys. > > Here, it's really worthless. The approach causes > additional processing in > > that we need an index to validate the candidate key pair > of Owner/Field (you > > can only have one unique combination of each). So you > could do this: > > > > tblFieldOwners - One record per field/owner pair - This is > a many to many > > linking table. > > OwnerID - PK1A > > FieldID - PK1B > > SharePercentage - Decimal > > > > Which eliminates a field and an index. Depends on > whether or not you need > > to reference that relationship from other tables. For > consistency's sake, > > let's stick with the first. > > > > > > Now let's tackle the inventory side: > > > > tblProducts - One record per product > > ProductID - Autonumber - PK > > ProductName - Text > > ProductTypeID - Long - FK > > StockUOMID - Long - FK > > > > tblProductTypes - One record per product group (don't know > if you need this > > or not) > > ProductTypeID - Autonumber - PK > > TypeDescription - Text > > > > tblUOMs - One record per unit of measure > > UOMID - Autonumber - PK > > UOMCode - Text(6) - CK > > UOMDesc - Text > > > > Note: this would not be the full table. I've only > specified a few fields > > out of the total table that I would normally use. The UOM > table design that > > I have allows for conversion from one UOM to another. > This becomes helpful > > when buying/selling as the price can be based on a > Purchase/Sell unit of > > measure rather then the stocking one. > > > > tblLots - One record per lot > > LotID - Autonumber - PK > > HarvestDate - Date/time > > ExpireDate - Date/time > > ProductID - FK > > FieldID - FK > > > > tblLotOwners - One record per lot per field/Owner Pair. In > other words, for > > each lot, who owned that field at the time the lot was > harvested. > > LotOwnerID - Autonumber - PK > > LotID - FK > > OwnerID - FK > > > > tblLocations - One record per possible location (this > defines the master > > list of all valid locations to put something) > > LocationID - Autonumber - PK > > LocationCode - Text(6) - CK > > LocationType - Integer - Value Lookup (or a lookup > table) - I.e.. Rack, Bin, > > Silo, Barn, etc. > > > > tblLocTrack - One record per Lot/Loc > > LocTrackID - Autonumber - PK > > LocationID - Long - FK > > LotID - Long - FK > > LocTrackQty - Decimal - Note: in stock keeping UOM > > LocTrackExpirationDate - Date/time > > LastReceiptDate - Date/Time > > LastIssueDate - Date/Time > > LastCycleCount - Date/Time > > > > > > OK. Up to this point, we know what we have, who owns it > (not sure we have > > that totally covered yet), and where it is stored. Next > is a Inventory > > transaction table that tells us how the inventory gets > moved about. There > > is a lot of variation here in the way things can be done > and this is just > > one way. We can modify this as we go along. I'm sure > when we get into the > > selling logic that we'll need to or possibly add > additional tables. > > > > tblInvTransactions - One record per inventory transaction > (movement of > > inventory) > > InvTranID - Autonumber - PK > > TranDate - Date/time > > EnteredBy - > > EnteredOn - Date/time > > ProgramCode - Text(6) - I use this field to tag which > program created a > > transaction - great for trouble shooting. > > TranDate - Date/time > > TranType - Integer - Indicates type of document that > created this trans (ie. > > Balance Forward, Cust Order, PO, cycle count, physical inv > adj, Keypunch > > error, etc.) > > DocReference - Text(12) - Reference to document # that > created this > > transaction (ie. Customer Order Number) > > TranType - Text(1) - 'I'n or 'O'ut > > TranQty - Decimal - In stock keeping UOM > > LotID - Long - FK > > LocationID - Long - FK > > > > Note that we did not use the LocTrackID, but LotID and > LocationID. That's > > because tblInvTransactions is a historical table. The > records in it may far > > outlive the other records in the database, so it needs to > maintain a copy of > > actual data. We are breaking normalization rules a bit. > The correct way to > > do this is to use LocTrackID and have a > tblHistoricalInvTrans, which we move > > records to when we purge from the main table. At that > time, we would copy > > the actual field data from the other tables (thus creating > a flat file). > > It's up to you how you would want to handle it. > > > > I'm going to stop there and let you digest all that. > Looking back, I > > think the only thing not covered is what happens when > someone sells their > > ownership in a lot. I have to go back over you messages > and make sure I > > have this clear in my head. Fire away with any questions > you might have. > > > > It would also be nice if others chime in with comments. > > > > Jim Dettman > > President, > > Online Computer Services of WNY, Inc. > > (315) 699-3443 > > jimdettman at earthlink.net From davide at dalyn.co.nz Wed Sep 24 16:46:49 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 25 Sep 2003 09:46:49 +1200 Subject: [AccessD] Slow loop through list box In-Reply-To: <1915339287.20030924102439@cactus.dk> References: <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> How do I determine which item has just been selected/deselected? Then I could add it if selected, or delete if deselected. David At 24/09/2003, you wrote: >Hi David > >It sounds/looks like you are building the complete list every time an >item is selected. Why not add only that item which has been selected? > >/gustav > > > > I have a listbox which is used to select clients for including in > > reports. When the listbox is updated I have a separate text box that > shows > > the names of the clients selected and the number selected. At the same > > time I store the ID's of the clients in a table that is used to filter out > > the required client records. The initial list box has over 1800 names. It > > is taking about 10 seconds to update the lists each time a client is > > selected. If I rem out the adding of ID's to the table then the time > > reduces to about 3 seconds. The main part of the code is - > > > With Me!lstClientList > > For Each varItem In .ItemsSelected > > If .Selected(varItem) = True Then > > strList = strList & .Column(1, varItem) & vbCrLf ' Adds > > client name to selected list > > intClientNo = intClientNo + > 1 ' > > Counts number of selected clients > > rst.AddNew > > 'Add client ID to table > > rst!CustIDNo = .Column(0, varItem) > > rst.Update > > End If > > Next varItem > > End With > > > Any thoughts as to how I can speed up the process? The BE is SQL2000. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Wed Sep 24 16:58:24 2003 From: davide at dalyn.co.nz (David Emerson) Date: Thu, 25 Sep 2003 09:58:24 +1200 Subject: [AccessD] Slow loop through list box In-Reply-To: <833956F5C117124A89417638FDB11290EBCF8F@goexchange.pghcorni ng.com> Message-ID: <5.2.0.9.0.20030925095452.00bbaf38@mail.dalyn.co.nz> Thanks Rich, The fields are indexed but I appreciate the obvious - often that is what is overlooked. David At 24/09/2003, you wrote: >You said that the BE is SQL Server 2K... > >You didn't mention anything about it so I figure I'd bring up the obvious.. >Why don't you create an index using the ID, FirstName, LastName fields. >This should give you some additional performance if you haven't already done >so. > >rich > >-----Original Message----- >From: Drew Wutka [mailto:DWUTKA at marlow.com] >Sent: Wednesday, September 24, 2003 12:52 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Slow loop through list box > > >What kind of ID are you using...a string? I would recommend making a table >that has an Autonumber to represent each customer's ID, that should shorten >the length of their ID. > >You can always go with the class collection method, but that might be a >little slower to run the query. > >Drew > >-----Original Message----- >From: David Emerson [mailto:davide at dalyn.co.nz] >Sent: Tuesday, September 23, 2003 11:23 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Slow loop through list box > > >Thanks Drew, > >The problem with the IN() solution is that because the max length of the >SQL variable is 8000 chars and the average length of the ID is 8 that >limits us to 1000 customers selected at a time. > >I think that I might have to rethink when I update the table with the >selected ID's. Perhaps I could do it after they have finished selecting >all customers. > >David > >At 23/09/2003, you wrote: > >Just a thought, I would go in one of two different directions with this. > >One method would be to set a Global string variable. Then when I looped > >through the selected items, I would add them to the string, comma >delimited. > >Then I would build a function that returns the string, and change the query > >criteria to look like this: In(MyStringReturningFunction()). > > > >The other approach would be to create a global 'collection'. Then make a > >class to hold the ID's. Then I would add an instance of that class for >each > >ID that is selected, and set that instance's key in the collection to the >ID > >(if the id is numeric, the key has to be a string, so I would set it as > >"ID:" & MyIDField. Then I would write a public function that returned true > >or false if that ID was in the collection or not (you can just use error > >handling, and set a empty class variable to the collection with that ID, if > >it returns, it exists, if not, it doesn't.). > > > >I think the In() statement would be faster, especially if you have indexing > >on that field, where you are querrying it, because I think it can use the > >string in the In() clause against it's index tables, instead of having to >go > >through each record determining if it's true or false. > > > >Drew > > > >-----Original Message----- > >From: David Emerson [mailto:davide at dalyn.co.nz] > >Sent: Tuesday, September 23, 2003 6:42 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Slow loop through list box > > > > > >I have a listbox which is used to select clients for including in > >reports. When the listbox is updated I have a separate text box that shows > >the names of the clients selected and the number selected. At the same > >time I store the ID's of the clients in a table that is used to filter out > >the required client records. The initial list box has over 1800 names. It > >is taking about 10 seconds to update the lists each time a client is > >selected. If I rem out the adding of ID's to the table then the time > >reduces to about 3 seconds. The main part of the code is - > > > > With Me!lstClientList > > For Each varItem In .ItemsSelected > > If .Selected(varItem) = True Then > > strList = strList & .Column(1, varItem) & vbCrLf ' Adds > >client name to selected list > > intClientNo = intClientNo + 1 >' > >Counts number of selected clients > > rst.AddNew > >'Add client ID to table > > rst!CustIDNo = .Column(0, varItem) > > rst.Update > > End If > > Next varItem > > End With > > > >Any thoughts as to how I can speed up the process? The BE is SQL2000. > > > > > >Regards > > > >David Emerson > >DALYN Software Ltd > >25b Cunliffe St, Johnsonville > >Wellington, New Zealand > >Ph/Fax (877) 456-1205 > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com Regards David Emerson DALYN Software Ltd 25b Cunliffe St, Johnsonville Wellington, New Zealand Ph/Fax (877) 456-1205 From carbonnb at sympatico.ca Wed Sep 24 21:48:35 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 24 Sep 2003 22:48:35 -0400 Subject: [AccessD] Security interface with Access runtime In-Reply-To: <004f01c38121$5b2aa090$9d070f50@linceo> Message-ID: <3F721F43.12683.1E0DA4@localhost> On 22 Sep 2003 at 17:51, Philippe.Pons19 wrote: > I'm finishing an Access application, and the user needs to be able to > handle groups and users for user level security. However, this app. > will run under the Access runtime, from where the build-in security > interface is not available. > > I guess it is needed to design and develop a proprietary user > interface. > > Do you know of any example that could show me the right track to do > this? Philippe, Just catching up on list mail. If you have the Access Developer's Handbook (Gilbert, Getz, Litwin) there are examples on how to manipulate the User and Group security. -- Bryan Carbonnell - carbonnb at sympatico.ca (SELECT * FROM users WHERE clue > 0) (DELETE * FROM users WHERE clue < 0) From carbonnb at sympatico.ca Wed Sep 24 21:51:07 2003 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 24 Sep 2003 22:51:07 -0400 Subject: [AccessD] Class Tutorials In-Reply-To: <000401c38255$e84e6a30$0c05a8c0@carlton.local> Message-ID: <3F721FDB.6834.205BBF@localhost> On 24 Sep 2003 at 14:39, ACTEBS wrote: > Does anyone have any links or could recommend any good reading > material on how to setup classes in a VB, VBA or .NET project. I need > to learn more about this and am struggling to find any material... In addition to Jim's article in M-M, John Colby has a series in M-M talking about classes. http://www.databaseadvisors.com/newsletters.htm starting in the First Issue (July 2001) -- Bryan Carbonnell - carbonnb at sympatico.ca There's a fine line between a hobby and mental illness. Which side of the line are you on? From Oleg_123 at xuppa.com Wed Sep 24 22:19:17 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Wed, 24 Sep 2003 23:19:17 -0400 (EDT) Subject: [AccessD] OT: Opening Access report from Visual Basic In-Reply-To: <3F71D710.7060309@shaw.ca> References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> <3F710B5E.2010609@shaw.ca> <7384.216.75.77.221.1064415146.squirrel@heck.bay9.com> <3F71D710.7060309@shaw.ca> Message-ID: <1704.24.187.36.171.1064459957.squirrel@heck.bay9.com> sorry, and how do I open the form like that in a normal form view ? AccObj.DoCmd.OpenForm "Project Box Sheet", acPreview > AccObj.DoCmd.Maximize > > Oleg_123 at xuppa.com wrote: > >>Thanks Marty, this seems to be working; actually I made it work >> yesterday with a slightly different code. Now, is there a way to for a >> report to open at full size ? I guess someithing "On Load" event of the >> report ? >> >> >> >> >>>try this; close just some lines in wrong spot >>> >>>Sub testreport() >>>Dim AccObj As Object >>>Dim db As Object >>>Dim dbPath As String >>>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >>> Set AccObj = CreateObject("Access.Application") >>> Set db = >>>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPath) >>> >>> AccObj.Visible = True >>> AccObj.OpenCurrentDatabase dbPath, False >>> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >>> AccObj.Visible = True >>> ' quit the application too if necessary >>> 'AccObj.quit >>> Set db = Nothing >>> Set AccObj = Nothing >>> ' >>>End Sub >>> >>>Oleg_123 at xuppa.com wrote: >>> >>> >>> >>>>Hi Group, >>>> >>>>I am trying to open an Access Report from Visual Basic form, doesn't >>>> seem to be working. I think that i used something like this in the >>>> past. (I checked Microst Access 9.0 Object library in references) >>>> >>>>Dim Acc As Object, db As Object >>>>Dim dbPath As String >>>> Set AccObj = CreateObject("Access.Application") >>>> Set db = >>>>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) >>>> >>>>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >>>> AccObj.OpenCurrentDatabase dbPath, False >>>> Set db = Nothing >>>> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >>>> AccObj.Visible = True >>>> >>>> >>>>----------------------------------------- >>>>Get Breaking News from CNN, ABC, NBC, CBS Now. >>>>http://www.xuppa.com/news/?link=webmail >>>> >>>> >>>>_______________________________________________ >>>>AccessD mailing list >>>>AccessD at databaseadvisors.com >>>>http://databaseadvisors.com/mailman/listinfo/accessd >>>>Website: http://www.databaseadvisors.com >>>> >>>> >>>> >>>> >>>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >> >> >> >>----------------------------------------- >>Get Breaking News from CNN, ABC, NBC, CBS Now. >>http://www.xuppa.com/news/?link=webmail >> >> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From Philippe.Pons19 at wanadoo.fr Thu Sep 25 04:27:31 2003 From: Philippe.Pons19 at wanadoo.fr (Philippe PONS) Date: Thu, 25 Sep 2003 11:27:31 +0200 Subject: [AccessD] Security interface with Access runtime References: <3F721F43.12683.1E0DA4@localhost> Message-ID: <004d01c38347$46e8e290$a6083151@linceo> Hi Bryan, Yes I got it! What is nice with A2002 is that you can manipulate them with SQL statements! Thank's for your answer, Philippe. ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Thursday, September 25, 2003 4:48 AM Subject: Re: [AccessD] Security interface with Access runtime > On 22 Sep 2003 at 17:51, Philippe.Pons19 wrote: > > > I'm finishing an Access application, and the user needs to be able to > > handle groups and users for user level security. However, this app. > > will run under the Access runtime, from where the build-in security > > interface is not available. > > > > I guess it is needed to design and develop a proprietary user > > interface. > > > > Do you know of any example that could show me the right track to do > > this? > > Philippe, > > Just catching up on list mail. > > If you have the Access Developer's Handbook (Gilbert, Getz, Litwin) > there are examples on how to manipulate the User and Group security. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > (SELECT * FROM users WHERE clue > 0) > (DELETE * FROM users WHERE clue < 0) > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Sep 25 04:55:46 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 11:55:46 +0200 Subject: [AccessD] Slow loop through list box In-Reply-To: <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> References: <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> Message-ID: <1210882027.20030925115546@cactus.dk> Hi David Well, how about the Click event ...? This will also fire when using keys. Dim lst As ListBox Dim lngIndex As Long Dim strKey As String Dim booSelected As Boolean Set lst = Me!lstDemo With lst lngIndex = .ListIndex + Abs(.ColumnHeads) strKey = .ItemData(lngIndex) booSelected = .Selected(lngIndex) End With MsgBox strKey & ":" & Str(booSelected) If booSelected = True Then ' Append strKey to collection/selection. Else ' Remove strKey from collection/selection. End If Set lst = Nothing However, the event will fire also when using the navigation keys. Thus, I would follow the advice of Drew to append/remove the selected items to an (interim) collection or array and only run the append/delete action query (or code) on the table if an item really is appended or removed from the collection or array. /gustav > How do I determine which item has just been selected/deselected? Then I > could add it if selected, or delete if deselected. >>It sounds/looks like you are building the complete list every time an >>item is selected. Why not add only that item which has been selected? >> >>/gustav >> >> >> > I have a listbox which is used to select clients for including in >> > reports. When the listbox is updated I have a separate text box that >> > shows >> > the names of the clients selected and the number selected. At the same >> > time I store the ID's of the clients in a table that is used to filter out >> > the required client records. The initial list box has over 1800 names. It >> > is taking about 10 seconds to update the lists each time a client is >> > selected. If I rem out the adding of ID's to the table then the time >> > reduces to about 3 seconds. The main part of the code is - >> >> > With Me!lstClientList >> > For Each varItem In .ItemsSelected >> > If .Selected(varItem) = True Then >> > strList = strList & .Column(1, varItem) & vbCrLf ' Adds >> > client name to selected list >> > intClientNo = intClientNo + >> 1 ' >> > Counts number of selected clients >> > rst.AddNew >> > 'Add client ID to table >> > rst!CustIDNo = .Column(0, varItem) >> > rst.Update >> > End If >> > Next varItem >> > End With >> >> > Any thoughts as to how I can speed up the process? The BE is SQL2000. From Jdemarco at hshhp.org Thu Sep 25 07:03:21 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 25 Sep 2003 08:03:21 -0400 Subject: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO Message-ID: <22F1CCD5171D17419CB37FEEE09D5F9901765682@TTNEXCHSRV1.hshhp.com> Thanks Marty. I already had the able-consulting.com info (great resource that page). Installed SP-7 but no luck (same error on oledb provider call). We have an FP person here whe tells me there should be a dbc file but as far as I can see there is not on in this app. I searched its folder and all sub-folders and couldn't find one. I think the dbf file is the table and the dbc is the database (for reference in the ADO object). Since I only have a dbf file I can't get into the table so far (other than linking via Access). Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Wednesday, September 24, 2003 2:52 PM To: Access Developers discussion and problem solving; dba-vb at databaseadvisors.com Subject: Re: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO Are you using Jet SP-7 that corrects some ISAM driver problems http://support.microsoft.com/?kbid=282010 also check here http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForVisualFoxPro Jim DeMarco wrote: >x-posted Accessd dba-VB > >I'm trying to programmatically access data stored in FoxPro 7 tables (I'm told by the vendor that this is Visual FoxPro). I can open an ADO connection using ODBC as follows: > > >Dim cnn As ADODB.Connection >Dim rs As ADODB.Recordset > Set cnn = New Connection > cnn.Open "Driver={Microsoft Visual FoxPro Driver};" & _ > "SourceType=DBF;" & _ > "SourceDB=\\Data\Persnl.DBF;" & _ > "Exclusive=No" > Debug.Print cnn.State > Set rs = New ADODB.Recordset > 'Set rs = cnn.Execute("Select * from Persnl") > rs.Open "Persnl", cnn > Debug.Print rs.RecordCount > Set rs = Nothing > Set cnn = Nothing > > >The Connection State property returns a 1 which I believe means the connection is open. The question is how to loop through the Persnl.dbf table? The call to open the recordset fails with an error from the FP driver saying "unrecognized command verb". > >I also found and downloaded a VFP 8.0 oledb driver and similar code gives me this error: "The object invoked has disconnected from its clients" > >Does anyone have any experience with this? We're trying to get some of our HR info up our intranet and this is how it's stored. I'm going to be using a VB app to run an export from VFP otherwise I'd just link to an Access system to pull the data (which may be the best way at this point). > >TIA, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From COUTTSW at rjrt.com Thu Sep 25 07:37:14 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 08:37:14 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8A@wsmailp1.rjr.com> I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JHewson at karta.com Thu Sep 25 07:54:02 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 25 Sep 2003 07:54:02 -0500 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294DE7@NT04> Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From COUTTSW at rjrt.com Thu Sep 25 08:15:30 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 09:15:30 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8B@wsmailp1.rjr.com> Jim, Thanks for taking time to reply. However, they are text boxes. For testing, I have pared the code down to this : Dim strID As String strID = "*" Forms!frmMain!txtID = strID which fails as I described. Any other ideas? Thanks, Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Sep 25 08:26:29 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 25 Sep 2003 09:26:29 -0400 Subject: [AccessD] DB design Brainteaser In-Reply-To: <008b01c382d9$e34fd580$0300a8c0@DELL1800> Message-ID: Gary, I'm going to add comments to your last post. After you review these and respond, let's layout one more design in full before going further. After that we need to stand back and look at it and make sure that we can answer all the possible questions that might be asked (output required). One other thing. I'm sure I'm going to mess up a few times in referring to Locations and Location Tracking as normally I refer to this as Locations and Lots. But here, Lots means something different, so I can't use the same terms I normally do. I've already caught myself a few times typing "LotTrackID" rather then "LocTrackID". If you can think of different terms we might use for these tables, it may be helpful. << tblGrowers ? Ties an Owner to a field as Primary Grower. Needed for communications - DualPK FieldID ? PK1A OwnerID ? PK1B >> So there are field owners and then growers that actually do the work? or is the "primary grower" always one of the owners? << **** New Table **** tblMasterLocations ? General Storage Location area used to limit user choices during input and for reporting purposes. There may be bins with the same numbers at multiple master locations. MasterLocationID ? Autonumber - PK MasterLocation ? Text(15) *** Added to tblLocations *** MasterLocationID ? Long - FK >> tblLocations was the "master location list" - no need for another table. << *** New Table *** tblInvTranTypes ? Lookup Table for InvTranTypes InvTranID ? Autonumber ? PK InvTran ? Text(15) >> OK. Generally the transaction types are limited in the sense that they are tied to the programming, so it's a fixed list, but if you want to have a lookup table for a fuller description that's fine. << *** In the tblInvTransactions there were actually 2 TranType fields. I renamed the first on to InvTranID to store the value from the new Lookup table and renamed the second In/Out one to just Tran so not to confuse with the above. >> OK. << *** After discussions with the company I will probably drop the UnitOfMeasure as they always refer to and price the product by the pound no matter if it is loose or in whatever type container. >> I would recommend that they not do this. One of the reasons is that it allows for controlling of the number of decimal places. If I have a UOM in terms of stocking, Purchase, and Selling, I can easily convert back and forth between UOMs. This might make the system simpler to use as well. For example, we might stock in lb, but the salesmen like to deal in hundred weight because it would be easier to give a selling price of a .56 rather then .0056. It's also entirely possible that they may wish to buy/sell/trade at some other UOM in the future. << *** There is only one product, grass seed, so I have made some modifications to what you had for Product. tblSpecies - One record per product SpeciesID - Autonumber - PK Species - Text ****SpeciesTypeID - Long - FK**Not Needed. Variety will be a new child of Species ****StockUOMID - Long ? FK ** Not needed tblVarieties - One record per product group (don't know if you need this or not) ** Yes VarietyID - Autonumber ? PK SpeciesID ? Long - FK VarietyName - Text ProductID changed to SpeciesID in tblLots *** >> OK. << Ok, time for a few questions. 1) Can I assume that a CycleCount refers to a physical Inventory Count? >> No. Cycle count is a spot check. There are two ways to keep an inventory: perpetual and physical. With the first, you put a plan in place to count x class A items, y B items, and z C items on a daily/weekly basis. In other words you run through a cycle of counts. If you do this, then you can forgo a physical inventory process. If you don't do this, then most auditing firms require a physical inventory count process once or twice a year. I put both in, but it really doesn't matter. The important point is that we have the field there to indicate why this inventory transaction occurred. You may come up with different reasons (i.e. spoilage) << 2) Would LocTrackExpirationDate refer to products that have a shelf life or is there another purpose for this field? >> Shelf life. << 3) As we have no tie in or relation to tblLocTrack may I assume that this table is updated programatically on the Update of the tblInvTransactions? >> Yes. tblLocTrack is a result of a user indicating where something was put/pulled from. A record in tblInvTransaction would be the record of that. << 4) Assuming yes to above, we would then create a new record if we find no existing LotID/LocationID in the table and then delete an existing record when we take the LocTrackQty down to zero? >> Yes, typically that's the way it would work. << 5) Same table, could we not just use LocationID/LotID as a dual PK or do you find it useful to have the autonumber PK for other purposes? tblOwners seems another candidate for this treatment. >> This is a six one way half a dozen another type of thing. If your a big R purist, then the autnumber does not belong there in the first place. Coming in from the surrogate approach, you stick a meaningless key on everything. In the case of a linking table however, this is just a waste of a field and creates an additional index that needs to be maintained. The only time that would be of benefit is if you need to refer to that relationship from another table (you needed a FK). You'll notice that in tblInvTransactions, I included both LocationID and LotID instead of LocTrackID. This was done assuming that we would delete LocTrack records when the qty reached 0. If we don't do that, then we could store LocTrackID instead and the autnumber would then have a purpose. Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Wednesday, September 24, 2003 4:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DB design Brainteaser Jim ( and interested others ), <> From JHewson at karta.com Thu Sep 25 08:42:29 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 25 Sep 2003 08:42:29 -0500 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294DE8@NT04> What data is txtID matched with? Yep, same problem I had. The form I was opening, couldn't use the data. The control was text, I was feeding it text, the form I was opening was using numeric. Two other thoughts. 1. Check the object of the form/report your opening. Check its data type. 2. As a test -- change As String to As Integer and see what happens. I know, I sound like a broken record... but I spent way too much time (hours) running through a similar problem. I'll keep quiet now. Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 8:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, Thanks for taking time to reply. However, they are text boxes. For testing, I have pared the code down to this : Dim strID As String strID = "*" Forms!frmMain!txtID = strID which fails as I described. Any other ideas? Thanks, Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From COUTTSW at rjrt.com Thu Sep 25 09:37:51 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 10:37:51 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8C@wsmailp1.rjr.com> Jim, txtID is going to be a state abbreviation after the user makes a selection, like NC, FL, MA, etc. As a default, I am trying to put * in it until the user makes his choice. I tried changing strID to Integer, as you suggested, and set it equal to 2. It worked fine up until the " Forms!frmMain!txtID = strID " statement, when it failed as before. And don't stop giving me things to try, I've exhausted my list! TIA Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 9:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What data is txtID matched with? Yep, same problem I had. The form I was opening, couldn't use the data. The control was text, I was feeding it text, the form I was opening was using numeric. Two other thoughts. 1. Check the object of the form/report your opening. Check its data type. 2. As a test -- change As String to As Integer and see what happens. I know, I sound like a broken record... but I spent way too much time (hours) running through a similar problem. I'll keep quiet now. Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 8:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, Thanks for taking time to reply. However, they are text boxes. For testing, I have pared the code down to this : Dim strID As String strID = "*" Forms!frmMain!txtID = strID which fails as I described. Any other ideas? Thanks, Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Thu Sep 25 09:39:06 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 25 Sep 2003 07:39:06 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: <014b01c38372$c610dc50$6601a8c0@HAL9002> Dear List: After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. Does anybody know how I can get them back without doing a re-install of O2K? I'm afraid even if I uninstall and reinstall, leftover registry garbage will defeat me. MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jdemarco at hshhp.org Thu Sep 25 09:44:09 2003 From: Jdemarco at hshhp.org (Jim DeMarco) Date: Thu, 25 Sep 2003 10:44:09 -0400 Subject: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO - SOLVED Message-ID: <22F1CCD5171D17419CB37FEEE09D5F990173F5FB@TTNEXCHSRV1.hshhp.com> OK I finally got this working via the OLEDB provider (after getting an mdb linked up to the tables and the data processed there!). The trick was to not reference the dbf file name in the Data Source property. Dim cnn As ADODB.Connection Dim rs As ADODB.Recordset Set cnn = New Connection cnn.Open "Provider=vfpoledb;" & _ "Data Source=\\Data;" & _ "Mode=ReadWrite|Share Deny None;" & _ "Collating Sequence=MACHINE;" & _ "Password=''" Debug.Print cnn.State Set rs = New ADODB.Recordset rs.Open "Select * from Persnl", cnn, adOpenKeyset, adLockOptimistic Debug.Print rs.RecordCount Set rs = Nothing Set cnn = Nothing Thanks, Jim DeMarco Director of Product Development HealthSource/Hudson Health Plan -----Original Message----- From: Jim DeMarco Sent: Thursday, September 25, 2003 8:03 AM To: Access Developers discussion and problem solving Subject: RE: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO Thanks Marty. I already had the able-consulting.com info (great resource that page). Installed SP-7 but no luck (same error on oledb provider call). We have an FP person here whe tells me there should be a dbc file but as far as I can see there is not on in this app. I searched its folder and all sub-folders and couldn't find one. I think the dbf file is the table and the dbc is the database (for reference in the ADO object). Since I only have a dbf file I can't get into the table so far (other than linking via Access). Jim DeMarco -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Wednesday, September 24, 2003 2:52 PM To: Access Developers discussion and problem solving; dba-vb at databaseadvisors.com Subject: Re: [dba-VB] [AccessD] Slightly OT: FoxPro Tables via ADO Are you using Jet SP-7 that corrects some ISAM driver problems http://support.microsoft.com/?kbid=282010 also check here http://www.able-consulting.com/MDAC/ADO/Connection/OLEDB_Providers.htm#OLEDBProviderForVisualFoxPro Jim DeMarco wrote: >x-posted Accessd dba-VB > >I'm trying to programmatically access data stored in FoxPro 7 tables (I'm told by the vendor that this is Visual FoxPro). I can open an ADO connection using ODBC as follows: > > >Dim cnn As ADODB.Connection >Dim rs As ADODB.Recordset > Set cnn = New Connection > cnn.Open "Driver={Microsoft Visual FoxPro Driver};" & _ > "SourceType=DBF;" & _ > "SourceDB=\\Data\Persnl.DBF;" & _ > "Exclusive=No" > Debug.Print cnn.State > Set rs = New ADODB.Recordset > 'Set rs = cnn.Execute("Select * from Persnl") > rs.Open "Persnl", cnn > Debug.Print rs.RecordCount > Set rs = Nothing > Set cnn = Nothing > > >The Connection State property returns a 1 which I believe means the connection is open. The question is how to loop through the Persnl.dbf table? The call to open the recordset fails with an error from the FP driver saying "unrecognized command verb". > >I also found and downloaded a VFP 8.0 oledb driver and similar code gives me this error: "The object invoked has disconnected from its clients" > >Does anyone have any experience with this? We're trying to get some of our HR info up our intranet and this is how it's stored. I'm going to be using a VB app to run an export from VFP otherwise I'd just link to an Access system to pull the data (which may be the best way at this point). > >TIA, > >Jim DeMarco >Director of Product Development >HealthSource/Hudson Health Plan > > >*********************************************************************************** >"This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". >*********************************************************************************** > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >_______________________________________________ >dba-VB mailing list >dba-VB at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/dba-vb >http://www.databaseadvisors.com > > > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Oleg_123 at xuppa.com Thu Sep 25 09:52:18 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 25 Sep 2003 10:52:18 -0400 (EDT) Subject: [AccessD] Another combo box question In-Reply-To: <014b01c38372$c610dc50$6601a8c0@HAL9002> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> Message-ID: <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> Dear List: this should be fairly simple, but i dont see it; -- I made it so I can select value from the combo box, and show it for the rest of the controls --- Set rs = Me.Recordset.Clone rs.FindFirst "[ID] = '" & Me![Combo27] & "'" Me.Bookmark = rs.Bookmark how do I do it the other way around ? meaning if I go through the form using "next", "previous" buttons for comboID field to change accordingly this doesn't work Private Sub ID_AfterUpdate() Me.Combo27.Text = Me.ID.Text End Sub OLeg ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From JHewson at karta.com Thu Sep 25 10:01:26 2003 From: JHewson at karta.com (Jim Hewson) Date: Thu, 25 Sep 2003 10:01:26 -0500 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294DE9@NT04> Do you have an "IF" statement in the opening form/report's query criteria? If so, is it working correctly? Just out of curiosity, why do you have hidden controls on the main form? -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 9:38 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, txtID is going to be a state abbreviation after the user makes a selection, like NC, FL, MA, etc. As a default, I am trying to put * in it until the user makes his choice. I tried changing strID to Integer, as you suggested, and set it equal to 2. It worked fine up until the " Forms!frmMain!txtID = strID " statement, when it failed as before. And don't stop giving me things to try, I've exhausted my list! TIA Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 9:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What data is txtID matched with? Yep, same problem I had. The form I was opening, couldn't use the data. The control was text, I was feeding it text, the form I was opening was using numeric. Two other thoughts. 1. Check the object of the form/report your opening. Check its data type. 2. As a test -- change As String to As Integer and see what happens. I know, I sound like a broken record... but I spent way too much time (hours) running through a similar problem. I'll keep quiet now. Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 8:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, Thanks for taking time to reply. However, they are text boxes. For testing, I have pared the code down to this : Dim strID As String strID = "*" Forms!frmMain!txtID = strID which fails as I described. Any other ideas? Thanks, Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 25 10:18:20 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 08:18:20 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: Did you try detect and repair? Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Thursday, September 25, 2003 6:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. Does anybody know how I can get them back without doing a re-install of O2K? I'm afraid even if I uninstall and reinstall, leftover registry garbage will defeat me. MTIA Rocky Smolin Beach Access Software From cfoust at infostatsystems.com Thu Sep 25 10:21:10 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 08:21:10 -0700 Subject: [AccessD] SAVING DATA ON FORM Message-ID: Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. From bchacc at san.rr.com Thu Sep 25 10:21:31 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 25 Sep 2003 08:21:31 -0700 Subject: [AccessD] Another combo box question References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> Message-ID: <018d01c38378$b2b275a0$6601a8c0@HAL9002> I'd try it in the OnCurrent event. Rocky ----- Original Message ----- From: To: Sent: Thursday, September 25, 2003 7:52 AM Subject: [AccessD] Another combo box question > Dear List: > > this should be fairly simple, but i dont see it; -- > I made it so I can select value from the combo box, and show it for the > rest of the controls --- > > Set rs = Me.Recordset.Clone > rs.FindFirst "[ID] = '" & Me![Combo27] & "'" > Me.Bookmark = rs.Bookmark > > how do I do it the other way around ? meaning if I go through the form > using "next", "previous" buttons for comboID field to change accordingly > > this doesn't work > > Private Sub ID_AfterUpdate() > Me.Combo27.Text = Me.ID.Text > End Sub > > > OLeg > > > ----------------------------------------- > Get Breaking News from CNN, ABC, NBC, CBS Now. > http://www.xuppa.com/news/?link=webmail > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Thu Sep 25 10:27:51 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 17:27:51 +0200 Subject: [AccessD] SAVING DATA ON FORM In-Reply-To: <353A32F9B331D411BB8F00A0C9FC503701294DE9@NT04> References: <353A32F9B331D411BB8F00A0C9FC503701294DE9@NT04> Message-ID: <4130807268.20030925172751@cactus.dk> Hi Jim and Welford Have in mind that unbound textboxes contain strings. For storage of variables the use of (hidden) textboxes could in most cases be replaced by global variables or static functions which offer much better control of the value types. /gustav > Just out of curiosity, why do you have hidden controls on the main form? From gustav at cactus.dk Thu Sep 25 10:32:46 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 17:32:46 +0200 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: <014b01c38372$c610dc50$6601a8c0@HAL9002> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> Message-ID: <6931102603.20030925173246@cactus.dk> Hi Rocky I have the same problems but I'm not sure it's related to SP3 as I have had that installed for a long time. If I press F1 with a keyword marked, Office tells that the help system isn't properly installed and - to repair - it requests my old SR-1 cd to be inserted. Can it be due to one of the recent patches? /gustav > After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. > Does anybody know how I can get them back without doing a re-install of O2K? From cfoust at infostatsystems.com Thu Sep 25 10:43:22 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 08:43:22 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: I have all the recent patches on my O2k machine and SP3 and I don't have that problem. I did run into it back around SP1 or 2, though. I think I just did a reinstall and that took care of it. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 25, 2003 7:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] O2K Service Pack 3 Hi Rocky I have the same problems but I'm not sure it's related to SP3 as I have had that installed for a long time. If I press F1 with a keyword marked, Office tells that the help system isn't properly installed and - to repair - it requests my old SR-1 cd to be inserted. Can it be due to one of the recent patches? /gustav > After installing SP-3 over my O2K both my access wizards and the > access help (the loss of which is a marginal problem to be sure) > stopped working. > Does anybody know how I can get them back without doing a re-install > of O2K? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Sep 25 10:44:34 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 25 Sep 2003 08:44:34 -0700 Subject: [AccessD] O2K Service Pack 3 References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <6931102603.20030925173246@cactus.dk> Message-ID: <01df01c3837b$eb09cd10$6601a8c0@HAL9002> Gustav: Mine asks for to repair as well, and asks for the CD. But it doesn't repair. :( Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Thursday, September 25, 2003 8:32 AM Subject: Re: [AccessD] O2K Service Pack 3 > Hi Rocky > > I have the same problems but I'm not sure it's related to SP3 as I > have had that installed for a long time. > > If I press F1 with a keyword marked, Office tells that the help system > isn't properly installed and - to repair - it requests my old SR-1 cd > to be inserted. > > Can it be due to one of the recent patches? > > /gustav > > > After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. > > > Does anybody know how I can get them back without doing a re-install of O2K? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From COUTTSW at rjrt.com Thu Sep 25 10:47:50 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 11:47:50 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8D@wsmailp1.rjr.com> No "IF" statements; both the Main and the called forms are unbound. The Main form primarily has a number of command buttons for the user to select where they want to go next. The called form has a combo box that lists the states from a table. The controls are hidden because there are a large number of them and they would make the form very cluttered for the user and would display a lot of data that are of no use to the user. Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 11:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Do you have an "IF" statement in the opening form/report's query criteria? If so, is it working correctly? Just out of curiosity, why do you have hidden controls on the main form? -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 9:38 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, txtID is going to be a state abbreviation after the user makes a selection, like NC, FL, MA, etc. As a default, I am trying to put * in it until the user makes his choice. I tried changing strID to Integer, as you suggested, and set it equal to 2. It worked fine up until the " Forms!frmMain!txtID = strID " statement, when it failed as before. And don't stop giving me things to try, I've exhausted my list! TIA Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 9:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What data is txtID matched with? Yep, same problem I had. The form I was opening, couldn't use the data. The control was text, I was feeding it text, the form I was opening was using numeric. Two other thoughts. 1. Check the object of the form/report your opening. Check its data type. 2. As a test -- change As String to As Integer and see what happens. I know, I sound like a broken record... but I spent way too much time (hours) running through a similar problem. I'll keep quiet now. Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 8:16 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Jim, Thanks for taking time to reply. However, they are text boxes. For testing, I have pared the code down to this : Dim strID As String strID = "*" Forms!frmMain!txtID = strID which fails as I described. Any other ideas? Thanks, Welford -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, September 25, 2003 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM Check the data type for your "hidden text boxes." I spent a lot of time tracking down the same thing recently. I was trying to pass a text value to the query, when in fact it was numeric! HTH Jim -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From COUTTSW at rjrt.com Thu Sep 25 10:53:01 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 11:53:01 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC675CA7@wsmailp1.rjr.com> Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. From gustav at cactus.dk Thu Sep 25 10:55:19 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 17:55:19 +0200 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: <01df01c3837b$eb09cd10$6601a8c0@HAL9002> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <01df01c3837b$eb09cd10$6601a8c0@HAL9002> Message-ID: <8132454887.20030925175519@cactus.dk> Hi Rocky Exactly! /gustav > Gustav: > Mine asks for to repair as well, and asks for the CD. But it doesn't > repair. :( > Rocky > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 25, 2003 8:32 AM > Subject: Re: [AccessD] O2K Service Pack 3 >> Hi Rocky >> >> I have the same problems but I'm not sure it's related to SP3 as I >> have had that installed for a long time. >> >> If I press F1 with a keyword marked, Office tells that the help system >> isn't properly installed and - to repair - it requests my old SR-1 cd >> to be inserted. >> >> Can it be due to one of the recent patches? >> >> /gustav >> >> > After installing SP-3 over my O2K both my access wizards and the access >> > help (the loss of which is a marginal problem to be sure) stopped working. >> >> > Does anybody know how I can get them back without doing a re-install of >> > O2K? From cfoust at infostatsystems.com Thu Sep 25 11:05:01 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 09:05:01 -0700 Subject: [AccessD] SAVING DATA ON FORM Message-ID: What happens if you try to assign that string directly? Personally, I would use an empty string to show nothing had been selected. Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 7:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 25 11:06:11 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 09:06:11 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: Rummage through the MSKB. There were articles on this, but I don't have the references to them on this machine. It isn't SP3. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 25, 2003 7:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] O2K Service Pack 3 Hi Rocky Exactly! /gustav > Gustav: > Mine asks for to repair as well, and asks for the CD. But it doesn't > repair. :( > Rocky > ----- Original Message ----- > From: "Gustav Brock" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, September 25, 2003 8:32 AM > Subject: Re: [AccessD] O2K Service Pack 3 >> Hi Rocky >> >> I have the same problems but I'm not sure it's related to SP3 as I >> have had that installed for a long time. >> >> If I press F1 with a keyword marked, Office tells that the help system >> isn't properly installed and - to repair - it requests my old SR-1 cd >> to be inserted. >> >> Can it be due to one of the recent patches? >> >> /gustav >> >> > After installing SP-3 over my O2K both my access wizards and the access >> > help (the loss of which is a marginal problem to be sure) stopped working. >> >> > Does anybody know how I can get them back without doing a re-install of >> > O2K? _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Sep 25 11:09:44 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 25 Sep 2003 17:09:44 +0100 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <20030925160940.393F5256E40@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From Oleg_123 at xuppa.com Thu Sep 25 11:21:46 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 25 Sep 2003 12:21:46 -0400 (EDT) Subject: [AccessD] Another combo box question In-Reply-To: <018d01c38378$b2b275a0$6601a8c0@HAL9002> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> <018d01c38378$b2b275a0$6601a8c0@HAL9002> Message-ID: <10824.216.75.77.221.1064506906.squirrel@heck.bay9.com> on Current event of the form ? (combo box hasn't got currnet event) If I do that I get an error message that control doesn't have focus :(( > I'd try it in the OnCurrent event. > > Rocky > > ----- Original Message ----- > From: > To: > Sent: Thursday, September 25, 2003 7:52 AM > Subject: [AccessD] Another combo box question > > >> Dear List: >> >> this should be fairly simple, but i dont see it; -- >> I made it so I can select value from the combo box, and show it for >> the rest of the controls --- >> >> Set rs = Me.Recordset.Clone >> rs.FindFirst "[ID] = '" & Me![Combo27] & "'" >> Me.Bookmark = rs.Bookmark >> >> how do I do it the other way around ? meaning if I go through the form >> using "next", "previous" buttons for comboID field to change >> accordingly >> >> this doesn't work >> >> Private Sub ID_AfterUpdate() >> Me.Combo27.Text = Me.ID.Text >> End Sub >> >> >> OLeg >> >> >> ----------------------------------------- >> Get Breaking News from CNN, ABC, NBC, CBS Now. >> http://www.xuppa.com/news/?link=webmail >> >> >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From stuart at pacific.net.hk Thu Sep 25 11:21:30 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 26 Sep 2003 00:21:30 +0800 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: <8132454887.20030925175519@cactus.dk> Message-ID: <000401c38381$14877f70$5100a8c0@BITSNB02> I have the same issue. But since O2K help is less than useless I haven't really bothered with pursuing it. I still wish MS would go back to the way O97 help worked. Sigh ... Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Gustav Brock > Sent: Thursday, 25 September, 2003 11:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > > > Hi Rocky > > Exactly! > > /gustav > > > > Gustav: > > > Mine asks for to repair as well, and asks for the CD. But > it doesn't > > repair. :( > > > Rocky > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 25, 2003 8:32 AM > > Subject: Re: [AccessD] O2K Service Pack 3 > > > >> Hi Rocky > >> > >> I have the same problems but I'm not sure it's related to SP3 as I > >> have had that installed for a long time. > >> > >> If I press F1 with a keyword marked, Office tells that the > help system > >> isn't properly installed and - to repair - it requests my > old SR-1 cd > >> to be inserted. > >> > >> Can it be due to one of the recent patches? > >> > >> /gustav > >> > >> > After installing SP-3 over my O2K both my access wizards > and the access > >> > help (the loss of which is a marginal problem to be > sure) stopped working. > >> > >> > Does anybody know how I can get them back without doing > a re-install of > >> > O2K? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From COUTTSW at rjrt.com Thu Sep 25 11:25:41 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 12:25:41 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC675CA8@wsmailp1.rjr.com> Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ 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 ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cfoust at infostatsystems.com Thu Sep 25 11:31:38 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 09:31:38 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: Dream on, Stuart. They're committed to browser-based stuff, whether it makes sense or not. It's one of the things they're promoting like mad in O2003. Charlotte Foust -----Original Message----- From: Stuart Sanders [mailto:stuart at pacific.net.hk] Sent: Thursday, September 25, 2003 8:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] O2K Service Pack 3 I have the same issue. But since O2K help is less than useless I haven't really bothered with pursuing it. I still wish MS would go back to the way O97 help worked. Sigh ... Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Thursday, 25 September, 2003 11:55 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > > > Hi Rocky > > Exactly! > > /gustav > > > > Gustav: > > > Mine asks for to repair as well, and asks for the CD. But > it doesn't > > repair. :( > > > Rocky > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, September 25, 2003 8:32 AM > > Subject: Re: [AccessD] O2K Service Pack 3 > > > >> Hi Rocky > >> > >> I have the same problems but I'm not sure it's related to SP3 as I > >> have had that installed for a long time. > >> > >> If I press F1 with a keyword marked, Office tells that the > help system > >> isn't properly installed and - to repair - it requests my > old SR-1 cd > >> to be inserted. > >> > >> Can it be due to one of the recent patches? > >> > >> /gustav > >> > >> > After installing SP-3 over my O2K both my access wizards > and the access > >> > help (the loss of which is a marginal problem to be > sure) stopped working. > >> > >> > Does anybody know how I can get them back without doing > a re-install of > >> > O2K? > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 bellsouth.net Thu Sep 25 11:34:54 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Thu, 25 Sep 2003 12:34:54 -0400 Subject: [AccessD] O2K Service Pack 3 References: <000401c38381$14877f70$5100a8c0@BITSNB02> Message-ID: <000f01c38382$f3011f30$6001a8c0@dejpolsys> ...its soooooooooooooooooooo bad that MS had to post an MSKB article on how to find things in Access Help! :)))) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 25, 2003 12:21 PM Subject: RE: [AccessD] O2K Service Pack 3 > I have the same issue. But since O2K help is less than useless I haven't really > bothered with pursuing it. I still wish MS would go back to the way O97 help > worked. > > Sigh ... > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Gustav Brock > > Sent: Thursday, 25 September, 2003 11:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > Hi Rocky > > > > Exactly! > > > > /gustav > > > > > > > Gustav: > > > > > Mine asks for to repair as well, and asks for the CD. But > > it doesn't > > > repair. :( > > > > > Rocky > > > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > >> Hi Rocky > > >> > > >> I have the same problems but I'm not sure it's related to SP3 as I > > >> have had that installed for a long time. > > >> > > >> If I press F1 with a keyword marked, Office tells that the > > help system > > >> isn't properly installed and - to repair - it requests my > > old SR-1 cd > > >> to be inserted. > > >> > > >> Can it be due to one of the recent patches? > > >> > > >> /gustav > > >> > > >> > After installing SP-3 over my O2K both my access wizards > > and the access > > >> > help (the loss of which is a marginal problem to be > > sure) stopped working. > > >> > > >> > Does anybody know how I can get them back without doing > > a re-install of > > >> > O2K? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Mark.Mitsules at ngc.com Thu Sep 25 11:43:37 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 25 Sep 2003 12:43:37 -0400 Subject: [AccessD] O2K Service Pack 3 Message-ID: William, I haven't had the amusement of seeing that particular MSKB article...do you know the number? Mark -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Thursday, September 25, 2003 12:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] O2K Service Pack 3 ...its soooooooooooooooooooo bad that MS had to post an MSKB article on how to find things in Access Help! :)))) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: "Stuart Sanders" To: "'Access Developers discussion and problem solving'" Sent: Thursday, September 25, 2003 12:21 PM Subject: RE: [AccessD] O2K Service Pack 3 > I have the same issue. But since O2K help is less than useless I > haven't really > bothered with pursuing it. I still wish MS would go back to the way > O97 help > worked. > > Sigh ... > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > Brock > > Sent: Thursday, 25 September, 2003 11:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > Hi Rocky > > > > Exactly! > > > > /gustav > > > > > > > Gustav: > > > > > Mine asks for to repair as well, and asks for the CD. But > > it doesn't > > > repair. :( > > > > > Rocky > > > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > >> Hi Rocky > > >> > > >> I have the same problems but I'm not sure it's related to SP3 as > > >> I have had that installed for a long time. > > >> > > >> If I press F1 with a keyword marked, Office tells that the > > help system > > >> isn't properly installed and - to repair - it requests my > > old SR-1 cd > > >> to be inserted. > > >> > > >> Can it be due to one of the recent patches? > > >> > > >> /gustav > > >> > > >> > After installing SP-3 over my O2K both my access wizards > > and the access > > >> > help (the loss of which is a marginal problem to be > > sure) stopped working. > > >> > > >> > Does anybody know how I can get them back without doing > > a re-install of > > >> > O2K? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sep 25 11:48:07 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 18:48:07 +0200 Subject: [AccessD] Another combo box question In-Reply-To: <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> Message-ID: <1035623263.20030925184807@cactus.dk> Hi Oleg Try this, also for the OnCurrent event: Private Sub ID_AfterUpdate() Me!Combo27.Value = vbNullString & Me!ID.Value End Sub /gustav > this should be fairly simple, but i dont see it; -- > I made it so I can select value from the combo box, and show it for the > rest of the controls --- > Set rs = Me.Recordset.Clone > rs.FindFirst "[ID] = '" & Me![Combo27] & "'" > Me.Bookmark = rs.Bookmark > how do I do it the other way around ? meaning if I go through the form > using "next", "previous" buttons for comboID field to change accordingly > this doesn't work > Private Sub ID_AfterUpdate() > Me.Combo27.Text = Me.ID.Text > End Sub From gustav at cactus.dk Thu Sep 25 11:52:54 2003 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Sep 2003 18:52:54 +0200 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: References: Message-ID: <19435910596.20030925185254@cactus.dk> Hi Charlotte So do or don't you have SP3 installed? Or do you mean that those articles were not on an SP3 issue? /gustav > I have all the recent patches on my O2k machine and SP3 and I don't > have that problem. I did run into it back around SP1 or 2, though. > I think I just did a reinstall and that took care of it. --- > Rummage through the MSKB. There were articles on this, but I don't have > the references to them on this machine. It isn't SP3. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, September 25, 2003 7:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > Hi Rocky > Exactly! > /gustav >> Gustav: >> Mine asks for to repair as well, and asks for the CD. But it doesn't >> repair. :( From michael.mattys at adelphia.net Thu Sep 25 12:03:48 2003 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Thu, 25 Sep 2003 13:03:48 -0400 Subject: [AccessD] Find Duplicates With Other Criteria Message-ID: <005f01c38387$03a56360$6401a8c0@default> Hi Group, This is a bit difficult for me to do in SQL and I need some help: I have a table with name, address, birthdate, area and type. There are people in the same household that I need to parse out. Find duplicates based on address. Type cannot be "D" Area must be "NW" If both are type "R", get the oldest (DateDiff) If only one is type "R", show that one. If neither are type "R", show the elder. SELECT [ADD1], ID, [FullName], [CITY], [STATE], [ZIP], [TYPE], [DOB], [AREA] FROM NWP WHERE ((([ADD1]) In (SELECT [ADD1] FROM [NWP] As Tmp GROUP BY [ADD1] HAVING Count(*)>1 )) AND ((TYPE)<>"D") AND ((AREA)="NW")) AND ???? ORDER BY [ADD1]; Sample Data [ID][FullName], [ADD1], [CITY], [STATE],[ZIP],[TYPE],[DOB],[AREA] 1, Doe Jane, 1 North ST, CX, NY, 11111, C, 11/13/1973, NW 2, Doe John, 1 North ST, CX, NY, 11111, R, 01/07/1969, NW 3, Big Jane, 1 East ST, CX, NY, 11111, R, 11/13/1973, NW 4, Big John, 1 East ST, CX, NY, 11111, R, 01/07/1969, NW 5, Cat Jane, 1 West ST, CX, NY, 11111, R, 11/13/1973, NW 6, Dog John, 1 West ST, CX, NY, 11111, R, 01/07/1969, NW TIA, Mike Mattys From Oleg_123 at xuppa.com Thu Sep 25 12:03:35 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 25 Sep 2003 13:03:35 -0400 (EDT) Subject: [AccessD] Another combo box question In-Reply-To: <1035623263.20030925184807@cactus.dk> References: <014b01c38372$c610dc50$6601a8c0@HAL9002> <7948.216.75.77.221.1064501538.squirrel@heck.bay9.com> <1035623263.20030925184807@cactus.dk> Message-ID: <8690.216.75.77.221.1064509415.squirrel@heck.bay9.com> nope, the value in combo box doesn't change; stays exactly the same... > Hi Oleg > > Try this, also for the OnCurrent event: > > Private Sub ID_AfterUpdate() > > Me!Combo27.Value = vbNullString & Me!ID.Value > > End Sub > > /gustav > > >> this should be fairly simple, but i dont see it; -- >> I made it so I can select value from the combo box, and show it for >> the rest of the controls --- > >> Set rs = Me.Recordset.Clone >> rs.FindFirst "[ID] = '" & Me![Combo27] & "'" >> Me.Bookmark = rs.Bookmark > >> how do I do it the other way around ? meaning if I go through the form >> using "next", "previous" buttons for comboID field to change >> accordingly > >> this doesn't work > >> Private Sub ID_AfterUpdate() >> Me.Combo27.Text = Me.ID.Text >> End Sub > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From prodevmg at yahoo.com Thu Sep 25 12:22:19 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Sep 2003 10:22:19 -0700 (PDT) Subject: [AccessD] Object Sizes Message-ID: <20030925172219.63525.qmail@web20416.mail.yahoo.com> Is there a way to determine what size an Access object is in a database? For instance if you have a mdb that is 30,000 KB, then you add a form and it increases to 31,000 KB apparently that form carries some weight. So, is there a way to determine what size each object is? Thanks in advance for any responses! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Thu Sep 25 12:23:33 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 25 Sep 2003 18:23:33 +0100 Subject: [AccessD] SAVING DATA ON FORM In-Reply-To: <1731B69D9D03DB49881574BBECDE6CAC675CA8@wsmailp1.rjr.com> Message-ID: <007901c38389$bf5da750$b274d0d5@minster33c3r25> What event is the code in? And is the code run on the main fom itself or a subform, or what? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 17:26 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ 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 _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Thu Sep 25 12:37:42 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 25 Sep 2003 12:37:42 -0500 Subject: [AccessD] O2K Service Pack 3 Message-ID: 240206 http://support.microsoft.com/default.aspx?scid=kb;en-us;240206&Product=acc2000 Gary Kjos garykjos at hotmail.com >From: "Mitsules, Mark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 12:43:37 -0400 > >William, > >I haven't had the amusement of seeing that particular MSKB article...do you >know the number? > > >Mark > > > >-----Original Message----- >From: William Hindman [mailto:wdhindman at bellsouth.net] >Sent: Thursday, September 25, 2003 12:35 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] O2K Service Pack 3 > > >...its soooooooooooooooooooo bad that MS had to post an MSKB article on how >to find things in Access Help! :)))) > >William Hindman >"A liberator, however generous, should never expect gratitude, at least not >for long. According to Isaiah Berlin, who was a member of Britain's >Marshall >Plan delegation, the European attitude in 1947 toward America's postwar >generosity was that of "lofty and demanding beggars approaching an >apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. > > >----- Original Message ----- >From: "Stuart Sanders" >To: "'Access Developers discussion and problem solving'" > >Sent: Thursday, September 25, 2003 12:21 PM >Subject: RE: [AccessD] O2K Service Pack 3 > > > > I have the same issue. But since O2K help is less than useless I > > haven't >really > > bothered with pursuing it. I still wish MS would go back to the way > > O97 >help > > worked. > > > > Sigh ... > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > > Brock > > > Sent: Thursday, 25 September, 2003 11:55 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > Hi Rocky > > > > > > Exactly! > > > > > > /gustav > > > > > > > > > > Gustav: > > > > > > > Mine asks for to repair as well, and asks for the CD. But > > > it doesn't > > > > repair. :( > > > > > > > Rocky > > > > > > > ----- Original Message ----- > > > > From: "Gustav Brock" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > >> Hi Rocky > > > >> > > > >> I have the same problems but I'm not sure it's related to SP3 as > > > >> I have had that installed for a long time. > > > >> > > > >> If I press F1 with a keyword marked, Office tells that the > > > help system > > > >> isn't properly installed and - to repair - it requests my > > > old SR-1 cd > > > >> to be inserted. > > > >> > > > >> Can it be due to one of the recent patches? > > > >> > > > >> /gustav > > > >> > > > >> > After installing SP-3 over my O2K both my access wizards > > > and the access > > > >> > help (the loss of which is a marginal problem to be > > > sure) stopped working. > > > >> > > > >> > Does anybody know how I can get them back without doing > > > a re-install of > > > >> > O2K? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Instant message during games with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com From adtp at touchtelindia.net Thu Sep 25 12:13:06 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 25 Sep 2003 22:43:06 +0530 Subject: [AccessD] SAVING DATA ON FORM References: <1731B69D9D03DB49881574BBECDE6CAC675CA8@wsmailp1.rjr.com> Message-ID: <013601c38388$8db9a290$54edf73d@winxp> Welford, It is presumed that no overt formattng has been done for the text boxes. Are you in a position to import the culprit forms in a new database file and send a zipped copy to me - at your earliest ? Regards, A.D.Tejpal adtp at touchtelindia.net ------------------------------- ----- Original Message ----- From: Coutts, Welford L. To: Access Developers discussion and problem solving Sent: Thursday, September 25, 2003 21:55 Subject: RE: [AccessD] SAVING DATA ON FORM Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Thu Sep 25 12:45:44 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 25 Sep 2003 12:45:44 -0500 Subject: [AccessD] O2K Service Pack 3 Message-ID: How about these; http://support.microsoft.com/default.aspx?scid=kb;en-us;237355&Product=acc2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;303769&Product=acc2000 http://support.microsoft.com/default.aspx?scid=kb;EN-US;242218 Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 07:39:06 -0700 > >Dear List: > >After installing SP-3 over my O2K both my access wizards and the access >help (the loss of which is a marginal problem to be sure) stopped working. > >Does anybody know how I can get them back without doing a re-install of >O2K? > >I'm afraid even if I uninstall and reinstall, leftover registry garbage >will defeat me. > >MTIA > >Rocky Smolin >Beach Access Software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es From cfoust at infostatsystems.com Thu Sep 25 12:51:48 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 10:51:48 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: The problem predates SP3 and has nothing to do with that specific service pack. I have all the service packs and patches installed. The only thing I'm missing is the latest Jet service pack. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Thursday, September 25, 2003 8:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] O2K Service Pack 3 Hi Charlotte So do or don't you have SP3 installed? Or do you mean that those articles were not on an SP3 issue? /gustav > I have all the recent patches on my O2k machine and SP3 and I don't > have that problem. I did run into it back around SP1 or 2, though. I > think I just did a reinstall and that took care of it. --- > Rummage through the MSKB. There were articles on this, but I don't > have the references to them on this machine. It isn't SP3. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Thursday, September 25, 2003 7:55 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] O2K Service Pack 3 > Hi Rocky > Exactly! > /gustav >> Gustav: >> Mine asks for to repair as well, and asks for the CD. But it doesn't >> repair. :( _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at hotmail.com Thu Sep 25 12:45:44 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 25 Sep 2003 12:45:44 -0500 Subject: [AccessD] O2K Service Pack 3 Message-ID: How about these; http://support.microsoft.com/default.aspx?scid=kb;en-us;237355&Product=acc2000 http://support.microsoft.com/default.aspx?scid=kb;en-us;303769&Product=acc2000 http://support.microsoft.com/default.aspx?scid=kb;EN-US;242218 Gary Kjos garykjos at hotmail.com >From: "Rocky Smolin - Beach Access Software" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 07:39:06 -0700 > >Dear List: > >After installing SP-3 over my O2K both my access wizards and the access >help (the loss of which is a marginal problem to be sure) stopped working. > >Does anybody know how I can get them back without doing a re-install of >O2K? > >I'm afraid even if I uninstall and reinstall, leftover registry garbage >will defeat me. > >MTIA > >Rocky Smolin >Beach Access Software >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Get McAfee virus scanning and cleaning of incoming attachments. Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Sep 25 13:02:18 2003 From: Mark.Mitsules at ngc.com (Mitsules, Mark) Date: Thu, 25 Sep 2003 14:02:18 -0400 Subject: [AccessD] O2K Service Pack 3 Message-ID: Gary, Thank you. The explanation seems sound on the surface, but begs the question as to why they couldn't have implemented a more user-friendly, cross-referencing, interface to compensate. Mark -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Thursday, September 25, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] O2K Service Pack 3 240206 http://support.microsoft.com/default.aspx?scid=kb;en-us;240206&Product=acc20 00 Gary Kjos garykjos at hotmail.com >From: "Mitsules, Mark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 12:43:37 -0400 > >William, > >I haven't had the amusement of seeing that particular MSKB article...do >you know the number? > > >Mark > > > >-----Original Message----- >From: William Hindman [mailto:wdhindman at bellsouth.net] >Sent: Thursday, September 25, 2003 12:35 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] O2K Service Pack 3 > > >...its soooooooooooooooooooo bad that MS had to post an MSKB article on >how to find things in Access Help! :)))) > >William Hindman >"A liberator, however generous, should never expect gratitude, at least >not for long. According to Isaiah Berlin, who was a member of Britain's >Marshall Plan delegation, the European attitude in 1947 toward >America's postwar generosity was that of "lofty and demanding beggars >approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a >Liberator. > > >----- Original Message ----- >From: "Stuart Sanders" >To: "'Access Developers discussion and problem solving'" > >Sent: Thursday, September 25, 2003 12:21 PM >Subject: RE: [AccessD] O2K Service Pack 3 > > > > I have the same issue. But since O2K help is less than useless I > > haven't >really > > bothered with pursuing it. I still wish MS would go back to the way > > O97 >help > > worked. > > > > Sigh ... > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > > Brock > > > Sent: Thursday, 25 September, 2003 11:55 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > Hi Rocky > > > > > > Exactly! > > > > > > /gustav > > > > > > > > > > Gustav: > > > > > > > Mine asks for to repair as well, and asks for the CD. But > > > it doesn't > > > > repair. :( > > > > > > > Rocky > > > > > > > ----- Original Message ----- > > > > From: "Gustav Brock" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > >> Hi Rocky > > > >> > > > >> I have the same problems but I'm not sure it's related to SP3 > > > >> as I have had that installed for a long time. > > > >> > > > >> If I press F1 with a keyword marked, Office tells that the > > > help system > > > >> isn't properly installed and - to repair - it requests my > > > old SR-1 cd > > > >> to be inserted. > > > >> > > > >> Can it be due to one of the recent patches? > > > >> > > > >> /gustav > > > >> > > > >> > After installing SP-3 over my O2K both my access wizards > > > and the access > > > >> > help (the loss of which is a marginal problem to be > > > sure) stopped working. > > > >> > > > >> > Does anybody know how I can get them back without doing > > > a re-install of > > > >> > O2K? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Instant message during games with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gmiller at sistersnet.com Thu Sep 25 13:02:06 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Thu, 25 Sep 2003 11:02:06 -0700 Subject: [AccessD] DB design Brainteaser References: Message-ID: <023101c3838f$22c0ab80$0300a8c0@DELL1800> > One other thing. I'm sure I'm going to mess up a few times in referring > to Locations and Location Tracking as normally I refer to this as Locations > "LotTrackID" rather then "LocTrackID". If you can think of different terms > we might use for these tables, it may be helpful. Location (Loc) works for me. StorLoc or Storeage could work also. I guess I don't have the confusion that you do there. Certainly can't change the 'Lot' word usage on my end. > So there are field owners and then growers that actually do the work? or > is the "primary grower" always one of the owners? Yes there are. The grower may or may not be an actual part/whole owner of the field, but the grower will always own a share of the lot so we are not dealing so much with field ownership as field harvest ownership. On many of the documents that will be needed the grower is specified in the header and then the ownership breakdown is listed below so that grower will be listed again. As a grower will always be an owner, my approach to this I think will be to do a 'qryGrower' query based on the tblOwners and the tblGrower(FieldID&OwnerID) to create contrived fields to convert OwnerFirstName, etc... to GrowerFirstName so that I avoid having more than one address, name, etc... fields when I get to the reporting end. >tblLocations was the "master location list" - no need for another table. Actually, I think that I do need to specify a larger area to then to be able just to select the specific areas contained within that site. Maybe the word 'Master' was confusing. The clients would like to be able to pick a facility or facility section and then have only the storage choices for that facility be available. I have always used a two table approach to doing this although I know that it can probably be approached through one. Perhaps I should refer to it as 'tblFacilities' and then have a location store a FacilityID. > OK. Generally the transaction types are limited in the sense that they > are tied to the programming, so it's a fixed list, but if you want to have a > lookup table for a fuller description that's fine. Think that I am with you there. The transaction can be generated from one of a variety of forms and coded to do what is necessary in each case. I may not need that table then. > After discussions with the company I will probably drop the > UnitOfMeasure as they always refer to and price the product > by the pound no matter if it is loose or in whatever type > container. > >> > > I would recommend that they not do this. One of the reasons is that it > allows for controlling of the number of decimal places. If I have a UOM in > terms of stocking, Purchase, and Selling, I can easily convert back and > forth between UOMs. This might make the system simpler to use as well. For > example, we might stock in lb, but the salesmen like to deal in hundred > weight because it would be easier to give a selling price of a .56 rather > then .0056. > > It's also entirely possible that they may wish to buy/sell/trade at some > other UOM in the future Grin... This is one of the things that I discussed with them. They are pretty darned adamant that they don't want to have to deal with it as they have never done anything else in the industry in over 75 years. Prices are kind of like stock market prices, they are what they are and they are always in pounds even if they are in 55 lb. bags. A price is never set until the day of the sale so that different parts of a given Lot sold at different times by different owners may all be different. Maybe I should just go ahead and build in the UOM into the infrastructure as a good programming practice and default everything to pounds and hide the UOM from them. There certainly would be only one choice entry. > 1) Can I assume that a CycleCount refers to a physical > Inventory Count? > >> > > No. Cycle count is a spot check. There are two ways to keep an > inventory: perpetual and physical. With the first, you put a plan in place > to count x class A items, y B items, and z C items on a daily/weekly basis. > In other words you run through a cycle of counts. If you do this, then you > can forgo a physical inventory process. > > If you don't do this, then most auditing firms require a physical > inventory count process once or twice a year. > > I put both in, but it really doesn't matter. The important point is that > we have the field there to indicate why this inventory transaction occurred. > You may come up with different reasons (i.e. spoilage) Gotcha > 2) Would LocTrackExpirationDate refer to products that have > a shelf life or is there another purpose for this field? > >> > > Shelf life. OK. No such thing here. Spoilage adjustments take care of that. > You'll notice that in tblInvTransactions, I included both LocationID and >LotID instead of LocTrackID. This was done assuming that we would delete >LocTrack records when the qty reached 0. If we don't do that, then we could >store LocTrackID instead and the autnumber would then have a purpose. With you there. I will send this off now, but I am working on another post with some ideas on the Ownership and dollar sides that I will also post right behind. Gary From nancy.lytle at auatac.com Thu Sep 25 13:09:10 2003 From: nancy.lytle at auatac.com (Nancy Lytle) Date: Thu, 25 Sep 2003 14:09:10 -0400 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: <014b01c38372$c610dc50$6601a8c0@HAL9002> Message-ID: I had my installation of Access go bad yesterday. What I ended up doing is finding the Access wizards, acwz.....mde and renaming them acwz....OLD, then I went to the add/remove programs selected Office 2000, change, repair, and that fixed the problem. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 25, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. Does anybody know how I can get them back without doing a re-install of O2K? I'm afraid even if I uninstall and reinstall, leftover registry garbage will defeat me. MTIA Rocky Smolin Beach Access Software -------------- next part -------------- An HTML attachment was scrubbed... URL: From garykjos at hotmail.com Thu Sep 25 13:23:00 2003 From: garykjos at hotmail.com (Gary Kjos) Date: Thu, 25 Sep 2003 13:23:00 -0500 Subject: [AccessD] O2K Service Pack 3 Message-ID: Or as much bloat as there is throughout Office, having the VB stuff repeated in the Access help wouldn't be that huge of a problem either. What's a few more Mb in the help file? Basically the reason is, it is the way it is because we were to lazy or it was too hard to make it the way it should be. Poor excuse for software that costs ANYTHING, let along software that costs what Office and Access does. IMSHO anyway. Gary Kjos garykjos at hotmail.com >From: "Mitsules, Mark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 14:02:18 -0400 > >Gary, > >Thank you. The explanation seems sound on the surface, but begs the >question as to why they couldn't have implemented a more user-friendly, >cross-referencing, interface to compensate. > > >Mark > > >-----Original Message----- >From: Gary Kjos [mailto:garykjos at hotmail.com] >Sent: Thursday, September 25, 2003 1:38 PM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] O2K Service Pack 3 > > >240206 > >http://support.microsoft.com/default.aspx?scid=kb;en-us;240206&Product=acc20 >00 > > > >Gary Kjos >garykjos at hotmail.com > > > > > > >From: "Mitsules, Mark" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] O2K Service Pack 3 > >Date: Thu, 25 Sep 2003 12:43:37 -0400 > > > >William, > > > >I haven't had the amusement of seeing that particular MSKB article...do > >you know the number? > > > > > >Mark > > > > > > > >-----Original Message----- > >From: William Hindman [mailto:wdhindman at bellsouth.net] > >Sent: Thursday, September 25, 2003 12:35 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] O2K Service Pack 3 > > > > > >...its soooooooooooooooooooo bad that MS had to post an MSKB article on > >how to find things in Access Help! :)))) > > > >William Hindman > >"A liberator, however generous, should never expect gratitude, at least > >not for long. According to Isaiah Berlin, who was a member of Britain's > >Marshall Plan delegation, the European attitude in 1947 toward > >America's postwar generosity was that of "lofty and demanding beggars > >approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a > >Liberator. > > > > > >----- Original Message ----- > >From: "Stuart Sanders" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Thursday, September 25, 2003 12:21 PM > >Subject: RE: [AccessD] O2K Service Pack 3 > > > > > > > I have the same issue. But since O2K help is less than useless I > > > haven't > >really > > > bothered with pursuing it. I still wish MS would go back to the way > > > O97 > >help > > > worked. > > > > > > Sigh ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > > > Brock > > > > Sent: Thursday, 25 September, 2003 11:55 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > > > > Hi Rocky > > > > > > > > Exactly! > > > > > > > > /gustav > > > > > > > > > > > > > Gustav: > > > > > > > > > Mine asks for to repair as well, and asks for the CD. But > > > > it doesn't > > > > > repair. :( > > > > > > > > > Rocky > > > > > > > > > ----- Original Message ----- > > > > > From: "Gustav Brock" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > > > > >> Hi Rocky > > > > >> > > > > >> I have the same problems but I'm not sure it's related to SP3 > > > > >> as I have had that installed for a long time. > > > > >> > > > > >> If I press F1 with a keyword marked, Office tells that the > > > > help system > > > > >> isn't properly installed and - to repair - it requests my > > > > old SR-1 cd > > > > >> to be inserted. > > > > >> > > > > >> Can it be due to one of the recent patches? > > > > >> > > > > >> /gustav > > > > >> > > > > >> > After installing SP-3 over my O2K both my access wizards > > > > and the access > > > > >> > help (the loss of which is a marginal problem to be > > > > sure) stopped working. > > > > >> > > > > >> > Does anybody know how I can get them back without doing > > > > a re-install of > > > > >> > O2K? > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_________________________________________________________________ >Instant message during games with MSN Messenger 6.0. Download it now FREE! >http://msnmessenger-download.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com From cfoust at infostatsystems.com Thu Sep 25 13:28:47 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 11:28:47 -0700 Subject: [AccessD] O2K Service Pack 3 Message-ID: If you think Help is bad, try finding anything in the HTML version of TechNet. :o{ Charlotte Foust -----Original Message----- From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] Sent: Thursday, September 25, 2003 10:02 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] O2K Service Pack 3 Gary, Thank you. The explanation seems sound on the surface, but begs the question as to why they couldn't have implemented a more user-friendly, cross-referencing, interface to compensate. Mark -----Original Message----- From: Gary Kjos [mailto:garykjos at hotmail.com] Sent: Thursday, September 25, 2003 1:38 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] O2K Service Pack 3 240206 http://support.microsoft.com/default.aspx?scid=kb;en-us;240206&Product=a cc20 00 Gary Kjos garykjos at hotmail.com >From: "Mitsules, Mark" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem solving'" > >Subject: RE: [AccessD] O2K Service Pack 3 >Date: Thu, 25 Sep 2003 12:43:37 -0400 > >William, > >I haven't had the amusement of seeing that particular MSKB article...do >you know the number? > > >Mark > > > >-----Original Message----- >From: William Hindman [mailto:wdhindman at bellsouth.net] >Sent: Thursday, September 25, 2003 12:35 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] O2K Service Pack 3 > > >...its soooooooooooooooooooo bad that MS had to post an MSKB article on >how to find things in Access Help! :)))) > >William Hindman >"A liberator, however generous, should never expect gratitude, at least >not for long. According to Isaiah Berlin, who was a member of Britain's >Marshall Plan delegation, the European attitude in 1947 toward >America's postwar generosity was that of "lofty and demanding beggars >approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a >Liberator. > > >----- Original Message ----- >From: "Stuart Sanders" >To: "'Access Developers discussion and problem solving'" > >Sent: Thursday, September 25, 2003 12:21 PM >Subject: RE: [AccessD] O2K Service Pack 3 > > > > I have the same issue. But since O2K help is less than useless I > > haven't >really > > bothered with pursuing it. I still wish MS would go back to the way > > O97 >help > > worked. > > > > Sigh ... > > > > Stuart > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > > Brock > > > Sent: Thursday, 25 September, 2003 11:55 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > Hi Rocky > > > > > > Exactly! > > > > > > /gustav > > > > > > > > > > Gustav: > > > > > > > Mine asks for to repair as well, and asks for the CD. But > > > it doesn't > > > > repair. :( > > > > > > > Rocky > > > > > > > ----- Original Message ----- > > > > From: "Gustav Brock" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > >> Hi Rocky > > > >> > > > >> I have the same problems but I'm not sure it's related to SP3 > > > >> as I have had that installed for a long time. > > > >> > > > >> If I press F1 with a keyword marked, Office tells that the > > > help system > > > >> isn't properly installed and - to repair - it requests my > > > old SR-1 cd > > > >> to be inserted. > > > >> > > > >> Can it be due to one of the recent patches? > > > >> > > > >> /gustav > > > >> > > > >> > After installing SP-3 over my O2K both my access wizards > > > and the access > > > >> > help (the loss of which is a marginal problem to be > > > sure) stopped working. > > > >> > > > >> > Does anybody know how I can get them back without doing > > > a re-install of > > > >> > O2K? > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Instant message during games with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From COUTTSW at rjrt.com Thu Sep 25 13:53:11 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Thu, 25 Sep 2003 14:53:11 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8E@wsmailp1.rjr.com> The code is run in the comboBox AfterUpdate event. It is on a main form, not a subform. Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 1:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What event is the code in? And is the code run on the main fom itself or a subform, or what? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 17:26 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ 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 _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Sep 25 13:56:24 2003 From: john at winhaven.net (John Bartow) Date: Thu, 25 Sep 2003 13:56:24 -0500 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: Message-ID: ...or microsoft's support sites! I just had to use google again to deal with a WindowXP error message, I don't know why I bother going to micorsoft support... }-< > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Thursday, September 25, 2003 1:29 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] O2K Service Pack 3 > > > If you think Help is bad, try finding anything in the HTML version of > TechNet. :o{ > > Charlotte Foust > > -----Original Message----- > From: Mitsules, Mark [mailto:Mark.Mitsules at ngc.com] > Sent: Thursday, September 25, 2003 10:02 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] O2K Service Pack 3 > > > Gary, > > Thank you. The explanation seems sound on the surface, but begs the > question as to why they couldn't have implemented a more user-friendly, > cross-referencing, interface to compensate. > > > Mark > > > -----Original Message----- > From: Gary Kjos [mailto:garykjos at hotmail.com] > Sent: Thursday, September 25, 2003 1:38 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] O2K Service Pack 3 > > > 240206 > > http://support.microsoft.com/default.aspx?scid=kb;en-us;240206&Product=a > cc20 > 00 > > > > Gary Kjos > garykjos at hotmail.com > > > > > > >From: "Mitsules, Mark" > >Reply-To: Access Developers discussion and problem > >solving > >To: "'Access Developers discussion and problem solving'" > > > >Subject: RE: [AccessD] O2K Service Pack 3 > >Date: Thu, 25 Sep 2003 12:43:37 -0400 > > > >William, > > > >I haven't had the amusement of seeing that particular MSKB article...do > >you know the number? > > > > > >Mark > > > > > > > >-----Original Message----- > >From: William Hindman [mailto:wdhindman at bellsouth.net] > >Sent: Thursday, September 25, 2003 12:35 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] O2K Service Pack 3 > > > > > >...its soooooooooooooooooooo bad that MS had to post an MSKB article on > >how to find things in Access Help! :)))) > > > >William Hindman > >"A liberator, however generous, should never expect gratitude, at least > >not for long. According to Isaiah Berlin, who was a member of Britain's > > >Marshall Plan delegation, the European attitude in 1947 toward > >America's postwar generosity was that of "lofty and demanding beggars > >approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a > > >Liberator. > > > > > >----- Original Message ----- > >From: "Stuart Sanders" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Thursday, September 25, 2003 12:21 PM > >Subject: RE: [AccessD] O2K Service Pack 3 > > > > > > > I have the same issue. But since O2K help is less than useless I > > > haven't > >really > > > bothered with pursuing it. I still wish MS would go back to the way > > > O97 > >help > > > worked. > > > > > > Sigh ... > > > > > > Stuart > > > > > > > -----Original Message----- > > > > From: accessd-bounces at databaseadvisors.com > > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > > > Brock > > > > Sent: Thursday, 25 September, 2003 11:55 PM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > > > > Hi Rocky > > > > > > > > Exactly! > > > > > > > > /gustav > > > > > > > > > > > > > Gustav: > > > > > > > > > Mine asks for to repair as well, and asks for the CD. But > > > > it doesn't > > > > > repair. :( > > > > > > > > > Rocky > > > > > > > > > ----- Original Message ----- > > > > > From: "Gustav Brock" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > > > > > > > >> Hi Rocky > > > > >> > > > > >> I have the same problems but I'm not sure it's related to SP3 > > > > >> as I have had that installed for a long time. > > > > >> > > > > >> If I press F1 with a keyword marked, Office tells that the > > > > help system > > > > >> isn't properly installed and - to repair - it requests my > > > > old SR-1 cd > > > > >> to be inserted. > > > > >> > > > > >> Can it be due to one of the recent patches? > > > > >> > > > > >> /gustav > > > > >> > > > > >> > After installing SP-3 over my O2K both my access wizards > > > > and the access > > > > >> > help (the loss of which is a marginal problem to be > > > > sure) stopped working. > > > > >> > > > > >> > Does anybody know how I can get them back without doing > > > > a re-install of > > > > >> > O2K? > > > > > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > >_______________________________________________ > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > _________________________________________________________________ > Instant message during games with MSN Messenger 6.0. Download it now > FREE! > http://msnmessenger-download.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Alun.Garraway at otto.de Thu Sep 25 14:10:08 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Thu, 25 Sep 2003 21:10:08 +0200 Subject: [AccessD] GETTING THE RIGHT DATA WITH SQL JOINS Message-ID: GETTING THE RIGHT DATA WITH SQL JOINS by Susan Sales Harkins and Patricia E. O' Connor very good :-) http://archive.devx.com/devxpress/gurl.asp?i=1X4924866X90933 great article Susan! Alun Garraway IM-IT Sonderprojekte LBB-ET-D1 Tel. (040) 64 61 5573 Fax (040) 64 64 5573 mailto:alun.garraway at otto.de From bchacc at san.rr.com Thu Sep 25 14:18:26 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 25 Sep 2003 12:18:26 -0700 Subject: [AccessD] O2K Service Pack 3 References: Message-ID: <02cd01c38399$cbfff4d0$6601a8c0@HAL9002> Well that worked on my wizards. Thank you. I was going to try the same approach on the help file but there's 15 of them. Do you know which one is the right one to rename 'OLD'? Thanks and regards, Rocky ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, September 25, 2003 11:09 AM Subject: RE: [AccessD] O2K Service Pack 3 I had my installation of Access go bad yesterday. What I ended up doing is finding the Access wizards, acwz.....mde and renaming them acwz....OLD, then I went to the add/remove programs selected Office 2000, change, repair, and that fixed the problem. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 25, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. Does anybody know how I can get them back without doing a re-install of O2K? I'm afraid even if I uninstall and reinstall, leftover registry garbage will defeat me. MTIA Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jimdettman at earthlink.net Thu Sep 25 14:27:57 2003 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 25 Sep 2003 15:27:57 -0400 Subject: [AccessD] DB design Brainteaser In-Reply-To: <023101c3838f$22c0ab80$0300a8c0@DELL1800> Message-ID: Gary, << > One other thing. I'm sure I'm going to mess up a few times in referring > to Locations and Location Tracking as normally I refer to this as Locations > "LotTrackID" rather then "LocTrackID". If you can think of different terms > we might use for these tables, it may be helpful. Location (Loc) works for me. StorLoc or Storeage could work also. I guess I don't have the confusion that you do there. Certainly can't change the 'Lot' word usage on my end. >> I guess we'll stick with what we have for now. << > So there are field owners and then growers that actually do the work? or > is the "primary grower" always one of the owners? Yes there are. The grower may or may not be an actual part/whole owner of the field, but the grower will always own a share of the lot so we are not dealing so much with field ownership as field harvest ownership. On many of the documents that will be needed the grower is specified in the header and then the ownership breakdown is listed below so that grower will be listed again. As a grower will always be an owner, my approach to this I think will be to do a 'qryGrower' query based on the tblOwners and the tblGrower(FieldID&OwnerID) to create contrived fields to convert OwnerFirstName, etc... to GrowerFirstName so that I avoid having more than one address, name, etc... fields when I get to the reporting end. >> I would suggest then: tblIndividuals - One record per person IndividualID - Autonumber PK FirstName LastName Address City State Zip Phone Fax taxID etc.. tblFieldOwners - One record per individual per field FieldID - PK1A IndividualID - PK1B SharePercentage and add to tblFields: GrowerID - FK (link to tblIndividuals) If you need multiple growers for a field, then we'll need a tblFieldGrowers, with one additional field to indicate the primary grower for a field. << >tblLocations was the "master location list" - no need for another table. Actually, I think that I do need to specify a larger area to then to be able just to select the specific areas contained within that site. Maybe the word 'Master' was confusing. The clients would like to be able to pick a facility or facility section and then have only the storage choices for that facility be available. I have always used a two table approach to doing this although I know that it can probably be approached through one. Perhaps I should refer to it as 'tblFacilities' and then have a location store a FacilityID. >> No, that's perfect. Facilities or Warehouses is what is normally used. I myself like facilities. So yes, we'll have a tblFacilities, and tblLocations will include a FacilityID as part of it's PK. << > OK. Generally the transaction types are limited in the sense that they > are tied to the programming, so it's a fixed list, but if you want to have a > lookup table for a fuller description that's fine. Think that I am with you there. The transaction can be generated from one of a variety of forms and coded to do what is necessary in each case. I may not need that table then. >> Yes, that's it. << > After discussions with the company I will probably drop the > UnitOfMeasure as they always refer to and price the product > by the pound no matter if it is loose or in whatever type > container. > >> > > I would recommend that they not do this. One of the reasons is that it > allows for controlling of the number of decimal places. If I have a UOM in > terms of stocking, Purchase, and Selling, I can easily convert back and > forth between UOMs. This might make the system simpler to use as well. For > example, we might stock in lb, but the salesmen like to deal in hundred > weight because it would be easier to give a selling price of a .56 rather > then .0056. > > It's also entirely possible that they may wish to buy/sell/trade at some > other UOM in the future Grin... This is one of the things that I discussed with them. They are pretty darned adamant that they don't want to have to deal with it as they have never done anything else in the industry in over 75 years. Prices are kind of like stock market prices, they are what they are and they are always in pounds even if they are in 55 lb. bags. A price is never set until the day of the sale so that different parts of a given Lot sold at different times by different owners may all be different. Maybe I should just go ahead and build in the UOM into the infrastructure as a good programming practice and default everything to pounds and hide the UOM from them. There certainly would be only one choice entry. >> Up to you. including it will increase the programming a bit and of course there is always the feeling you get when you say "I told you so". Of course that is said only to yourself ;) << > 2) Would LocTrackExpirationDate refer to products that have > a shelf life or is there another purpose for this field? > >> > > Shelf life. OK. No such thing here. Spoilage adjustments take care of that. >> Yes but how do you know that something is spoiled? Do I understand then that there is no shelf life for a seed or in other words a "use by" date? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gary Miller Sent: Thursday, September 25, 2003 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DB design Brainteaser > One other thing. I'm sure I'm going to mess up a few times in referring > to Locations and Location Tracking as normally I refer to this as Locations > "LotTrackID" rather then "LocTrackID". If you can think of different terms > we might use for these tables, it may be helpful. Location (Loc) works for me. StorLoc or Storeage could work also. I guess I don't have the confusion that you do there. Certainly can't change the 'Lot' word usage on my end. > So there are field owners and then growers that actually do the work? or > is the "primary grower" always one of the owners? Yes there are. The grower may or may not be an actual part/whole owner of the field, but the grower will always own a share of the lot so we are not dealing so much with field ownership as field harvest ownership. On many of the documents that will be needed the grower is specified in the header and then the ownership breakdown is listed below so that grower will be listed again. As a grower will always be an owner, my approach to this I think will be to do a 'qryGrower' query based on the tblOwners and the tblGrower(FieldID&OwnerID) to create contrived fields to convert OwnerFirstName, etc... to GrowerFirstName so that I avoid having more than one address, name, etc... fields when I get to the reporting end. >tblLocations was the "master location list" - no need for another table. Actually, I think that I do need to specify a larger area to then to be able just to select the specific areas contained within that site. Maybe the word 'Master' was confusing. The clients would like to be able to pick a facility or facility section and then have only the storage choices for that facility be available. I have always used a two table approach to doing this although I know that it can probably be approached through one. Perhaps I should refer to it as 'tblFacilities' and then have a location store a FacilityID. > OK. Generally the transaction types are limited in the sense that they > are tied to the programming, so it's a fixed list, but if you want to have a > lookup table for a fuller description that's fine. Think that I am with you there. The transaction can be generated from one of a variety of forms and coded to do what is necessary in each case. I may not need that table then. > After discussions with the company I will probably drop the > UnitOfMeasure as they always refer to and price the product > by the pound no matter if it is loose or in whatever type > container. > >> > > I would recommend that they not do this. One of the reasons is that it > allows for controlling of the number of decimal places. If I have a UOM in > terms of stocking, Purchase, and Selling, I can easily convert back and > forth between UOMs. This might make the system simpler to use as well. For > example, we might stock in lb, but the salesmen like to deal in hundred > weight because it would be easier to give a selling price of a .56 rather > then .0056. > > It's also entirely possible that they may wish to buy/sell/trade at some > other UOM in the future Grin... This is one of the things that I discussed with them. They are pretty darned adamant that they don't want to have to deal with it as they have never done anything else in the industry in over 75 years. Prices are kind of like stock market prices, they are what they are and they are always in pounds even if they are in 55 lb. bags. A price is never set until the day of the sale so that different parts of a given Lot sold at different times by different owners may all be different. Maybe I should just go ahead and build in the UOM into the infrastructure as a good programming practice and default everything to pounds and hide the UOM from them. There certainly would be only one choice entry. > 1) Can I assume that a CycleCount refers to a physical > Inventory Count? > >> > > No. Cycle count is a spot check. There are two ways to keep an > inventory: perpetual and physical. With the first, you put a plan in place > to count x class A items, y B items, and z C items on a daily/weekly basis. > In other words you run through a cycle of counts. If you do this, then you > can forgo a physical inventory process. > > If you don't do this, then most auditing firms require a physical > inventory count process once or twice a year. > > I put both in, but it really doesn't matter. The important point is that > we have the field there to indicate why this inventory transaction occurred. > You may come up with different reasons (i.e. spoilage) Gotcha > 2) Would LocTrackExpirationDate refer to products that have > a shelf life or is there another purpose for this field? > >> > > Shelf life. OK. No such thing here. Spoilage adjustments take care of that. > You'll notice that in tblInvTransactions, I included both LocationID and >LotID instead of LocTrackID. This was done assuming that we would delete >LocTrack records when the qty reached 0. If we don't do that, then we could >store LocTrackID instead and the autnumber would then have a purpose. With you there. I will send this off now, but I am working on another post with some ideas on the Ownership and dollar sides that I will also post right behind. Gary _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gmiller at sistersnet.com Thu Sep 25 15:00:28 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Thu, 25 Sep 2003 13:00:28 -0700 Subject: [AccessD] DB design Brainteaser References: Message-ID: <023601c3839f$ac24fdd0$0300a8c0@DELL1800> Jim, I know that we aren't quite polished out on the Inventory end, but I like the concept of the dynamic records that appear and disappear in the tblLocTrack. This was the key component that I had not had experience with due to my lack of inventory work. I am starting to conceptualize the ownership shares handling and it seems that the same type of approach may work nicely here. Trailers start rolling in from a given field section under a given contract#. Weighmaster assigns the new lot number ( there goes our autonumber PK's, may still use them and force the user assigned to be unique )and records this on all weigh tickets from the trucks coming in from this section. When the lot limit (55,000lbs.) is reached he then starts a new lot and the next truckloads are allocated to the new one, etc... Weigh tickets are sent in to the office for processing. When all weigh tickets are entered they will then 'Finalize' the Lot and the total Field Run pounds will be permanently captured as part of the Lot record as eventually the weigh tickets will be discarded from the program. This number will never change and is a ongoing basis as to quality of the growers operation based on the comparison of Clean Seed weight achieved after cleaning. The FieldRun product is now stored somewhat indefinitely in loose form until it is processed for cleaning. When it goes to cleaning process it will lose 20 - 50 % of it's weight depending on the quality of the grower's operation. It will now come out of cleaning in a bag form and is usually stored on pallets. All clean seed will always be in bags of varying weights, but are always counted and referred to in pounds. After cleaning a sample is sent for testing analysis that will give it a purity% and quality grade. A decision is then made whether to keep the seed purity as is or to send it in for another cleaning to improve the purity. A third cleaning is rare, but does happen. After the cleaning processes are completed, we now have a weight (Clean Seed) that will be the basis of the Owner's shares and at that point the shares should be converted from a percentage to an actual quantity as any subsequent loses from spoilage or rodent damage become the liability of the Company. Based on what we did on the inventory side I am now thinking that the best way to go may be take this point in the process to create records in a LotOwnership table that would store LotID, OwnerID, QtyOwned (Lbs.), SellDate, SellPrice, CompanyOwned(Y/N). QtyOwned to come from the Lot CleanSeedWeight / % of ownership. SellDate and SellPrice would remain blank until the day that they decide to transfer ownership to the Company. The day they sell we would fill in the date and the price and now flag it as Company owned. There will be occasional additional cleanings that will neccesitate a recalculation of these poundage numbers, but they will always happen before any sales transactions are allowed to occur. It should be routine as long as I always create or recalculate existing on any cleaning entry. Another complication that just came up and affects the above is that sometimes an Owner will want to sell 5,000 of the 10,000 that they own of a given lot. I am thinking that if a transaction occurs that is less than the total share value I then prompt to check if this is an error or do they want to close the existing share record, reduce the Qty there and create a new one for the Qty balance. Some owners would end up with multiple lot ownership records in this instance. As a big reporting requirement I will need to constantly be showing the Company's 'position' on the all of the Lots and my thought is that this simple CompanyOwned flag will be any easy way to pull the amount that they own and is available for final outside sales. As these records will never be deleted, only deactivated with the Lot finalization, would I really need a transaction history table such as the Inventory one? There is another interesting twist to what happens after the final cleaning and the percentage amounts have done a final conversion to poundage. The Company will very routinely sell to the outside ALL of the product and ship it away even though the Customers have not yet actually sold it to the Company. This is what they refer as to going into a 'Short Position' on the product. This works because the final ownership amounts have now been set in stone once the final Clean Seed Weight is established and the only thing that really remains is for the Owners to pick a day when the market price seems to be most beneficial compared to their financial situation. Kind of like a Futures Market. Apparently one Owner held out for seven years after his product was physically out the door before he did his actual sale. I will probably need to hold a Lot as active until the last ownership sale is transacted in combination with it being totally out of inventory. I need to figure a good trigger for resetting this flag in the tblLots as I don't want to burden all of my queries with unneccessary conditions and I don't want to trust the users to do it. Maybe a second maintence db linked in that I could run on a schedule at night to do updates like this looking for nothing in inventory and all owners settled with. Any thoughts gratefully appreciated. Gary Miller From Oleg_123 at xuppa.com Thu Sep 25 15:14:47 2003 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Thu, 25 Sep 2003 16:14:47 -0400 (EDT) Subject: [AccessD] (OT) opening form from VB In-Reply-To: <023601c3839f$ac24fdd0$0300a8c0@DELL1800> References: <023601c3839f$ac24fdd0$0300a8c0@DELL1800> Message-ID: <5028.216.75.77.221.1064520887.squirrel@heck.bay9.com> Dear List, what is the correct syntaxix for opening an access form (from VB) ? acPreview gives me print view, and if i don't put anything it crashes AccObj.DoCmd.OpenForm "Hourly_Employees", acPreview ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail From martyconnelly at shaw.ca Thu Sep 25 15:27:47 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Sep 2003 13:27:47 -0700 Subject: [AccessD] Object Sizes References: <20030925172219.63525.qmail@web20416.mail.yahoo.com> Message-ID: <3F734FC3.50303@shaw.ca> Just a guess import the form into an empty mdb which has a default size of 64K compile, compress and subtract the difference Lonnie Johnson wrote: > Is there a way to determine what size an Access object is in a > database? For instance if you have a mdb that is 30,000 KB, then you > add a form and it increases to 31,000 KB apparently that form carries > some weight. So, is there a way to determine what size each object is? > > Thanks in advance for any responses! > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > ------------------------------------------------------------------------ > Do you Yahoo!? > The New Yahoo! Shopping > > - with improved product search > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > From cfoust at infostatsystems.com Thu Sep 25 15:32:57 2003 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Sep 2003 13:32:57 -0700 Subject: [AccessD] (OT) opening form from VB Message-ID: Access and VB don't use compatible forms and controls. What are you trying to accomplish? Charlotte Foust -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, September 25, 2003 12:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] (OT) opening form from VB Dear List, what is the correct syntaxix for opening an access form (from VB) ? acPreview gives me print view, and if i don't put anything it crashes AccObj.DoCmd.OpenForm "Hourly_Employees", acPreview ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gmiller at sistersnet.com Thu Sep 25 15:38:03 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Thu, 25 Sep 2003 13:38:03 -0700 Subject: [AccessD] DB design Brainteaser References: Message-ID: <024d01c383a4$ebadffb0$0300a8c0@DELL1800> Jim, FYI - New twist just developed as I found out that all growers have an numeric ID generated out of a legacy system that will still need to be manually interfaced with. Due to that I am taking your Grower/Owner/Individual idea and modifying it as follows. Owners are apparently referred to as Landlords so I am making that change and as all Growers are also a Landlord I will forsake the Individuals table and just use the Landlord table with a field for GrowerID. Any field would be subdivided to new fields if another grower got involved so I don't have to worry about multiples there. tblLandLords - One record per owner LandLordID - Autonumber ? PK GrowerID ? Integer - Indexed L_FirstName - Text L_LastName - Text etc... tblFields - One record per field FieldID - Autonumber ? PK GrowerID ? Integer ? (Linked to tblLandlords GrowerID) FieldNum ? Text ? (User Assigned) FieldName - Text FieldLocation - Text (Section/Range/Township) etc... From DWUTKA at marlow.com Thu Sep 25 15:47:01 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 25 Sep 2003 15:47:01 -0500 Subject: [AccessD] (OT) opening form from VB Message-ID: <2F8793082E00D4119A1700B0D0216BF802227248@main2.marlow.com> acNormal? Drew -----Original Message----- From: Oleg_123 at xuppa.com [mailto:Oleg_123 at xuppa.com] Sent: Thursday, September 25, 2003 3:15 PM To: accessd at databaseadvisors.com Subject: [AccessD] (OT) opening form from VB Dear List, what is the correct syntaxix for opening an access form (from VB) ? acPreview gives me print view, and if i don't put anything it crashes AccObj.DoCmd.OpenForm "Hourly_Employees", acPreview ----------------------------------------- Get Breaking News from CNN, ABC, NBC, CBS Now. http://www.xuppa.com/news/?link=webmail _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davide at dalyn.co.nz Thu Sep 25 15:57:38 2003 From: davide at dalyn.co.nz (David Emerson) Date: Fri, 26 Sep 2003 08:57:38 +1200 Subject: [AccessD] Slow loop through list box In-Reply-To: <1210882027.20030925115546@cactus.dk> References: <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> Message-ID: <5.2.0.9.0.20030926085705.00b38ab8@mail.dalyn.co.nz> Thanks. I much appreciate the help from all on this one. David At 25/09/2003, you wrote: >Hi David > >Well, how about the Click event ...? >This will also fire when using keys. > > > > Dim lst As ListBox > > Dim lngIndex As Long > Dim strKey As String > Dim booSelected As Boolean > > Set lst = Me!lstDemo > With lst > lngIndex = .ListIndex + Abs(.ColumnHeads) > strKey = .ItemData(lngIndex) > booSelected = .Selected(lngIndex) > End With > > MsgBox strKey & ":" & Str(booSelected) > > If booSelected = True Then > ' Append strKey to collection/selection. > Else > ' Remove strKey from collection/selection. > End If > > Set lst = Nothing > > > >However, the event will fire also when using the navigation keys. >Thus, I would follow the advice of Drew to append/remove the selected >items to an (interim) collection or array and only run the >append/delete action query (or code) on the table if an item really is >appended or removed from the collection or array. > >/gustav > > > > How do I determine which item has just been selected/deselected? Then I > > could add it if selected, or delete if deselected. > > > >>It sounds/looks like you are building the complete list every time an > >>item is selected. Why not add only that item which has been selected? > >> > >>/gustav > >> > >> > >> > I have a listbox which is used to select clients for including in > >> > reports. When the listbox is updated I have a separate text box that > >> > shows > >> > the names of the clients selected and the number selected. At the same > >> > time I store the ID's of the clients in a table that is used to > filter out > >> > the required client records. The initial list box has over 1800 > names. It > >> > is taking about 10 seconds to update the lists each time a client is > >> > selected. If I rem out the adding of ID's to the table then the time > >> > reduces to about 3 seconds. The main part of the code is - > >> > >> > With Me!lstClientList > >> > For Each varItem In .ItemsSelected > >> > If .Selected(varItem) = True Then > >> > strList = strList & .Column(1, varItem) & vbCrLf ' > Adds > >> > client name to selected list > >> > intClientNo = intClientNo + > >> 1 ' > >> > Counts number of selected clients > >> > rst.AddNew > >> > 'Add client ID to table > >> > rst!CustIDNo = .Column(0, varItem) > >> > rst.Update > >> > End If > >> > Next varItem > >> > End With > >> > >> > Any thoughts as to how I can speed up the process? The BE is SQL2000. > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From GarciaD at kentri.org Thu Sep 25 16:00:37 2003 From: GarciaD at kentri.org (Dwylene Garcia) Date: Thu, 25 Sep 2003 17:00:37 -0400 Subject: [AccessD] Slow loop through list box (Out of the Office) Message-ID: I will be on a leave of absence until January 5, 2004. Here's a list of resources that may be able to help you in my absence: Microsoft Office help desk: Lisa Pagano x1755 or via email Lisa will be teaching the computer classes and answering help desk calls in my absence. Register or Cancel Computer Classes: To register for any class offered by the Kent Education Department, call x1471. All other issues: If you have an issue that cannot wait for my return in January, please call Lisa Moone in the Education Department x1471 and she will be happy to direct your call to the appropriate person. Have a wonderful holiday season and I will see you next year! From bchacc at san.rr.com Thu Sep 25 16:03:11 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 25 Sep 2003 14:03:11 -0700 Subject: [AccessD] O2K Service Pack 3 References: <02cd01c38399$cbfff4d0$6601a8c0@HAL9002> Message-ID: <032a01c383a8$6dc53150$6601a8c0@HAL9002> I couldn't find the repair feature in the Office setup as Nancy and Charlotte referred to. But thought the add/remove features I did change the Access Help to 'Run All From CD" which seemed to have uninstalled it and then went back and changed it to 'Run All From My Computer", which seems to have fixed it. Thanks for all suggestions. I think I'm back in the air now. Rocky ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Thursday, September 25, 2003 12:18 PM Subject: Re: [AccessD] O2K Service Pack 3 Well that worked on my wizards. Thank you. I was going to try the same approach on the help file but there's 15 of them. Do you know which one is the right one to rename 'OLD'? Thanks and regards, Rocky ----- Original Message ----- From: Nancy Lytle To: Access Developers discussion and problem solving Sent: Thursday, September 25, 2003 11:09 AM Subject: RE: [AccessD] O2K Service Pack 3 I had my installation of Access go bad yesterday. What I ended up doing is finding the Access wizards, acwz.....mde and renaming them acwz....OLD, then I went to the add/remove programs selected Office 2000, change, repair, and that fixed the problem. Nancy L -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, September 25, 2003 10:39 AM To: AccessD at databaseadvisors.com Subject: [AccessD] O2K Service Pack 3 Dear List: After installing SP-3 over my O2K both my access wizards and the access help (the loss of which is a marginal problem to be sure) stopped working. Does anybody know how I can get them back without doing a re-install of O2K? I'm afraid even if I uninstall and reinstall, leftover registry garbage will defeat me. MTIA Rocky Smolin Beach Access Software ---------------------------------------------------------------------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From john at winhaven.net Thu Sep 25 17:05:14 2003 From: john at winhaven.net (John Bartow) Date: Thu, 25 Sep 2003 17:05:14 -0500 Subject: [AccessD] option click error Message-ID: Strange things are happening today... I have a form with a tabcontrol and some subforms on it. If I option (right) click on an area that shouldn't be allowed to have a specially designated shortcut menu bar - such as a shape or the background of the detail area (where there are no controls) on a continuous form, etc. I get an error which says: "Microsoft Access can't find the macro 'True'" bla, bla, bla... Anyone have any idea why this is happening? John B. From stuart at lexacorp.com.pg Thu Sep 25 17:57:12 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Sep 2003 08:57:12 +1000 Subject: [AccessD] DB design Brainteaser In-Reply-To: <023601c3839f$ac24fdd0$0300a8c0@DELL1800> Message-ID: <3F73FF68.32083.38CAE9@localhost> On 25 Sep 2003 at 13:00, Gary Miller wrote: > > Trailers start rolling in from a given field section under a > given contract#. Weighmaster assigns the new lot number ( > there goes our autonumber PK's, may still use them and force > the user assigned to be unique ) You weren't planning on using the Lot Number as PK anyway where you? ....*where you*? ....WHERE YOU? :-) > > Weigh tickets are sent in to the office for processing. When > all weigh tickets are entered they will then 'Finalize' the > Lot and the total Field Run pounds will be permanently > captured as part of the Lot record as eventually the weigh > tickets will be discarded from the program. This number will > never change Until someone discovers a Weigh Ticket that didn't get entered until after someone else "finalised* the Lot :-( Believe me - it *will* happen! >and is a ongoing basis as to quality of the > growers operation based on the comparison of Clean Seed > weight achieved after cleaning. > > The FieldRun product is now stored somewhat indefinitely in > loose form until it is processed for cleaning. When it goes > to cleaning process it will lose 20 - 50 % of it's weight > depending on the quality of the grower's operation. It will > now come out of cleaning in a bag form and is usually stored > on pallets. All clean seed will always be in bags of varying > weights, but are always counted and referred to in pounds. > > After cleaning a sample is sent for testing analysis that > will give it a purity% and quality grade. A decision is then > made whether to keep the seed purity as is or to send it in > for another cleaning to improve the purity. A third cleaning > is rare, but does happen. > > After the cleaning processes are completed, we now have a > weight (Clean Seed) that will be the basis of the Owner's > shares and at that point the shares should be converted from > a percentage to an actual quantity as any subsequent loses > from spoilage or rodent damage become the liability of the > Company. > > Based on what we did on the inventory side I am now thinking > that the best way to go may be take this point in the > process to create records in a LotOwnership table that would > store LotID, OwnerID, QtyOwned (Lbs.), SellDate, SellPrice, > CompanyOwned(Y/N). QtyOwned to come from the Lot > CleanSeedWeight / % of ownership. SellDate and SellPrice > would remain blank until the day that they decide to > transfer ownership to the Company. The day they sell we > would fill in the date and the price and now flag it as > Company owned. > Do they have to sell the whole LotOwnership in one go., or can they sell just part of it to the Company? If so, you will need to child table to record sales qtys, prices and dates. In either case, you don't really need the flag. Default SellDate to Null. Then if you have a valid date, it must be company owned. > There will be occasional additional cleanings that will > neccesitate a recalculation of these poundage numbers, but > they will always happen before any sales transactions are > allowed to occur. It should be routine as long as I always > create or recalculate existing on any cleaning entry. > > Another complication that just came up and affects the above > is that sometimes an Owner will want to sell 5,000 of the > 10,000 that they own of a given lot. I am thinking that if a > transaction occurs that is less than the total share value I > then prompt to check if this is an error or do they want to > close the existing share record, reduce the Qty there and > create a new one for the Qty balance. Some owners would end > up with multiple lot ownership records in this instance. See comment above :-) Use a child table to record sales from a lot. (Start Wt - Total of sales to date) will always give you a balance which you can check against on each new sale to see whether the amout in valid and to close the lot if all is sold. You could also use this child table to record reductions by additional cleaning above - "sale price $0.00" > > As a big reporting requirement I will need to constantly be > showing the Company's 'position' on the all of the Lots and > my thought is that this simple CompanyOwned flag will be any > easy way to pull the amount that they own and is available > for final outside sales. > > As these records will never be deleted, only deactivated > with the Lot finalization, would I really need a transaction > history table such as the Inventory one? > The child table I suggested above is, in fact, a transaction table. > There is another interesting twist to what happens after the > final cleaning and the percentage amounts have done a final > conversion to poundage. The Company will very routinely sell > to the outside ALL of the product and ship it away even > though the Customers have not yet actually sold it to the > Company. This is what they refer as to going into a 'Short > Position' on the product. This works because the final > ownership amounts have now been set in stone once the final > Clean Seed Weight is established and the only thing that > really remains is for the Owners to pick a day when the > market price seems to be most beneficial compared to their > financial situation. Kind of like a Futures Market. > Apparently one Owner held out for seven years after his > product was physically out the door before he did his actual > sale. > > I will probably need to hold a Lot as active until the last > ownership sale is transacted in combination with it being > totally out of inventory. I need to figure a good trigger > for resetting this flag in the tblLots as I don't want to > burden all of my queries with unneccessary conditions and I > don't want to trust the users to do it. Maybe a second > maintence db linked in that I could run on a schedule at > night to do updates like this looking for nothing in > inventory and all owners settled with. > A trigger would be better, on each sale, check how much is still not company owned. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From kathryn at bassett.net Thu Sep 25 17:58:06 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 25 Sep 2003 15:58:06 -0700 Subject: [AccessD] Visual Basic error In-Reply-To: Message-ID: Terri Jarus wrote an Excel VB macro for me, but I have a problem that seems to be version related. Too late to reach her at work as she's in MO and I'm in CA. Here is a shot of the code, and the error, though I'm also pasting in here. http://www.ourmailinglist.org/misc/macroerror.jpg "Compile Error: Named argument not found." I've been surfing trying to find an answer and found the problem, just don't know how to solve it. I did a search on TrailingMinusNumbers and found this http://dbforums.com/arch/219/2003/4/769599 and it says "TrailingMinusNumbers is an argument that was introduced in 2002. If you want OpenText to work in earlier versions, you have to omit that argument." I believe that's the problem because I have Excel 2000. So, my question is how do I omit the argument. I tried just erasing TrailingMinusNumbers:=True and recompiling but then get Expected named parameter - so I imagine there is more to omit, or that that is the wrong thing to omit. Any ideas on how I can make this work? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net The full code is: Sub getdata() ' ' getdata Macro ' Macro recorded 9/22/2003 by Terri Jarus ' ' Keyboard Shortcut: Ctrl+d ' Dim txtfile, savefile As String Application.Goto Reference:="R1C1" txtfile = InputBox("Enter last four digits of filename", "File Name", "D:\MyFiles\Access\AC100\2003\output*.txt") savefile = Mid(txtfile, 36, 10) & ".xls" Workbooks.OpenText Filename:= _ txtfile, Origin:=437, StartRow _ :=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, Comma:=True, _ Space:=False, Other:=False, FieldInfo:=Array(Array(1, 9), Array(2, 9), Array( _ 3, 2), Array(4, 1), Array(5, 2), Array(6, 1), Array(7, 2)), TrailingMinusNumbers:=True Selection.EntireRow.Insert ActiveCell.FormulaR1C1 = "activity" Range("B1").Select ActiveCell.FormulaR1C1 = "bib" Range("C1").Select ActiveCell.FormulaR1C1 = "timetext" Range("D1").Select ActiveCell.FormulaR1C1 = "day" Range("E1").Select ActiveCell.FormulaR1C1 = "checkpoint" Range("A1").Select ActiveWorkbook.SaveAs Filename:= _ savefile, _ FileFormat:=xlNormal, Password:="", WriteResPassword:="", _ ReadOnlyRecommended:=False, CreateBackup:=False End Sub From stuart at lexacorp.com.pg Thu Sep 25 18:04:25 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Sep 2003 09:04:25 +1000 Subject: [AccessD] Visual Basic error In-Reply-To: References: Message-ID: <3F740119.8705.3F6578@localhost> On 25 Sep 2003 at 15:58, Kathryn Bassett wrote: > > I believe that's the problem because I have Excel 2000. So, my > question is how do I omit the argument. I tried just erasing > TrailingMinusNumbers:=True and recompiling but then get Expected named > parameter - so I imagine there is more to omit, or that that is the > wrong thing to omit. > Just a WAG, but did you leave the last comma in when you deleted the last argument? If so, it will still be looking for another argument. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From john at winhaven.net Thu Sep 25 18:05:25 2003 From: john at winhaven.net (John Bartow) Date: Thu, 25 Sep 2003 18:05:25 -0500 Subject: [AccessD] option click error In-Reply-To: Message-ID: OK, it gets wierder... I have tried decompiling/compacting, exporting and importing the form, rebuilding the form by copying and pasting all controls and code and it keeps giving me the error message. I have other forms that are almost identical and use the same shortcut menu bars and do not get this error. So, I thinks to meself, if it wants a bloody macro named "true", I'll give it one. The macro "True" now sets echo on. I right click on this blasted form and I get an empty shortcut menu bar that pops up! What's up with that?!! JB > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow > Sent: Thursday, September 25, 2003 5:05 PM > To: AccessD > Subject: [AccessD] option click error > > > Strange things are happening today... > > I have a form with a tabcontrol and some subforms on it. If I > option (right) > click on an area that shouldn't be allowed to have a specially designated > shortcut menu bar - such as a shape or the background of the detail area > (where there are no controls) on a continuous form, etc. I get an error > which says: > "Microsoft Access can't find the macro 'True'" > bla, bla, bla... > > Anyone have any idea why this is happening? > > John B. > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kathryn at bassett.net Thu Sep 25 18:31:32 2003 From: kathryn at bassett.net (Kathryn Bassett) Date: Thu, 25 Sep 2003 16:31:32 -0700 Subject: [AccessD] Visual Basic error In-Reply-To: <3F740119.8705.3F6578@localhost> Message-ID: Stuart McLachlan suggested: > Just a WAG, but did you leave the last comma in when you deleted the > last argument? If so, it will still be looking for another argument. Well, that solved part of it. At least now it opens the dialog box for me to put the 4 digit extension. But now a new problem. RunTime Error 1004 Method 'OpenText' of object 'Workbooks' failed. It yellow highlights this section of the code: Workbooks.OpenText Filename:= _ txtfile, Origin:=437, StartRow _ :=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, Comma:=True, _ Space:=False, Other:=False, FieldInfo:=Array(Array(1, 9), Array(2, 9), Array( _ 3, 2), Array(4, 1), Array(5, 2), Array(6, 1), Array(7, 2)) Anymore WAG's for the next glitch? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net From gmiller at sistersnet.com Thu Sep 25 18:31:48 2003 From: gmiller at sistersnet.com (Gary Miller) Date: Thu, 25 Sep 2003 16:31:48 -0700 Subject: [AccessD] DB design Brainteaser References: <3F73FF68.32083.38CAE9@localhost> Message-ID: <02bc01c383bd$31045150$0300a8c0@DELL1800> Stuart, Replies inline... > > You weren't planning on using the Lot Number as PK anyway where you? > ....*where you*? > ....WHERE YOU? > :-) Actually, since I had been assured that it is like a pedigree, I was assured that it was absolutely unique so I was kind of thinking that I WHAS going to. Famous last words. I know longer Whill. Were whas I? . > > > > Weigh tickets are sent in to the office for processing. When > > all weigh tickets are entered they will then 'Finalize' the > > Lot and the total Field Run pounds will be permanently > > captured as part of the Lot record as eventually the weigh > > tickets will be discarded from the program. This number will > > never change > > Until someone discovers a Weigh Ticket that didn't get entered until > after someone else "finalised* the Lot :-( > Believe me - it *will* happen! Yes, I know that as well and will keep the Weigh Tickets for a year or so and will have a Re-Do finalization routine in place to readjust the record. > > >and is a ongoing basis as to quality of the > > growers operation based on the comparison of Clean Seed > > weight achieved after cleaning. > > > > The FieldRun product is now stored somewhat indefinitely in > > loose form until it is processed for cleaning. When it goes > > to cleaning process it will lose 20 - 50 % of it's weight > > depending on the quality of the grower's operation. It will > > now come out of cleaning in a bag form and is usually stored > > on pallets. All clean seed will always be in bags of varying > > weights, but are always counted and referred to in pounds. > > > > After cleaning a sample is sent for testing analysis that > > will give it a purity% and quality grade. A decision is then > > made whether to keep the seed purity as is or to send it in > > for another cleaning to improve the purity. A third cleaning > > is rare, but does happen. > > > > After the cleaning processes are completed, we now have a > > weight (Clean Seed) that will be the basis of the Owner's > > shares and at that point the shares should be converted from > > a percentage to an actual quantity as any subsequent loses > > from spoilage or rodent damage become the liability of the > > Company. > > > > Based on what we did on the inventory side I am now thinking > > that the best way to go may be take this point in the > > process to create records in a LotOwnership table that would > > store LotID, OwnerID, QtyOwned (Lbs.), SellDate, SellPrice, > > CompanyOwned(Y/N). QtyOwned to come from the Lot > > CleanSeedWeight / % of ownership. SellDate and SellPrice > > would remain blank until the day that they decide to > > transfer ownership to the Company. The day they sell we > > would fill in the date and the price and now flag it as > > Company owned. > > > > Do they have to sell the whole LotOwnership in one go., or can they > sell just part of it to the Company? If so, you will need to child > table to record sales qtys, prices and dates. Yes, they can sell partials. In response to this and your comments below, you are correct. A child table will be much more versatile and flexible than creating a second record. This will fit into some other things that haven't been addressed yet such as Child Support Arrears deductions and other misc. charges that will be applied on an Owner by Owner basis. > > In either case, you don't really need the flag. Default SellDate to > Null. Then if you have a valid date, it must be company owned. If I revert to the child table, I would take the date out of that level entirely and just check that the amount owned zeros out with the amounts sold from the child table. > > I will probably need to hold a Lot as active until the last > > ownership sale is transacted in combination with it being > > totally out of inventory. I need to figure a good trigger > > for resetting this flag in the tblLots as I don't want to > > burden all of my queries with unneccessary conditions and I > > don't want to trust the users to do it. Maybe a second > > maintence db linked in that I could run on a schedule at > > night to do updates like this looking for nothing in > > inventory and all owners settled with. > > > > A trigger would be better, on each sale, check how much is still not > company owned. It would take a couple of triggers as it can all be sold by the owners, but the Company could still have it available in the inventory. Kind of needs to be checked from a couple of directions. Only when the Owners have sold all shares and the Company has shipped it to a customer can it become inactive. Those can happen in any order. Thanks for the comments! Gary From jcolby at colbyconsulting.com Thu Sep 25 20:00:07 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Thu, 25 Sep 2003 21:00:07 -0400 Subject: [AccessD] ot: MS Photo editor only understands .tga files Message-ID: For some reason photo editor suddenly doesn't understand jpeg, gif etc. and what the (*&^%*&$ is a .tga? Anyone know how to tell photo editor what a jpeg is? Anyone know of any good free photo printing software? John W. Colby www.colbyconsulting.com From stuart at lexacorp.com.pg Thu Sep 25 20:53:30 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Sep 2003 11:53:30 +1000 Subject: [AccessD] ot: MS Photo editor only understands .tga files In-Reply-To: Message-ID: <3F7428BA.31148.2F223EC0@localhost> On 25 Sep 2003 at 21:00, John Colby wrote: > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > what the (*&^%*&$ is a .tga? > > Anyone know how to tell photo editor what a jpeg is? > > Anyone know of any good free photo printing software? > For viewing/ scaling etc and printing, I use Irfanview http://www.irfanview.com -- Stuart McLachlan Lexacorp Ltd Application Development, IT Consultancy http://www.lexacorp.com.pg From DWUTKA at marlow.com Thu Sep 25 20:58:33 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Thu, 25 Sep 2003 20:58:33 -0500 Subject: [AccessD] MiniCalendar Version 4.02 Message-ID: <2F8793082E00D4119A1700B0D0216BF80222724A@main2.marlow.com> Just sent out another Beta version of my MiniCalendar, to the people that volunteered (and a few more) before. If you want to be included (and receive this last release), holler at me (offline, so we don't clutter the list). This new version actually 'works' (previous version didn't actually have complete calendar capabilities), yippie, but I had to 'upgrade' it to Access 2000 and up, because of RaiseEvents. On a side note, this thing has 'sliding' menus....not your typical sliding menu either, because it slides out with a width specific to the menu, not the access form (had fun with API's to do that). And the modifications I made to that code tonight would make it pretty easy to add to another project. By menu, I just mean an additional part of the form...not an actual menu, because I have various controls on them. Drew From ssharkins at bellsouth.net Thu Sep 25 21:02:30 2003 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 25 Sep 2003 22:02:30 -0400 Subject: [AccessD] ot: MS Photo editor only understands .tga files References: <3F7428BA.31148.2F223EC0@localhost> Message-ID: <007b01c383d3$9ccdd8a0$220110ac@SUSANONE> Does it let you print multiple prints on one page or multiple pages of the same print? Susan H. > On 25 Sep 2003 at 21:00, John Colby wrote: > > > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > > what the (*&^%*&$ is a .tga? > > > > Anyone know how to tell photo editor what a jpeg is? > > > > Anyone know of any good free photo printing software? > > > For viewing/ scaling etc and printing, I use Irfanview > http://www.irfanview.com > > > > -- > Stuart McLachlan > Lexacorp Ltd > Application Development, IT Consultancy > http://www.lexacorp.com.pg > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From davesharpe2 at cox.net Thu Sep 25 21:21:42 2003 From: davesharpe2 at cox.net (dave sharpe) Date: Thu, 25 Sep 2003 22:21:42 -0400 Subject: [AccessD] ot: MS Photo editor only understands .tga files References: Message-ID: <03b701c383d4$ed322de0$dd2f0a44@bcsext6137> John Here is something that might meet your requirements Dave > Anyone know of any good free photo printing software? http://www.tucows.com/preview/275347.html ----- Original Message ----- From: "John Colby" To: "AccessD" Sent: Thursday, September 25, 2003 9:00 PM Subject: [AccessD] ot: MS Photo editor only understands .tga files > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > what the (*&^%*&$ is a .tga? > > Anyone know how to tell photo editor what a jpeg is? > > Anyone know of any good free photo printing software? > > John W. Colby > www.colbyconsulting.com > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu Sep 25 21:30:02 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Sep 2003 12:30:02 +1000 Subject: [AccessD] ot: MS Photo editor only understands .tga files In-Reply-To: <007b01c383d3$9ccdd8a0$220110ac@SUSANONE> Message-ID: <3F74314A.29521.FBA6DE@localhost> On 25 Sep 2003 at 22:02, Susan Harkins wrote: > Does it let you print multiple prints on one page or multiple pages of the > same print? > > Susan H. > Multiple prints per page - No Multiple pages of the same print - yes What I like about it is that you have numerous sizing/scaling and positioning options so that you can fit it on a page in many ways. -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From martyconnelly at shaw.ca Thu Sep 25 23:30:38 2003 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Sep 2003 21:30:38 -0700 Subject: [AccessD] OT: Opening Access report from Visual Basic References: <806536912C472E4A9D6515DF2E57261E0C5B30@mercury.tnco-inc.com> <6834.216.75.77.221.1064348144.squirrel@heck.bay9.com> <3F710B5E.2010609@shaw.ca> <7384.216.75.77.221.1064415146.squirrel@heck.bay9.com> Message-ID: <3F73C0EE.2020000@shaw.ca> AccObj.OpenCurrentDatabase dbPath, False AccObj.DoCmd.Maximize 'or AccObj.DoCmd.RunCommand (acCmdAppMaximize) ' AccObj.DoCmd.RunCommand (acCmdAppMaximize) 'max the Application or ' AccObj.DoCmd.RunCommand (acCmdDocMaximize) 'max the current form Oleg_123 at xuppa.com wrote: >Thanks Marty, this seems to be working; actually I made it work yesterday >with a slightly different code. Now, is there a way to for a report to >open at full size ? I guess someithing "On Load" event of the report ? > > > > >>try this; close just some lines in wrong spot >> >>Sub testreport() >>Dim AccObj As Object >>Dim db As Object >>Dim dbPath As String >>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >> Set AccObj = CreateObject("Access.Application") >> Set db = >>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPath) >> >> AccObj.Visible = True >> AccObj.OpenCurrentDatabase dbPath, False >> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >> AccObj.Visible = True >> ' quit the application too if necessary >> 'AccObj.quit >> Set db = Nothing >> Set AccObj = Nothing >> ' >>End Sub >> >>Oleg_123 at xuppa.com wrote: >> >> >> >>>Hi Group, >>> >>>I am trying to open an Access Report from Visual Basic form, doesn't >>>seem to be working. I think that i used something like this in the >>>past. (I checked Microst Access 9.0 Object library in references) >>> >>>Dim Acc As Object, db As Object >>>Dim dbPath As String >>> Set AccObj = CreateObject("Access.Application") >>> Set db = >>>AccObj.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName) >>> >>>dbPath = "G:\SHARED\Productivity Reports\Oleg\db2.mdb" >>> AccObj.OpenCurrentDatabase dbPath, False >>> Set db = Nothing >>> AccObj.DoCmd.OpenReport "Project Box Sheet", acPreview >>> AccObj.Visible = True >>> >>> >>>----------------------------------------- >>>Get Breaking News from CNN, ABC, NBC, CBS Now. >>>http://www.xuppa.com/news/?link=webmail >>> >>> >>>_______________________________________________ >>>AccessD mailing list >>>AccessD at databaseadvisors.com >>>http://databaseadvisors.com/mailman/listinfo/accessd >>>Website: http://www.databaseadvisors.com >>> >>> >>> >>> >>> >>_______________________________________________ >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > >----------------------------------------- >Get Breaking News from CNN, ABC, NBC, CBS Now. >http://www.xuppa.com/news/?link=webmail > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > From adtp at touchtelindia.net Fri Sep 26 00:04:54 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 26 Sep 2003 10:34:54 +0530 Subject: [AccessD] MiniCalendar Version 4.02 References: <2F8793082E00D4119A1700B0D0216BF80222724A@main2.marlow.com> Message-ID: <00db01c383ee$abeae920$2bedf73d@winxp> Drew, Could you kindly send me a copy ? Regards, A.D.Tejpal adtp at touchtelindia.net ---------------------------- ----- Original Message ----- From: Drew Wutka To: 'AccessD at databaseadvisors.com' Sent: Friday, September 26, 2003 07:28 Subject: [AccessD] MiniCalendar Version 4.02 Just sent out another Beta version of my MiniCalendar, to the people that volunteered (and a few more) before. If you want to be included (and receive this last release), holler at me (offline, so we don't clutter the list). This new version actually 'works' (previous version didn't actually have complete calendar capabilities), yippie, but I had to 'upgrade' it to Access 2000 and up, because of RaiseEvents. On a side note, this thing has 'sliding' menus....not your typical sliding menu either, because it slides out with a width specific to the menu, not the access form (had fun with API's to do that). And the modifications I made to that code tonight would make it pretty easy to add to another project. By menu, I just mean an additional part of the form...not an actual menu, because I have various controls on them. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From my.lists at verizon.net Fri Sep 26 01:41:41 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Thu, 25 Sep 2003 23:41:41 -0700 Subject: [AccessD] ot: MS Photo editor only understands .tga files In-Reply-To: References: Message-ID: <3F73DFA5.6050809@verizon.net> John Colby wrote: > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > what the (*&^%*&$ is a .tga? > > Anyone know how to tell photo editor what a jpeg is? > > Anyone know of any good free photo printing software? > John.... What the HECK are you doing over there? by your last rash of PC problems I'd say you need to "STOP dicking around" with your pc and pick up a good ol' Windows for Dummies book revised for your version of windows of course ;o) (is it friday yet?) -- -Francisco From andy at minstersystems.co.uk Fri Sep 26 01:51:03 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Sep 2003 07:51:03 +0100 Subject: [AccessD] option click error In-Reply-To: Message-ID: <00bc01c383fa$8da43f00$b274d0d5@minster33c3r25> John Just a thought. I noticed you copied and pasted all the controls to the new form. Could one of the controls have something weird in the Shortcut property? I know that still doesn't explain why you get it all over the form, but I can't think of anywhere else it's coming from. Could you create yet another blank form and pull the controls in a few at a time to see at what point it starts to happen? Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: 26 September 2003 00:05 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] option click error > > > OK, it gets wierder... > > I have tried decompiling/compacting, exporting and importing > the form, rebuilding the form by copying and pasting all > controls and code and it keeps giving me the error message. I > have other forms that are almost identical and use the same > shortcut menu bars and do not get this error. > > So, I thinks to meself, if it wants a bloody macro named > "true", I'll give it one. The macro "True" now sets echo on. > I right click on this blasted form and I get an empty > shortcut menu bar that pops up! > > What's up with that?!! > > JB > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > John Bartow > > Sent: Thursday, September 25, 2003 5:05 PM > > To: AccessD > > Subject: [AccessD] option click error > > > > > > Strange things are happening today... > > > > I have a form with a tabcontrol and some subforms on it. If > I option > > (right) click on an area that shouldn't be allowed to have > a specially > > designated shortcut menu bar - such as a shape or the background of > > the detail area (where there are no controls) on a continuous form, > > etc. I get an error which says: > > "Microsoft Access can't find the macro 'True'" > > bla, bla, bla... > > > > Anyone have any idea why this is happening? > > > > John B. > > > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/a> ccessd > Website: > http://www.databaseadvisors.com > > From andy at minstersystems.co.uk Fri Sep 26 01:57:19 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Sep 2003 07:57:19 +0100 Subject: [AccessD] SAVING DATA ON FORM In-Reply-To: <1731B69D9D03DB49881574BBECDE6CAC071F8E@wsmailp1.rjr.com> Message-ID: <00be01c383fb$6dd6ced0$b274d0d5@minster33c3r25> If you set a break at that point and express Forms!frmMain!txtID in the immediate window, what do you get? Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 19:53 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM The code is run in the comboBox AfterUpdate event. It is on a main form, not a subform. Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 1:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What event is the code in? And is the code run on the main fom itself or a subform, or what? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 17:26 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ 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 _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 26 04:47:40 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Sep 2003 11:47:40 +0200 Subject: [AccessD] Slow loop through list box In-Reply-To: <5.2.0.9.0.20030926085705.00b38ab8@mail.dalyn.co.nz> References: <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030924112649.00b1b150@mail.dalyn.co.nz> <5.2.0.9.0.20030925094327.00b67108@mail.dalyn.co.nz> <5.2.0.9.0.20030926085705.00b38ab8@mail.dalyn.co.nz> Message-ID: <1664777730.20030926114740@cactus.dk> Hi David Thanks ... if you experience any improvements when benchmarking please let us know. /gustav > Thanks. I much appreciate the help from all on this one. > David > At 25/09/2003, you wrote: >>Hi David >> >>Well, how about the Click event ...? >>This will also fire when using keys. >> >> >> >> Dim lst As ListBox >> >> Dim lngIndex As Long >> Dim strKey As String >> Dim booSelected As Boolean >> >> Set lst = Me!lstDemo >> With lst >> lngIndex = .ListIndex + Abs(.ColumnHeads) >> strKey = .ItemData(lngIndex) >> booSelected = .Selected(lngIndex) >> End With >> >> MsgBox strKey & ":" & Str(booSelected) >> >> If booSelected = True Then >> ' Append strKey to collection/selection. >> Else >> ' Remove strKey from collection/selection. >> End If >> >> Set lst = Nothing >> >> >> >>However, the event will fire also when using the navigation keys. >>Thus, I would follow the advice of Drew to append/remove the selected >>items to an (interim) collection or array and only run the >>append/delete action query (or code) on the table if an item really is >>appended or removed from the collection or array. >> >>/gustav >> >> >> > How do I determine which item has just been selected/deselected? Then I >> > could add it if selected, or delete if deselected. >> >> >> >>It sounds/looks like you are building the complete list every time an >> >>item is selected. Why not add only that item which has been selected? From gustav at cactus.dk Fri Sep 26 06:17:16 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Sep 2003 13:17:16 +0200 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: <032a01c383a8$6dc53150$6601a8c0@HAL9002> References: <02cd01c38399$cbfff4d0$6601a8c0@HAL9002> <032a01c383a8$6dc53150$6601a8c0@HAL9002> Message-ID: <7110152949.20030926131716@cactus.dk> Hi Rocky I tried that but with no luck. Then recalling "what have I done in the past" I noticed that I had installed a utility "Questica Query Dependencies" which caused an error during launch of Access. After removal of this beast help functions again (or rather: it functions as it did after the initial install). /gustav > I couldn't find the repair feature in the Office setup as Nancy and Charlotte referred to. But thought the add/remove features I did change the Access Help to 'Run All From CD" which seemed to > have uninstalled it and then went back and changed it to 'Run All From My Computer", which seems to have fixed it. > Thanks for all suggestions. I think I'm back in the air now. > Rocky From wdhindman at bellsouth.net Fri Sep 26 06:17:34 2003 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 26 Sep 2003 07:17:34 -0400 Subject: [AccessD] MiniCalendar Version 4.02 References: <2F8793082E00D4119A1700B0D0216BF80222724A@main2.marlow.com> <00db01c383ee$abeae920$2bedf73d@winxp> Message-ID: <001d01c3841f$c912f020$6001a8c0@dejpolsys> AD ...me too's on list are discouraged ...please read the netiquette at www.databaseadvisors.com ...Drew did specifically ask to be contacted off list ...that prevents everyone else from being inundated with a hundred "me too" msgs that posts like this draw. :) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 1:04 AM Subject: Re: [AccessD] MiniCalendar Version 4.02 Drew, Could you kindly send me a copy ? Regards, A.D.Tejpal adtp at touchtelindia.net ---------------------------- ----- Original Message ----- From: Drew Wutka To: 'AccessD at databaseadvisors.com' Sent: Friday, September 26, 2003 07:28 Subject: [AccessD] MiniCalendar Version 4.02 Just sent out another Beta version of my MiniCalendar, to the people that volunteered (and a few more) before. If you want to be included (and receive this last release), holler at me (offline, so we don't clutter the list). This new version actually 'works' (previous version didn't actually have complete calendar capabilities), yippie, but I had to 'upgrade' it to Access 2000 and up, because of RaiseEvents. On a side note, this thing has 'sliding' menus....not your typical sliding menu either, because it slides out with a width specific to the menu, not the access form (had fun with API's to do that). And the modifications I made to that code tonight would make it pretty easy to add to another project. By menu, I just mean an additional part of the form...not an actual menu, because I have various controls on them. Drew _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alun.Garraway at otto.de Fri Sep 26 06:46:12 2003 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 26 Sep 2003 13:46:12 +0200 Subject: AW: [AccessD] Visual Basic error Message-ID: hallo Kathryn, two more things to try 1. Dim txtFile as String ' according to help this must be a string ' but if I read correctly the user enters a number ' and u have declared a variant (?) only savefile is ' a string..... thats vb.. 2. Origin:=xlWindows btw you rearly need the "select" in xl e.g Range("A1").FormulaR1C1 = "activity" is the same as Range("B1").Select ActiveCell.FormulaR1C1 = "activity" HTH alun -----Urspr?ngliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Kathryn Bassett Gesendet: Freitag, 26. September 2003 01:32 An: Access Developers discussion and problem solving Betreff: RE: [AccessD] Visual Basic error Stuart McLachlan suggested: > Just a WAG, but did you leave the last comma in when you deleted the > last argument? If so, it will still be looking for another argument. Well, that solved part of it. At least now it opens the dialog box for me to put the 4 digit extension. But now a new problem. RunTime Error 1004 Method 'OpenText' of object 'Workbooks' failed. It yellow highlights this section of the code: Workbooks.OpenText Filename:= _ txtfile, Origin:=437, StartRow _ :=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, Comma:=True, _ Space:=False, Other:=False, FieldInfo:=Array(Array(1, 9), Array(2, 9), Array( _ 3, 2), Array(4, 1), Array(5, 2), Array(6, 1), Array(7, 2)) Anymore WAG's for the next glitch? -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From COUTTSW at rjrt.com Fri Sep 26 06:56:19 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Fri, 26 Sep 2003 07:56:19 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC071F8F@wsmailp1.rjr.com> Andy, It executes correctly from the immediate window in frmSelect ( the one called from frmMain )! It places * in the txtID field on frmMain correctly! So why will the same code not execute from frmSelect's vb code? Instead I get "Object doesn't support this property or method" Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Friday, September 26, 2003 2:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM If you set a break at that point and express Forms!frmMain!txtID in the immediate window, what do you get? Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 19:53 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM The code is run in the comboBox AfterUpdate event. It is on a main form, not a subform. Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 1:24 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SAVING DATA ON FORM What event is the code in? And is the code run on the main fom itself or a subform, or what? Andy Lacey http://www.minstersystems.co.uk -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Coutts, Welford L. Sent: 25 September 2003 17:26 To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Andy, Tried it : Forms!frmMain.Form!txtID = strID Same results. Thanks, Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Thursday, September 25, 2003 12:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Welford Just a possibility. try changing the line to: Forms!frmMain.Form!txtID = strID -- 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] SAVING DATA ON FORM Date: 25/09/03 15:56 Charlotte, Yes I used a breakpoint. In the code : Dim strID As String strID = "*" Forms!frmMain!txtID = strID the system halts and gives me the message when it tries to execute : Forms!frmMain!txtID = strID Any ideas will be appreciated! Welford -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, September 25, 2003 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] SAVING DATA ON FORM Where exactly are you getting the message, in the main form or the other forms or reports? Have you put a breakpoint into code to find the exact line that is triggering the message? Are you referencing the hidden control in code, in a query, or what? Charlotte Foust -----Original Message----- From: Coutts, Welford L. [mailto:COUTTSW at rjrt.com] Sent: Thursday, September 25, 2003 4:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] SAVING DATA ON FORM I have a Main form from which I call numerous other forms and reports. I have a number of hidden text boxes on this form which I use to pass data between other forms and to reports. I have done this in dozens of applications. But this week it won't work! I get : "Run-time error '438' Object doesn't support this property or method" I am using Access 2000 with all the latest revs applied. I have tried all kinds of changes to try to get around this error, including using a class module to save on the main form instead of saving from another form, and including any additional References that seemed to be related in any way. Nothing helped. If someone could tell me what I have missed, I would appreciate it. Welford Coutts _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _______________________________________________ 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 _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. _____ CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcolby at colbyconsulting.com Fri Sep 26 07:12:54 2003 From: jcolby at colbyconsulting.com (John Colby) Date: Fri, 26 Sep 2003 08:12:54 -0400 Subject: [AccessD] ot: MS Photo editor only understands .tga files In-Reply-To: <3F73DFA5.6050809@verizon.net> Message-ID: rotfl. What would I do if I stopped dicking around with my computer? I ran into the OfficeXP/2K corruption problem again two days ago. I had uninstalled SP3 for office2K to stop the stupidity of "someone's trying to send email" messages. That allowed the corruption problem to creep back in. Soo.... I uninstalled ALL of the office versions. Ran a slew of registry cleaners (probably the source of THIS problem) and then reinstalled from Office 97 forward, leaving officeXP off. And now photo editor only understands tga files. How weird is that? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, September 26, 2003 2:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ot: MS Photo editor only understands .tga files John Colby wrote: > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > what the (*&^%*&$ is a .tga? > > Anyone know how to tell photo editor what a jpeg is? > > Anyone know of any good free photo printing software? > John.... What the HECK are you doing over there? by your last rash of PC problems I'd say you need to "STOP dicking around" with your pc and pick up a good ol' Windows for Dummies book revised for your version of windows of course ;o) (is it friday yet?) -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Sep 26 07:25:37 2003 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Sep 2003 22:25:37 +1000 Subject: [AccessD] ot: MS Photo editor only understands .tga files In-Reply-To: References: <3F73DFA5.6050809@verizon.net> Message-ID: <3F74BCE1.15691.31CED14@localhost> On 26 Sep 2003 at 8:12, John Colby wrote: > > And now photo editor only understands tga files. How weird is that? > That's not weird, that's MS :-) -- Lexacorp Ltd http://www.lexacorp.com.pg Information Technology Consultancy, Software Development,System Support. From prodevmg at yahoo.com Fri Sep 26 07:49:54 2003 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 26 Sep 2003 05:49:54 -0700 (PDT) Subject: [AccessD] Object Sizes In-Reply-To: <3F734FC3.50303@shaw.ca> Message-ID: <20030926124954.49269.qmail@web20421.mail.yahoo.com> Thanks Marty. MartyConnelly wrote:Just a guess import the form into an empty mdb which has a default size of 64K compile, compress and subtract the difference Lonnie Johnson wrote: > Is there a way to determine what size an Access object is in a > database? For instance if you have a mdb that is 30,000 KB, then you > add a form and it increases to 31,000 KB apparently that form carries > some weight. So, is there a way to determine what size each object is? > > Thanks in advance for any responses! > > > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > ------------------------------------------------------------------------ > Do you Yahoo!? > The New Yahoo! Shopping > > - with improved product search > >------------------------------------------------------------------------ > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? The New Yahoo! Shopping - with improved product search -------------- next part -------------- An HTML attachment was scrubbed... URL: From dan at rivercity.org Fri Sep 26 08:02:29 2003 From: dan at rivercity.org (Dan Jeffery) Date: Fri, 26 Sep 2003 09:02:29 -0400 Subject: [AccessD] ot: MS Photo editor only understands .tga files Message-ID: <825F1757FD951F4187941C8534FA50480F05C3@rcccserver.rcccadmin.org> John, Did you check file associations? It sounds to me that when you uninstalled your office programs, .jpg and others were probably re-associated with another program (check Internet Explorer) or completely un-associated. What kind of icon does a .jpg give you? BTW - .tga is TrueVision Targa file type - often used because it stores the alpha channel. Here's a lead... http://www.faqs.org/faqs/graphics/fileformats-faq/part3/section-146.html Dan -----Original Message----- From: John Colby [mailto:jcolby at colbyconsulting.com] Sent: Friday, September 26, 2003 8:13 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] ot: MS Photo editor only understands .tga files rotfl. What would I do if I stopped dicking around with my computer? S I ran into the OfficeXP/2K corruption problem again two days ago. I had uninstalled SP3 for office2K to stop the stupidity of "someone's trying to send email" messages. That allowed the corruption problem to creep back in. Soo.... I uninstalled ALL of the office versions. Ran a slew of registry cleaners (probably the source of THIS problem) and then reinstalled from Office 97 forward, leaving officeXP off. And now photo editor only understands tga files. How weird is that? John W. Colby www.colbyconsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H Tapia Sent: Friday, September 26, 2003 2:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] ot: MS Photo editor only understands .tga files John Colby wrote: > For some reason photo editor suddenly doesn't understand jpeg, gif etc. and > what the (*&^%*&$ is a .tga? > > Anyone know how to tell photo editor what a jpeg is? > > Anyone know of any good free photo printing software? > John.... What the HECK are you doing over there? by your last rash of PC problems I'd say you need to "STOP dicking around" with your pc and pick up a good ol' Windows for Dummies book revised for your version of windows of course ;o) (is it friday yet?) -- -Francisco _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From liam at energyexhausts.co.uk Fri Sep 26 08:19:44 2003 From: liam at energyexhausts.co.uk (Liam Meadows) Date: Fri, 26 Sep 2003 14:19:44 +0100 Subject: [AccessD] Difference between Access ADP and Access MDB with SQL link Message-ID: <125066531861D043863CE6453EE8509EB77C@energys1.energy.local> I have started to rewrite an application in ADP which has been a bit of a pain but today I had a mess about and created an MDB with a SQL ODBC link to the data and on one particular form which has a filtered list on it the ADP version is about 3 times slower and bringing the list in where as the MDB with ODBC SQL link flies. I'm lead to believe that a normal MDB when accessed across a network will transport all the data to the local machine first before running is this true of SQL link ? Regards Liam -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuart at pacific.net.hk Fri Sep 26 09:06:18 2003 From: stuart at pacific.net.hk (Stuart Sanders) Date: Fri, 26 Sep 2003 22:06:18 +0800 Subject: [AccessD] O2K Service Pack 3 In-Reply-To: Message-ID: <006501c38437$5b5a5420$5100a8c0@BITSNB02> Yeah I know.... Its also a dream that they will use the appropriate technology for a project rather than just chasing the latest hype. Stuart > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Friday, 26 September, 2003 12:32 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] O2K Service Pack 3 > > > Dream on, Stuart. They're committed to browser-based stuff, > whether it > makes sense or not. It's one of the things they're promoting like mad > in O2003. > > Charlotte Foust > > -----Original Message----- > From: Stuart Sanders [mailto:stuart at pacific.net.hk] > Sent: Thursday, September 25, 2003 8:22 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] O2K Service Pack 3 > > > I have the same issue. But since O2K help is less than useless I > haven't really bothered with pursuing it. I still wish MS > would go back > to the way O97 help worked. > > Sigh ... > > Stuart > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > > Brock > > Sent: Thursday, 25 September, 2003 11:55 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > Hi Rocky > > > > Exactly! > > > > /gustav > > > > > > > Gustav: > > > > > Mine asks for to repair as well, and asks for the CD. But > > it doesn't > > > repair. :( > > > > > Rocky > > > > > ----- Original Message ----- > > > From: "Gustav Brock" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, September 25, 2003 8:32 AM > > > Subject: Re: [AccessD] O2K Service Pack 3 > > > > > > >> Hi Rocky > > >> > > >> I have the same problems but I'm not sure it's related > to SP3 as I > > >> have had that installed for a long time. > > >> > > >> If I press F1 with a keyword marked, Office tells that the > > help system > > >> isn't properly installed and - to repair - it requests my > > old SR-1 cd > > >> to be inserted. > > >> > > >> Can it be due to one of the recent patches? > > >> > > >> /gustav > > >> > > >> > After installing SP-3 over my O2K both my access wizards > > and the access > > >> > help (the loss of which is a marginal problem to be > > sure) stopped working. > > >> > > >> > Does anybody know how I can get them back without doing > > a re-install of > > >> > O2K? > > > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Fri Sep 26 09:17:39 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 26 Sep 2003 10:17:39 -0400 Subject: [AccessD] OT: Great deal on 200GB WD HD from Dell after MIR In-Reply-To: <916187228923D311A6FE00A0CC3FAA30612CAD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE9C@ADGSERVER> Hi all, http://tinyurl.com/oqqo 200GB WD drive - 8MB cache , 3 year warranty $246.95 -10% (24.69) =$222.26 -$100 MIR -$100 MIR =$22.26!!!!!!!! Shipping was free for me. I ordered one this morning. :) One rebate requires the WD capacity label and the other requires the WD capacity label OR the UPC, so you will be able to use both. One of the rebates expires tomorrow (9/27). This means that the item has to be purchased by tomorrow. Credit for this goes to Fatwallet.com and Anandtech.com. (Not sure who had it first.) Bobby From andy at minstersystems.co.uk Fri Sep 26 09:16:56 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Sep 2003 15:16:56 +0100 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <20030926141652.2E60024C99E@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From adtp at touchtelindia.net Fri Sep 26 09:22:14 2003 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 26 Sep 2003 19:52:14 +0530 Subject: [AccessD] MiniCalendar Version 4.02 References: <2F8793082E00D4119A1700B0D0216BF80222724A@main2.marlow.com><00db01c383ee$abeae920$2bedf73d@winxp> <001d01c3841f$c912f020$6001a8c0@dejpolsys> Message-ID: <009001c3843a$08148d00$ceedf73d@winxp> William, I fully agree with your view that overloading of list has to be avoided. Drew had made a specific mention as well. However, his message did not contain his email address. Otherwise there was no question of not writing to him directly (i.e. Off List). Don't you think you have been rather hasty in your communication? Should you not have sent your message Off List in the spirit of netiquette ? Regards, A.D.Tejpal -------------- ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 16:47 Subject: Re: [AccessD] MiniCalendar Version 4.02 AD ...me too's on list are discouraged ...please read the netiquette at www.databaseadvisors.com ...Drew did specifically ask to be contacted off list ...that prevents everyone else from being inundated with a hundred "me too" msgs that posts like this draw. :) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 1:04 AM Subject: Re: [AccessD] MiniCalendar Version 4.02 Drew, Could you kindly send me a copy ? Regards, A.D.Tejpal adtp at touchtelindia.net ---------------------------- ----- Original Message ----- From: Drew Wutka To: 'AccessD at databaseadvisors.com' Sent: Friday, September 26, 2003 07:28 Subject: [AccessD] MiniCalendar Version 4.02 Just sent out another Beta version of my MiniCalendar, to the people that volunteered (and a few more) before. If you want to be included (and receive this last release), holler at me (offline, so we don't clutter the list). This new version actually 'works' (previous version didn't actually have complete calendar capabilities), yippie, but I had to 'upgrade' it to Access 2000 and up, because of RaiseEvents. On a side note, this thing has 'sliding' menus....not your typical sliding menu either, because it slides out with a width specific to the menu, not the access form (had fun with API's to do that). And the modifications I made to that code tonight would make it pretty easy to add to another project. By menu, I just mean an additional part of the form...not an actual menu, because I have various controls on them. Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From bchacc at san.rr.com Fri Sep 26 09:27:55 2003 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 26 Sep 2003 07:27:55 -0700 Subject: [AccessD] O2K Service Pack 3 References: <02cd01c38399$cbfff4d0$6601a8c0@HAL9002> <032a01c383a8$6dc53150$6601a8c0@HAL9002> <7110152949.20030926131716@cactus.dk> Message-ID: <009501c3843a$60592390$6601a8c0@HAL9002> How many of us have ever run into a problem like that and begun thinking about solving it by buying a new computer because "They're so cheap" and "I can start clean" - like moving to another state and getting a new identity. Rocky ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Friday, September 26, 2003 4:17 AM Subject: Re: [AccessD] O2K Service Pack 3 > Hi Rocky > > I tried that but with no luck. Then recalling "what have I done in the > past" I noticed that I had installed a utility "Questica Query > Dependencies" which caused an error during launch of Access. > > After removal of this beast help functions again (or rather: it > functions as it did after the initial install). > > /gustav > > > > I couldn't find the repair feature in the Office setup as Nancy and Charlotte referred to. But thought the add/remove features I did change the Access Help to 'Run All From CD" which seemed to > > have uninstalled it and then went back and changed it to 'Run All From My Computer", which seems to have fixed it. > > > Thanks for all suggestions. I think I'm back in the air now. > > > Rocky > > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Fri Sep 26 09:31:43 2003 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 26 Sep 2003 10:31:43 -0400 Subject: [AccessD] MiniCalendar Version 4.02 In-Reply-To: <916187228923D311A6FE00A0CC3FAA3061363F@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BAE9D@ADGSERVER> A.D., This is just an FYI, but if you look at the From address, you will see that the mail is sent "ON BEHALF OF" address. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, September 26, 2003 10:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MiniCalendar Version 4.02 William, I fully agree with your view that overloading of list has to be avoided. Drew had made a specific mention as well. However, his message did not contain his email address. Otherwise there was no question of not writing to him directly (i.e. Off List). Don't you think you have been rather hasty in your communication? Should you not have sent your message Off List in the spirit of netiquette ? Regards, A.D.Tejpal -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav at cactus.dk Fri Sep 26 09:39:41 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Sep 2003 16:39:41 +0200 Subject: [AccessD] SAVING DATA ON FORM In-Reply-To: <20030926141652.2E60024C99E@smithers.nildram.co.uk> References: <20030926141652.2E60024C99E@smithers.nildram.co.uk> Message-ID: <6622298062.20030926163941@cactus.dk> Hi Andy Could it be that Welford's database needs a de-/recompile? Or import of objects into a new database? /gustav From john at winhaven.net Fri Sep 26 10:07:59 2003 From: john at winhaven.net (John Bartow) Date: Fri, 26 Sep 2003 10:07:59 -0500 Subject: [AccessD] MiniCalendar Version 4.02 In-Reply-To: <009001c3843a$08148d00$ceedf73d@winxp> Message-ID: A.D. Charles has retired and left the list so someone has to fill in for the "persnickedy" type, it appears that William has stepped up to the challenge :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Friday, September 26, 2003 9:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MiniCalendar Version 4.02 William, I fully agree with your view that overloading of list has to be avoided. Drew had made a specific mention as well. However, his message did not contain his email address. Otherwise there was no question of not writing to him directly (i.e. Off List). Don't you think you have been rather hasty in your communication? Should you not have sent your message Off List in the spirit of netiquette ? Regards, A.D.Tejpal -------------- ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 16:47 Subject: Re: [AccessD] MiniCalendar Version 4.02 AD ...me too's on list are discouraged ...please read the netiquette at www.databaseadvisors.com ...Drew did specifically ask to be contacted off list ...that prevents everyone else from being inundated with a hundred "me too" msgs that posts like this draw. :) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 1:04 AM Subject: Re: [AccessD] MiniCalendar Version 4.02 Drew, Could you kindly send me a copy ? Regards, A.D.Tejpal adtp at touchtelindia.net ---------------------------- ----- Original Message ----- From: Drew Wutka To: 'AccessD at databaseadvisors.com' Sent: Friday, September 26, 2003 07:28 Subject: [AccessD] MiniCalendar Version 4.02 Just sent out another Beta version of my MiniCalendar, to the people that volunteered (and a few more) before. If you want to be included (and receive this last release), holler at me (offline, so we don't clutter the list). This new version actually 'works' (previous version didn't actually have complete calendar capabilities), yippie, but I had to 'upgrade' it to Access 2000 and up, because of RaiseEvents. On a side note, this thing has 'sliding' menus....not your typical sliding menu either, because it slides out with a width specific to the menu, not the access form (had fun with API's to do that). And the modifications I made to that code tonight would make it pretty easy to add to another project. By menu, I just mean an additional part of the form...not an actual menu, because I have various controls on them. Drew -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at minstersystems.co.uk Fri Sep 26 10:09:52 2003 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Sep 2003 16:09:52 +0100 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <20030926150948.1C994250257@smithers.nildram.co.uk> An HTML attachment was scrubbed... URL: From delliker at hotmail.com Fri Sep 26 10:27:47 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 26 Sep 2003 11:27:47 -0400 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com From COUTTSW at rjrt.com Fri Sep 26 10:30:39 2003 From: COUTTSW at rjrt.com (Coutts, Welford L.) Date: Fri, 26 Sep 2003 11:30:39 -0400 Subject: [AccessD] SAVING DATA ON FORM Message-ID: <1731B69D9D03DB49881574BBECDE6CAC675CAB@wsmailp1.rjr.com> Yes, I've done those things. The latest thing I tried was turning off References to see if there was some kind of conflict somewhere. That didn't help either. Welford -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Friday, September 26, 2003 11:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SAVING DATA ON FORM Gustav IIRC he's already done all that. Correct me if I'm wrong Welford. -- 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] SAVING DATA ON FORM Date: 26/09/03 14:42 Hi Andy Could it be that Welford's database needs a de-/recompile? Or import of objects into a new database? /gustav _______________________________________________ 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 ----------------------------------------- CONFIDENTIALITY NOTE: This e-mail message, including any attachment(s), contains information that may be confidential, protected by the attorney-client or other legal privileges, and/or proprietary non-public information. If you are not an intended recipient of this message or an authorized assistant to an intended recipient, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution, or reproduction of this message and/or any of its attachments (if any) by unintended recipients is not authorized and may be unlawful. -------------- next part -------------- An HTML attachment was scrubbed... URL: From DElam at jenkens.com Fri Sep 26 10:34:38 2003 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 26 Sep 2003 10:34:38 -0500 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C6290AA@natexch.jenkens.com> Sounds like a con to me. Having a debit card number and the pin gives them too much power. Legitimate businesses would at least accept a mailed money order. Debbie -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Friday, September 26, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT- I am a lucky winner?? My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jbhuffman at mdh.org Fri Sep 26 10:40:09 2003 From: jbhuffman at mdh.org (Huffman, Jarad B.) Date: Fri, 26 Sep 2003 10:40:09 -0500 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: <0FFC98AA5943D211A2E90000F87A5B48026B1DD7@NEWMAN_EXC> There is no reason why anyone would need your pin number...they can charge the card via the regular card number. I think it's a con. Jarad Huffman -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Friday, September 26, 2003 10:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT- I am a lucky winner?? Sounds like a con to me. Having a debit card number and the pin gives them too much power. Legitimate businesses would at least accept a mailed money order. Debbie -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Friday, September 26, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT- I am a lucky winner?? My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Sep 26 10:41:36 2003 From: JHewson at karta.com (Jim Hewson) Date: Fri, 26 Sep 2003 10:41:36 -0500 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: <353A32F9B331D411BB8F00A0C9FC503701294DF4@NT04> It has to be a con... Any legitimate business would NEVER ask for a PIN. They don't need it. -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Friday, September 26, 2003 10:35 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT- I am a lucky winner?? Sounds like a con to me. Having a debit card number and the pin gives them too much power. Legitimate businesses would at least accept a mailed money order. Debbie -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Friday, September 26, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT- I am a lucky winner?? My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From PBudge at cbsol.com Fri Sep 26 10:50:43 2003 From: PBudge at cbsol.com (PBudge at cbsol.com) Date: Fri, 26 Sep 2003 10:50:43 -0500 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: Googled it up and this is what I found for this website - http://www.rampancy.net/ - Thursday, September 25, 2003 - 03:05 narcogen - business ? legal ? rumor ? xbox Just to let everyone know, I-- like I suspect many have in the Halo community-- been receiving email that loudly proclaims that it "is not spam" from a site called GiftStakes.com, and announcing that you've won an Xbox, and all you need to do is claim it from their website. If you follow the link, you'll be asked for a code from the email, and taken to a page to enter your name and address.. and then they'll ask you to pay for the shipping and handling of your prize. Debit card is the only payment method accepted. There are a number of things about this that are extremely suspicious, and unless you're willing to part with that shipping and handling fee on the off-chance that this is legitimate-- perhaps risking much more if your debit card number is abused in any way-- I'd advise against taking advantage of this "offer". Although the site itself looks quite professional, with picture of supposed prize winners from June, July, and August of this year-- the domain giftstakes.com where the site is was registered through GoDaddy only three days ago. That debit cards are the only accepted payment method is also suspicious; as you may already know, most of the mechanisms in place to dispute a fraudulent charge to your credit card don't apply to debit cards. The registrant for the domain is one "Domains By Proxy, Inc" which lists as its only address post office box in Scottsdale, Arizona. Complete information is here: Private, Registration GIFTSTAKES.COM at domainsbyproxy.com Domains by Proxy, Inc. 15111 N Hayden Rd., Suite 160 PMB353 Scottsdale, Arizona 85260 United States (480) 624-2599 If anyone has actually received a prize from these people, we'll gladly post that this whole thing is above-board, but at the moment I'd urge people to protect themselves and not participate in this unless they are prepared to be duped. Given the PO box and the newness, I would not be willing to give them any numbers or access to my accounts. Pamela G. Budge PBudge at cbsol.com Creative Business Solutions "Don Elliker" To: accessd at databaseadvisors.com Sent by: cc: accessd-bounces at databasea Subject: [AccessD] OT- I am a lucky winner?? dvisors.com 09/26/2003 10:27 AM Please respond to Access Developers discussion and problem solving My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Tim.Pain at sc.akzonobel.com Fri Sep 26 10:45:07 2003 From: Tim.Pain at sc.akzonobel.com (Pain, T. (Tim)) Date: Fri, 26 Sep 2003 16:45:07 +0100 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: <0BB2DFBAEF484F4AA077B46F1B165FE6A7335B@lbrn12.d20.intra> Don, I don't know about the Xbox, but NEVER give anybody your PIN. Tim -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: 26 September 2003 16:28 To: accessd at databaseadvisors.com Subject: [AccessD] OT- I am a lucky winner?? My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Fri Sep 26 10:48:00 2003 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 26 Sep 2003 10:48:00 -0500 Subject: [AccessD] OT: Great deal on 200GB WD HD from Dell after MIR Message-ID: <426071E0B0A6D311B3C0006008B0AB2338C950@TAPPEEXCH01> Thanks Bobby, this couldn't have come at a better time. I have a 5 year old Quantum Fireball about to pack it in. Just ordered mine online. Hope they haven't run out! -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Friday, September 26, 2003 9:18 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Great deal on 200GB WD HD from Dell after MIR Hi all, http://tinyurl.com/oqqo 200GB WD drive - 8MB cache , 3 year warranty $246.95 -10% (24.69) =$222.26 -$100 MIR -$100 MIR =$22.26!!!!!!!! Shipping was free for me. I ordered one this morning. :) One rebate requires the WD capacity label and the other requires the WD capacity label OR the UPC, so you will be able to use both. One of the rebates expires tomorrow (9/27). This means that the item has to be purchased by tomorrow. Credit for this goes to Fatwallet.com and Anandtech.com. (Not sure who had it first.) Bobby -------------------------------------------------------------------------------------------------------------------- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From gustav at cactus.dk Fri Sep 26 10:51:09 2003 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Sep 2003 17:51:09 +0200 Subject: [AccessD] OT- I am a lucky winner?? In-Reply-To: References: Message-ID: <18226586709.20030926175109@cactus.dk> Hi Don There are many of this type. The other day I "won" quite an amount: We are pleased to inform you of the result of the Webmasters Global Email Lottery programs held on the 10th July, 2003. Your e-mail address attached to ticket number 56842741 with Serial Number 5421-5739 Drew lucky numbers 2,8,15,21,26,34,38, which consequently Won in the 2nd category and have therefore been approved for a lump sum pay of US$300.000.00 (Three hundred thousand United States Dollars). I had to call a number and probably give away some privacy so I dumped it. /gustav > I apologize for the extreme OT nature of this, but it is Friday and it is a > computer of sorts..... > Got an email from giftstakes.com saying I won an XBox. I would like to win > an xbox and it looks authentic enough. However they want me to pay shipping > (like 4 bucks) which is reasonable- but they only accept debit cards and > they want my debit card number and my PIN...this makes me leary, timothy. > Has anybody else seen this email is this a con...am I a sucker in the > making?? They also have a 72 hour limit before the prize goes back to the > pool....whadayathink?? > _D -----like my sig says... > "Things are only free to the extent that you don't pay for them".-Don > Elliker From RGeldart at detma.org Fri Sep 26 11:01:12 2003 From: RGeldart at detma.org (Geldart, Robert) Date: Fri, 26 Sep 2003 12:01:12 -0400 Subject: OT RE: [AccessD] MiniCalendar Version 4.02 Message-ID: I note that Mr. H's persnickity correction cum political tag line uses quite a bit more bandwith than A.D.'s request. BG -----Original Message----- From: William Hindman [mailto:wdhindman at bellsouth.net] Sent: Friday, September 26, 2003 7:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MiniCalendar Version 4.02 AD ...me too's on list are discouraged ...please read the netiquette at www.databaseadvisors.com ...Drew did specifically ask to be contacted off list ...that prevents everyone else from being inundated with a hundred "me too" msgs that posts like this draw. :) William Hindman "A liberator, however generous, should never expect gratitude, at least not for long. According to Isaiah Berlin, who was a member of Britain's Marshall Plan delegation, the European attitude in 1947 toward America's postwar generosity was that of "lofty and demanding beggars approaching an apprehensive millionaire." Antony Beevor, Nobody Loves a Liberator. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, September 26, 2003 1:04 AM Subject: Re: [AccessD] MiniCalendar Version 4.02 Drew, Could you kindly send me a copy ? Regards, A.D.Tejpal adtp at touchtelindia.net ---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From DWUTKA at marlow.com Fri Sep 26 11:01:23 2003 From: DWUTKA at marlow.com (Drew Wutka) Date: Fri, 26 Sep 2003 11:01:23 -0500 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: <2F8793082E00D4119A1700B0D0216BF802227257@main2.marlow.com> Sounds like a con, smells like a con...must be a con. Drew -----Original Message----- From: Don Elliker [mailto:delliker at hotmail.com] Sent: Friday, September 26, 2003 10:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT- I am a lucky winner?? My friends, I apologize for the extreme OT nature of this, but it is Friday and it is a computer of sorts..... Got an email from giftstakes.com saying I won an XBox. I would like to win an xbox and it looks authentic enough. However they want me to pay shipping (like 4 bucks) which is reasonable- but they only accept debit cards and they want my debit card number and my PIN...this makes me leary, timothy. Has anybody else seen this email is this a con...am I a sucker in the making?? They also have a 72 hour limit before the prize goes back to the pool....whadayathink?? _D -----like my sig says... "Things are only free to the extent that you don't pay for them".-Don Elliker _________________________________________________________________ Frustrated with dial-up? Get high-speed for as low as $29.95/month (depending on the local service providers in your area). https://broadband.msn.com _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From delliker at hotmail.com Fri Sep 26 11:11:37 2003 From: delliker at hotmail.com (Don Elliker) Date: Fri, 26 Sep 2003 12:11:37 -0400 Subject: [AccessD] OT- I am a lucky winner?? Message-ID: Thank you Pamela and Gustav- I will stear clear. I had heard about debit cards not having the same protection as credit cards, maybe that's why the alarm bells went off in my head. There's a lot of suspicious stuff on the site - "we can't accept credit cards because of merchant account problems" and " you or someone you know registered your email account" (within the three days since the site was registered??) _D "Things are only free to the extent that you don't pay for them".-Don Elliker >From: PBudge at cbsol.com >Reply-To: Access Developers discussion and problem >solving >To: Access Developers discussion and problem >solving >Subject: Re: [AccessD] OT- I am a lucky winner?? >Date: Fri, 26 Sep 2003 10:50:43 -0500 > > >Googled it up and this is what I found for this website - >http://www.rampancy.net/ - > >Thursday, September 25, 2003 - 03:05 narcogen - business ? legal ? rumor ? >xbox >Just to let everyone know, I-- like I suspect many have in the Halo >community-- been receiving email that loudly proclaims that it "is not >spam" from a site called GiftStakes.com, and announcing that you've won an >Xbox, and all you need to do is claim it from their website. > >If you follow the link, you'll be asked for a code from the email, and >taken to a page to enter your name and address.. and then they'll ask you >to pay for the shipping and handling of your prize. Debit card is the only >payment method accepted. > >There are a number of things about this that are extremely suspicious, and >unless you're willing to part with that shipping and handling fee on the >off-chance that this is legitimate-- perhaps risking much more if your >debit card number is abused in any way-- I'd advise against taking >advantage of this "offer". > >Although the site itself looks quite professional, with picture of supposed >prize winners from June, July, and August of this year-- the domain >giftstakes.com where the site is was registered through GoDaddy only three >days ago. > >That debit cards are the only accepted payment method is also suspicious; >as you may already know, most of the mechanisms in place to dispute a >fraudulent charge to your credit card don't apply to debit cards. > >The registrant for the domain is one "Domains By Proxy, Inc" which lists as >its only address post office box in Scottsdale, Arizona. Complete >information is here: >Private, Registration >GIFTSTAKES.COM at domainsbyproxy.com >Domains by Proxy, Inc. >15111 N Hayden Rd., Suite 160 >PMB353 >Scottsdale, Arizona 85260 >United States >(480) 624-2599 >If anyone has actually received a prize from these people, we'll gladly >post that this whole thing is above-board, but at the moment I'd urge >people to protect themselves and not participate in this unless they are >prepared to be duped. > > >Given the PO box and the newness, I would not be willing to give them any >numbers or access to my accounts. > >Pamela G. Budge >PBudge at cbsol.com >Creative Business Solutions > > > > "Don Elliker" > To: >accessd at databaseadvisors.com > Sent by: cc: > accessd-bounces at databasea Subject: [AccessD] >OT- I am a lucky winner?? > dvisors.com > > > 09/26/2003 10:27 AM > Please respond to Access > Developers discussion and > problem solving > > > > > > >My friends, >I apologize for the extreme OT nature of this, but it is Friday and it is a > >computer of sorts..... >Got an email from giftstakes.com saying I won an XBox. I would like to win >an xbox and it looks authentic enough. However they want me to pay shipping > >(like 4 bucks) which is reasonable- but they only accept debit cards and >they want my debit card number and my PIN...this makes me leary, timothy. >Has anybody else seen this email is this a con...am I a sucker in the >making?? They also have a 72 hour limit before the prize goes back to the >pool....whadayathink?? >_D -----like my sig says... > >"Things are only free to the extent that you don't pay for them".-Don >Elliker > >_________________________________________________________________ >Frustrated with dial-up? Get high-speed for as low as $29.95/month >(depending on the local service providers in your area). >https://broadband.msn.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com _________________________________________________________________ Instant message in style with MSN Messenger 6.0. Download it now FREE! http://msnmessenger-download.com From my.lists at verizon.net Fri Sep 26 11:17:29 2003 From: my.lists at verizon.net (Francisco H Tapia) Date: Fri, 26 Sep 2003 09:17:29 -0700 Subject: [AccessD] Re: [] ot: MS Photo editor only understands .tga files In-Reply-To: <825F1757FD951F4187941C8534FA50480F05C3@rcccserver.rcccadmin.org> References: <825F1757FD951F4187941C8534FA50480F05C3@rcccserver.rcccadmin.org> Message-ID: <3F746699.6040309@verizon.net> John & (others) I'm suggesting to move the thread to the dba-tech list just because it's more tech, and (fussing around than not) :) John, You may be right that all that registry cleaning and uninstalling probably caused this error, but life is not w/o hope... most of the time re-installing an application. Seeing you've done that already you can always reset they file type to it's default association, or... even better when trying to open up a .jpg or any other graphic file, 1) hold the shift key and right click, 2) choose Open With... 3) choose photoeditor and make sure you select the checkbox that says to always use this program... and You're done! let us know how that turned out. btw, I wouldn't at all be surprised given John's latest escapades w/ MS software if he didn't just dash it all and move to Linux / MySQL and PHP ;o) Dan Jeffery wrote: > John, > > Did you check file associations? It sounds to me that when you uninstalled your office programs, .jpg and others were probably re-associated with another program (check Internet Explorer) or completely un-associated. What kind of icon does a .jpg give you? > > > BTW - .tga is TrueVision Targa file type - often used because it stores the alpha channel. Here's a lead... > http://www.faqs.org/faqs/graphics/fileformats-faq/part3/section-146.html > > Dan > > > > > -----Original Message----- > From: John Colby [mailto:jcolby at colbyconsulting.com] > Sent: Friday, September 26, 2003 8:13 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] ot: MS Photo editor only understands .tga files > > > rotfl. What would I do if I stopped dicking around with my computer? > S > I ran into the OfficeXP/2K corruption problem again two days ago. I had > uninstalled SP3 for office2K to stop the stupidity of "someone's trying to > send email" messages. That allowed the corruption problem to creep back in. > Soo.... I uninstalled ALL of the office versions. Ran a slew of registry > cleaners (probably the source of THIS problem) and then reinstalled from > Office 97 forward, leaving officeXP off. > > And now photo editor only understands tga files. How weird is that? > > John W. Colby > www.colbyconsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Francisco H > Tapia > Sent: Friday, September 26, 2003 2:42 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] ot: MS Photo editor only understands .tga files > > > John Colby wrote: > > >>For some reason photo editor suddenly doesn't understand jpeg, gif etc. > > and > >>what the (*&^%*&$ is a .tga? >> >>Anyone know how to tell photo editor what a jpeg is? >> >>Anyone know of any good free photo printing software? >> > > > John.... What the HECK are you doing over there? by your last rash of > PC problems I'd say you need to "STOP dicking around" with your pc and > pick up a good ol' Windows for Dummies book revised for your version of > windows of course ;o) > > > (is it friday yet?) > -- > -Francisco -- -Francisco From chizotz at charter.net Fri Sep 26 11:26:24 2003 From: chizotz at charter.net (Ron Allen) Date: Fri, 26 Sep 2003 12:26:24 -0400 Subject: [AccessD] OT- I am a lucky winner?? In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C6290AA@natexch.jenkens.com> Message-ID: Don, Absolutely do not give them that info! There is never, ever, a legitimate reason for any company other than your bank to know your PIN. The fact that they only take debit cards is utter BS. A legitimate compay would take MC, Visa, etc. and/or have other arrangements. This stinks of scam to me. Ron >-----Original Message----- >From: Don Elliker [mailto:delliker at hotmail.com] >Sent: Friday, September 26, 2003 10:28 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] OT- I am a lucky winner?? > > >My friends, >I apologize for the extreme OT nature of this, but it is >Friday and it is a >computer of sorts..... >Got an email from giftstakes.com saying I won an XBox. I >would like to win >an xbox and it looks authentic enough. However they want >me to pay shipping >(like 4 bucks) which is reasonable- but they only accept >debit cards and >they want my debit card number and my PIN...this makes me >leary, timothy. >Has anybody else seen this email is this a con...am I a >sucker in the >making?? They also have a 72 hour limit before the prize >goes back to the >pool....whadayathink?? >_D -----like my sig says... > >"Things are only free to the extent that you don't pay >for them".-Don >Elliker > >_________________________________________________________________ >Frustrated with dial-up? Get high-speed for as low as >$29.95/month >(depending on the local service providers in your area). > >https://broadband.msn.com > >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com